Math387::ArcCos Function

Overload List

#SignatureDescription
1double ArcCos(const double X);Inverse cosine.
2TCplx ArcCos(const TCplx &X);Inverse cosine of X.
3TSCplx ArcCos(const TSCplx &X);

Overload 1: double ArcCos(const double X);

Inverse cosine.

#NameTypeDescription
1Xconst double

Returns: Returns the inverse cosine of X. X must be between -1 and 1.

Remarks:

The return value will be on closed interval [-PI/2,PI/2], in radians for a real argument. To obtain an inverse cosine for X outside the interval [-1,1] use the complex version of the function.

See Also: Math387::Cos
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 2: TCplx ArcCos(const TCplx &X);

Inverse cosine of X.

#NameTypeDescription
1Xconst TCplx &

Returns: Returns the inverse cosine of complex argument X.

Remarks:

To obtain an inverse cosine for X outside the interval [-1,1] use this version of the function.

Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 3: TSCplx ArcCos(const TSCplx &X);

#NameTypeDescription
1Xconst TSCplx &
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler