Contents Previous Next Subchapters

Inverse Cosine Function
Syntax acos(value)
See Also cos , asin , atan , acosh

Description
Returns the element-by-element inverse cosine of value in radians, where value is a real or double-precision matrix between -1 and 1, inclusive. The elements of the result are between 0 and pi.

Example
     acos([-1., 0, 1.])
returns
     [ 3.14159 , 1.5708 , 0 ]