Difference between revisions of "Extensions.Quantities.Multiplication"
Jump to navigation
Jump to search
m (Hb moved page Multiplication to Extensions.Quantities.Multiplication: #3153) |
|||
Line 1: | Line 1: | ||
− | [[Category:Quantities]] | + | {{DISPLAYTITLE:'''Multiplication '''}}[[Category:Quantities]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | Multiplication | Multiplication of all numerical quantities | [[Operations]] | [[Quantities|OTX Quantities extension]] | [[Overloading semantics]] | [[InvalidConversionException]] | - }} | + | {{ClassificationActivity | Multiplication | Multiplication of all numerical quantities | [[Operations]] | [[Extensions.Quantities|OTX Quantities extension]] | [[Overloading semantics]] | [[Extensions.Quantities.InvalidConversionException|InvalidConversionException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
Line 11: | Line 11: | ||
This is a term wwhich returns as a result of the product of all numerical quantities (NumericQuantity) in accordance with their units. | This is a term wwhich returns as a result of the product of all numerical quantities (NumericQuantity) in accordance with their units. | ||
− | {{TermReturnValue| [[Quantity]] | Product of two or more numeric quantity (NumericQuantity)}} | + | {{TermReturnValue| [[Extensions.Quantities.Quantity|Quantity]] | Product of two or more numeric quantity (NumericQuantity)}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| QuantityTerm1 | [[Quantity]] | [[Term]] | - | [1] | NumericQuantity operand, which should be multiplied}} | + | {{TableRowPropertie1| QuantityTerm1 | [[Extensions.Quantities.Quantity|Quantity]] | [[Term]] | - | [1] | NumericQuantity operand, which should be multiplied}} |
− | {{TableRowPropertie1| QuantityTerm2 | [[Quantity]] | [[Term]] | - | [1] | NumericQuantity operand, which should be multiplied}} | + | {{TableRowPropertie1| QuantityTerm2 | [[Extensions.Quantities.Quantity|Quantity]] | [[Term]] | - | [1] | NumericQuantity operand, which should be multiplied}} |
|} | |} | ||
Line 28: | Line 28: | ||
== See also == | == See also == | ||
− | [[Addition]] <br/> | + | [[Extensions.Quantities.Addition|Addition]] <br/> |
− | [[Subtraction]] <br/> | + | [[Extensions.Quantities.Subtraction|Subtraction]] <br/> |
− | [[Division]] | + | [[Extensions.Quantities.Division|Division]] |
Revision as of 03:13, 16 February 2016
Contents
Classification
Name | Multiplication |
Short Description | Multiplication of all numerical quantities |
Class | Operations |
Extension | OTX Quantities extension |
Group | Overloading semantics |
Exceptions | InvalidConversionException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
QuantityTerm = QuantityTerm1 * QuantityTerm2 * ...;
Description
This is a term wwhich returns as a result of the product of all numerical quantities (NumericQuantity) in accordance with their units.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Quantity | Product of two or more numeric quantity (NumericQuantity) |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
QuantityTerm1 | Quantity | Term | - | [1] | NumericQuantity operand, which should be multiplied |
QuantityTerm2 | Quantity | Term | - | [1] | NumericQuantity operand, which should be multiplied |
OTL Examples
Quantities.Quantity Quantity1;
Quantity1 = 1 [@Unit, "ODX_RS_UNIT_LIB.odx", "km"] * 500 [@Unit, "ODX_RS_UNIT_LIB.odx", "m"];