clValue.Cos Method

TOpenCLValue Cos(TOpenCLValue X)

Sine function.

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculate the cosine of X.

Examples
clValue a;
clValue b;
b.Copy(4);
a.Cos(b);
See Also: clValue.ArcSin, clValue.SinCos