Math.Abs¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
The numeric value or a sequence of numeric values to get the absolute value of. | IntInt2Int3Int4Int8Int16FloatFloat2Float3Float4Color[Any] |
||
Output ➡️ |
Outputs the absolute value of the input. | IntInt2Int3Int4Int8Int16FloatFloat2Float3Float4Color[Any] |
This shard outputs the absolute value of the input.
Details¶
If a sequence of integers was provided as input, the shard will calculate the absolute value for each element in the sequence and output a sequence.
If a sequence of vectors was provided as input, the shard will calculate the absolute value for each component in each vector in the sequence and output a sequence of vectors where each component in each vector is the absolute value of the corresponding component in the input sequence.
Examples¶
1 2 | |
[info] [sample-wire] [0.1 0.2 0.4]