ClMtxExpr.Sqrt Method

Overload List

#SignatureDescription
1function Sqrt(X: TOpenCLMatrix): clMatrix;Result = X^2 from the source
2function Sqrt(X: TOpenCLValue): clValue;Result = X^2 from the source
3function Sqrt(X: TOpenCLVector): clVector;Result = X^2 from the source

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

Compute X^2 from the source.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls clMatrix.Sqrt

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

Compute X^2 from the source.

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls clValue.Sqrt

Examples
var a,b: clValue;
begin
    b.Copy(4);
    a.Sqrt(b); // a=[2]
end;

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

Compute X^2 from the source.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls clVector.Sqrt