Overload List
Overload 1: TOpenCLValue *Power(TOpenCLValue *Base, TOpenCLValue *Exponent) const;
Raises base object elements to any power.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLValue * | |
| 2 | Exponent | TOpenCLValue * |
Remarks:
Raises Base calling object elements to any power. The clValue::IntPower is faster, if Exponent is an integer. Real valued power can handle only positive Exponent. clValue::IntPower can handle negative exponent also. To compute a power to the negative exponent in general case or when the base is negative, use the complex version of the function.
See Also: clValue::IntPower
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 2: TOpenCLValue *Power(const double Base, TOpenCLValue *Exponent) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | const double | |
| 2 | Exponent | TOpenCLValue * |
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 3: TOpenCLValue *Power(const TCplx &Base, TOpenCLValue *Exponent) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | const TCplx & | |
| 2 | Exponent | TOpenCLValue * |
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 4: TOpenCLValue *Power(TOpenCLValue *Base, double Exponent) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLValue * | |
| 2 | Exponent | double |
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 5: TOpenCLValue *Power(TOpenCLValue *Base, TCplx Exponent) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TOpenCLValue * | |
| 2 | Exponent | TCplx |
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler