Math.Exp2¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input float or sequence of floats used as the exponent for the base 2 exponential function. | Float Float2 Float3 Float4 Color [Any] |
||
Output ➡️ |
Outputs the result of the exponential operation. | Float Float2 Float3 Float4 Color [Any] |
This shard calculates the exponential function with base 2 for the given input. The exponential function with base 2 is equivalent to raising 2 to the power of the input.
Details¶
If a sequence of floats was provided as input, the shard will calculate 2^x
for each element in the sequence and output a sequence.
If a sequence of vectors was provided as input, the shard will calculate 2^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 exponential calculation of the corresponding component in the input sequence.
Examples¶
1 2 |
|
[warning] line_info: File path is invalid
[info] [sample-wire] 32