Sin
The Sin block applies the sine function to its input.
Behavior
Section titled “Behavior”y = sin(x)
| Port | Direction | Type |
|---|---|---|
| 0 | Input | f32 or f64 scalar, or a fixed-size array of floats |
| 0 | Output | Same type as input |
Arrays are processed element by element.
Parameters
Section titled “Parameters”None.
Example
Section titled “Example”For input x = 0.0, the output is y = 0.0.