TOpenCLValue.Sin Method

function Sin(const X: TOpenCLValue): TOpenCLValue;

Sine function.

#NameTypeDescription
1XTOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculate the sine of X.

Examples
var a,b: TOpenCLValue;
begin
    CreateIt(a,b);
    try
        b.Copy(4);
        a.Sin(b);
    finally
        FreeIt(a,b);
    end;
end;
See Also: TOpenCLValue.ArcSin, TOpenCLValue.SinCos