TNumber.Cos Method

Computes cosine of the number.

If obj is of type TMatrix or TSystem then action depends on the number of elements.

1The same method is applied to the element and its result is returned.
> 1GeneralException is thrown.

Definition

Namespace: SMath.Math.Numeric
Assembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.73.9126.0
C#
public TNumber Cos()

Return Value

TNumber
Value of the cosine function.

Exceptions

GeneralException Thrown if obj is neither a scalar value nor a compound value with a single element.

See Also