Math.Log¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
The input float or sequence of floats to calculate the natural logarithm of. This value must be a positive number or sequence of positive numbers. | FloatFloat2Float3Float4Color[Any] |
||
Output ➡️ |
Outputs the natural logarithm of the input. | FloatFloat2Float3Float4Color[Any] |
This shard calculates the natural logarithm for the given input. The output is the exponent to which e must be raised to obtain the input value.
Details¶
If a sequence of floats was provided as input, the shard will calculate ln(x) for each element in the sequence and output a sequence.
If a sequence of vectors was provided as input, the shard will calculate ln(x) for each component in each vector in the sequence and output a sequence of vectors where each component in each vector is the result of the logarithmic calculation of the corresponding component in the input sequence.
Examples¶
1 2 3 | |
[info] [sample-wire] @f3(0 -0.693147 2.30259)