Magnitude

Compute the magnitude of a vector, array of vectors, or a scalar If a scalar is passed in, the absolute value will be returned If an array of vectors are passed in, the output will be an array of corresponding magnitudes

Installation

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

input

decimals, integrals

The vector(s) or scalar to take the magnitude of

Outputs

Name

Type

Description

Default

magnitude

decimals, integrals

The resulting magnitude(s)