Math operations¶
Typed feature metadata used by the design catalogue. Discover the connected service’s catalogue operation before composing a document; deployment availability and input combinations are validated there. These are feature IDs, not separate HTTP routes.
Add¶
Operation: math.add. Feature version: 1.
Outputs: result (number).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
number |
No |
|
|
|
number |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Add lengths¶
Operation: math.add_lengths. Feature version: 1.
Outputs: result (length).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
length |
No |
|
|
|
length |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Divide¶
Operation: math.divide. Feature version: 1.
Outputs: result (number).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
number |
No |
|
|
|
number |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Integer to number¶
Operation: math.integer_number. Feature version: 1.
Outputs: result (number).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
integer |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Length¶
Operation: math.length. Feature version: 1.
Outputs: result (length).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
length |
No |
|
minimum: 0 |
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Ratio of lengths¶
Operation: math.length_ratio. Feature version: 1.
Outputs: result (number).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
length |
No |
|
|
|
length |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Maximum¶
Operation: math.maximum. Feature version: 1.
Outputs: result (number).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
number |
No |
|
|
|
number |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Maximum length¶
Operation: math.maximum_length. Feature version: 1.
Outputs: result (length).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
length |
No |
|
|
|
length |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Minimum¶
Operation: math.minimum. Feature version: 1.
Outputs: result (number).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
number |
No |
|
|
|
number |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Minimum length¶
Operation: math.minimum_length. Feature version: 1.
Outputs: result (length).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
length |
No |
|
|
|
length |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Multiply¶
Operation: math.multiply. Feature version: 1.
Outputs: result (number).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
number |
No |
|
|
|
number |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Number¶
Operation: math.number. Feature version: 1.
Outputs: result (number).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
number |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Scale angle¶
Operation: math.scale_angle. Feature version: 1.
Outputs: result (angle).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
angle |
No |
|
|
|
number |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Scale length¶
Operation: math.scale_length. Feature version: 1.
Outputs: result (length).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
length |
No |
|
|
|
number |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Subtract values¶
Operation: math.subtract. Feature version: 1.
Outputs: result (number).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
number |
No |
|
|
|
number |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Subtract lengths¶
Operation: math.subtract_lengths. Feature version: 1.
Outputs: result (length).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
length |
No |
|
|
|
length |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Vector from lengths¶
Operation: math.vector. Feature version: 1.
Outputs: result (vector).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
length |
No |
|
|
|
length |
No |
|
|
|
length |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Add vectors¶
Operation: math.vector_add. Feature version: 1.
Outputs: result (vector).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
vector |
No |
|
|
|
vector |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.
Scale vector¶
Operation: math.vector_scale. Feature version: 1.
Outputs: result (vector).
Input |
Type |
Required |
Default |
Bounds / choices |
|---|---|---|---|---|
|
vector |
No |
|
|
|
number |
No |
|
Lengths follow the document/typed-quantity unit contract. Inspect vector, field and dimensionless inputs by their declared purpose; do not apply a blanket unit conversion to every number. Validate references and the whole document before evaluation.