Math387.ArcCos / ArcCosf Method

Overload List

#SignatureDescription
1function ArcCos(const X: TCplx): TCplx;Inverse cosine of X.
2function ArcCos(const X: TSCplx): TSCplx;
3function ArcCos(const X: Double): Double;Inverse cosine.
4function ArcCosf(const X: Single): Single;

Overload 1: function ArcCos(const X: TCplx): TCplx;

Inverse cosine of X.

#NameTypeDescription
1XTCplx

Returns: TCplx (complex) - 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.

Overload 2: function ArcCos(const X: TSCplx): TSCplx;

#NameTypeDescription
1XTSCplx

Returns: TSCplx

Overload 3: function ArcCos(const X: Double): Double;

Inverse cosine.

#NameTypeDescription
1XDouble

Returns: Double - 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

Overload 4: function ArcCosf(const X: Single): Single;

#NameTypeDescription
1XSingle

Returns: Single