Arith Product+: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Schema == Bild:arith_product+.png == Operation == This block multiples all input values; i.e. ''product'' = ''number1'' * ''number2'' * ... * ''numbe…“) |
Cg (Diskussion | Beiträge) |
||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 9: | Zeile 9: | ||
== Automatic Type Conversion == |
== Automatic Type Conversion == |
||
The block allows for mixed mode arithmetic. This means that all combinations of numbers are allowed as input. |
The block allows for mixed mode arithmetic. This means that all combinations of numbers are allowed as input. |
||
<br>However, due to the pins being of type "Number", non-numbers (such as physical values or vectors) are not handled (unless type checks are disabled at the pins). Use the new [[ Arith Product Any|"Arith [ Product Any ]" ]] block for this.<br> |
|||
For details on the conversion rules, please refer to the documentation of the |
For details on the conversion rules, please refer to the documentation of the |
||
[[ Arith Sum | "Arith [ Sum ]" ]] block. |
[[ Arith Sum | "Arith [ Sum ]" ]] block. |
||
Zeile 22: | Zeile 23: | ||
Back to [[Standard_Library#Arithmetic|Standard Library]].<br> |
Back to [[Standard_Library#Arithmetic|Standard Library]].<br> |
||
Previous: [[Arith Product|Arith [ Product ]]]<br> |
Previous: [[Arith Product|Arith [ Product ]]]<br> |
||
Next: [[Arith |
Next: [[Arith Quotient|Arith [ Quotient ]]] |
||
<!--AutoUpdateNavPanel--> |
<!--AutoUpdateNavPanel--> |
Aktuelle Version vom 16. September 2021, 07:02 Uhr
Inhaltsverzeichnis
Schema[Bearbeiten]
Operation[Bearbeiten]
This block multiples all input values; i.e.
product = number1 * number2 * ... * numberN.
Automatic Type Conversion[Bearbeiten]
The block allows for mixed mode arithmetic. This means that all combinations of numbers are allowed as input.
However, due to the pins being of type "Number", non-numbers (such as physical values or vectors) are not handled (unless type checks are disabled at the pins). Use the new "Arith [ Product Any ]" block for this.
For details on the conversion rules, please refer to the documentation of the
"Arith [ Sum ]" block.
Revisions[Bearbeiten]
This block has been in the Standard Library since 2.3.0.