function IntPower(const aBase: TOpenCLValue; Exponent: Integer): TOpenCLValue;
Power (integer exponent).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aBase | TOpenCLValue | |
| 2 | Exponent | Integer |
Returns: TOpenCLValue
Remarks:
Calculate the power Base^Exponent. For non integer exponents, the clValue.Power method can be used.
Examples
var a,b: clValue;
begin
b.Copy(8);
a.IntPower(b, 2);
end;
See Also: clValue.Power