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

a

number

No

1

b

number

No

2

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

a

length

No

10

b

length

No

5

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

a

number

No

1

b

number

No

2

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

value

integer

No

1

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

value

length

No

10

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

a

length

No

10

b

length

No

5

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

a

number

No

1

b

number

No

2

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

a

length

No

10

b

length

No

5

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

a

number

No

1

b

number

No

2

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

a

length

No

10

b

length

No

5

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

a

number

No

1

b

number

No

2

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

value

number

No

1

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

angle

No

360

factor

number

No

0.5

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

length

No

10

factor

number

No

2

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

a

number

No

1

b

number

No

2

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

a

length

No

10

b

length

No

5

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

x

length

No

0

y

length

No

0

z

length

No

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.

Add vectors

Operation: math.vector_add. Feature version: 1.

Outputs: result (vector).

Input

Type

Required

Default

Bounds / choices

a

vector

No

[0, 0, 0]

b

vector

No

[0, 0, 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.

Scale vector

Operation: math.vector_scale. Feature version: 1.

Outputs: result (vector).

Input

Type

Required

Default

Bounds / choices

vector

vector

No

[1, 0, 0]

factor

number

No

1

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.