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