ClMtxExpr.Cosh Method

Overload List

#SignatureDescription
1function Cosh(X: TOpenCLMatrix): clMatrix;Result = the Cosh function from the source and return the result
2function Cosh(X: TOpenCLValue): clValue;Result = the Cosh function from the source and return the result
3function Cosh(X: TOpenCLVector): clVector;Result = the Cosh function from the source and return the result

Overload 1: function Cosh(X: TOpenCLMatrix): clMatrix;

Compute the Cosh function from the source and return the result.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls clMatrix.Cosh

Overload 2: function Cosh(X: TOpenCLValue): clValue;

Compute the Cosh function from the source and return the result.

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls clValue.Cosh

Examples
var a,b: TOpenCLValue;
begin
    CreateIt(a,b);
    try
        b.Copy(0.5);
        a.Cosh(b);
    finally
        FreeIt(a,b);
    end;
end;

Overload 3: function Cosh(X: TOpenCLVector): clVector;

Compute the Cosh function from the source and return the result.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls clVector.Cosh