sin
Trigonometric sine function.
Syntax
sin(expr)
Argument
- expr
 - A valid scalar, vector, or matrix expression in radians.
 
Example
| Templex Expression | Results | 
|---|---|
{sin(PI/2)} | 
                                1 | 
{sin( {0, 1, 2} * PI)} | 
                                0, 1.22465e-16, -2.44929e-16 | 
                            
{sin( { {0, 1}, {0.5, 1.5} } * PI)} | 
                                {0, 1.22461e-016}, {1, -1} | 
                            
| Curve Math Vectors | 
|---|
x = c1.x
  | 
                            
Comments
expr is measured in radians.
If expr is a scalar, the result is a scalar which is the trigonometric sine of expr
If expr is a vector, the result is a vector of the same dimensions containing a trigonometric sine for each element of expr.
If expr is a matrix, the result is a matrix of the same dimensions containing a trigonometric sine for each element of expr.