Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function IntPower(Base: TOpenCLMatrix; Exponent: Integer): clMatrix; | Result = the integer power function |
| 2 | function IntPower(Base: TOpenCLValue; Exponent: Integer): clValue; | Result = the integer power function |
| 3 | function IntPower(Base: TOpenCLVector; Exponent: Integer): clVector; | Result = the integer power function |
Overload 1: function IntPower(Base: TOpenCLMatrix; Exponent: Integer): clMatrix;
Compute the integer power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLMatrix | source TOpenCLMatrix |
| 2 | Exponent | Integer |
Returns: clMatrix
Remarks:
Internally calls clMatrix.IntPower
Overload 2: function IntPower(Base: TOpenCLValue; Exponent: Integer): clValue;
Compute the integer power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLValue | source TOpenCLValue |
| 2 | Exponent | Integer |
Returns: clValue
Remarks:
Internally calls clValue.IntPower
Examples
var a,b: clValue;
begin
b.Copy(8);
a.IntPower(b, 2);
end;
Overload 3: function IntPower(Base: TOpenCLVector; Exponent: Integer): clVector;
Compute the integer power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLVector | source TOpenCLVector |
| 2 | Exponent | Integer |
Returns: clVector
Remarks:
Internally calls clVector.IntPower