naginterfaces.library.specfun.arcsin

naginterfaces.library.specfun.arcsin(x)[source]

arcsin returns the value of the inverse circular sine, . The value is in the principal range .

For full information please refer to the NAG Library document for s09aa

https://www.nag.com/numeric/nl/nagdoc_28.5/flhtml/s/s09aaf.html

Parameters
xfloat

The argument of the function.

Returns
asxfloat

The value of the inverse circular sine, .

Raises
NagValueError
(errno )

On entry, .

Constraint: .

Notes

No equivalent traditional C interface for this routine exists in the NAG Library.

arcsin calculates an approximate value for the inverse circular sine, . It is based on the Chebyshev expansion

where and .

For .

For .

For is undefined and the function fails.

References

NIST Digital Library of Mathematical Functions