Math.Expm1¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
The input float or sequence of floats used as the exponent for the base e exponential function. | FloatFloat2Float3Float4Color[Any] |
||
Output ➡️ |
Outputs the result of the exponential operation. | FloatFloat2Float3Float4Color[Any] |
This shard calculates the exponential function with base e (Euler's number) for the given input and subtracts 1 from the result.
Details¶
If a sequence of floats was provided as input, the shard will calculate e^x - 1 for each element in the sequence and output a sequence.
If a sequence of vectors was provided as input, the shard will calculate e^x - 1 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 exponential calculation of the corresponding component in the input sequence.
Examples¶
1 2 | |
[info] [sample-wire] 0