This function overloads cmath's asin function.
Parameters
- x
- valarray containing elements of a type for which the unary function asin is defined.
Return value
A valarray object with the arc sine values of the elements of x.Example
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
Output:
foo: 0 0.25 0.5 0.75 1 bar: 0 0.25268 0.523599 0.848062 1.5708 |
See also
| asin (cmath) | Compute arc sine (function) |
| sin | Compute sine of valarray elements (function template) |
| acos | Compute arc cosine of valarray elements (function template) |
