Arith Product: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Inhalt gelöscht Inhalt hinzugefügt
Cg (Diskussion | Beiträge) Die Seite wurde neu angelegt: „== Schema == Bild:arith_product.png == Trigger == Both inputs must be connected and both must have received a value for the action to trigger ("and" inp…“ |
Cg (Diskussion | Beiträge) |
||
| (3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 8: | Zeile 8: | ||
== Operation == |
== Operation == |
||
This block returns the product of two given numbers; i.e. |
This block returns the product of two given [[Numbers/en|numbers]]; i.e. |
||
''product'' = ''number1'' * ''number2''. |
''product'' = ''number1'' * ''number2''. |
||
== 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 "[[Numbers/en|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 25: | Zeile 26: | ||
<hr> |
<hr> |
||
Back to [[Standard_Library#Arithmetic|Standard Library]].<br> |
Back to [[Standard_Library#Arithmetic|Standard Library]].<br> |
||
Previous: [[Arith |
Previous: [[Arith Difference+|Arith [ Difference+ ]]]<br> |
||
Next: [[Arith Product+|Arith [ Product+ ]]] |
Next: [[Arith Product+|Arith [ Product+ ]]] |
||
Aktuelle Version vom 9. Mai 2025, 18:31 Uhr
Schema
Trigger
Both inputs must be connected and both must have received a value for the action to trigger ("and" input behavior)
Operation
This block returns the product of two given numbers; i.e.
product = number1 * number2.
Automatic Type Conversion
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
This block has been in the Standard Library since 0.1.