Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function InvSqrt(X: TOpenCLMatrix): clMatrix; | Result = (1/X)^2 |
| 2 | function InvSqrt(X: TOpenCLValue): clValue; | Result = (1/X)^2 |
| 3 | function InvSqrt(X: TOpenCLVector): clVector; | Result = (1/X)^2 |
Overload 1: function InvSqrt(X: TOpenCLMatrix): clMatrix;
Compute (1/X)^2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLMatrix | source TOpenCLMatrix |
Returns: clMatrix
Remarks:
Internally calls clMatrix.InvSqrt
Overload 2: function InvSqrt(X: TOpenCLValue): clValue;
Compute (1/X)^2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue | source TOpenCLValue |
Returns: clValue
Remarks:
Internally calls clValue.InvSqrt
Examples
var a,b: clValue;
begin
b.Copy(2.3);
a.InvCbrt(b); // a = 2.3^(1/3)
end;
Overload 3: function InvSqrt(X: TOpenCLVector): clVector;
Compute (1/X)^2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLVector | source TOpenCLVector |
Returns: clVector
Remarks:
Internally calls clVector.InvSqrt