asin

Trigonometric arcsine function.

Syntax

asin(expr)

Argument

expr
A valid scalar, vector, or matrix expression.

Example

Templex Expression Result
{asin(0)} 0
{asin( {-1, 0, 1} )} -1.5708, 0, 1.5708
{asin( { {-1, 0},

{1, 0.5},

{-0.5, 0} } )}

{-1.5708, 0}

{1.5708, 0.5236},

{-0.5236, 0}

Comments

The resulting angles are measured in radians.

If expr is a scalar, the result is the angle that, when evaluated by the sine function, yields expr. expr must have an absolute value less than or equal to one.

If expr is a vector, the result is a vector containing the angles that, when evaluated by the sine function, yield the elements of expr. The resultant vector has the same number of elements as expr. Each element of expr must have an absolute value less than or equal to one.

If expr is a matrix, the result is a matrix containing the angles that, when evaluated by the sine function, yield the elements of expr. The resultant matrix has the same dimensions as expr. Each element of expr must have an absolute value less than or equal to one.