TOpenCLValue::Power Method

Overload List

#SignatureDescription
1TOpenCLBase *Power(const double Base, TOpenCLBase *Exponent);
2TOpenCLBase *Power(const TCplx &Base, TOpenCLBase *Exponent);
3TOpenCLBase *Power(TOpenCLBase *Base, const double Exponent);
4TOpenCLBase *Power(TOpenCLBase *Base, const TCplx &Exponent);
5TOpenCLValue *Power(TOpenCLValue *Base, TOpenCLValue *Exponent);Raises base to any power.
6TOpenCLValue *Power(double Base, TOpenCLValue *Exponent);
7TOpenCLValue *Power(TCplx Base, TOpenCLValue *Exponent);
8TOpenCLValue *Power(TOpenCLValue *Base, double Exponent);
9TOpenCLValue *Power(TOpenCLValue *Base, TCplx Exponent);

Overload 1: TOpenCLBase *Power(const double Base, TOpenCLBase *Exponent);

#NameTypeDescription
1Baseconst double
2ExponentTOpenCLBase *
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLBase *Power(const TCplx &Base, TOpenCLBase *Exponent);

#NameTypeDescription
1Baseconst TCplx &
2ExponentTOpenCLBase *
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 3: TOpenCLBase *Power(TOpenCLBase *Base, const double Exponent);

#NameTypeDescription
1BaseTOpenCLBase *
2Exponentconst double
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 4: TOpenCLBase *Power(TOpenCLBase *Base, const TCplx &Exponent);

#NameTypeDescription
1BaseTOpenCLBase *
2Exponentconst TCplx &
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 5: TOpenCLValue *Power(TOpenCLValue *Base, TOpenCLValue *Exponent);

Raises base to any power.

#NameTypeDescription
1BaseTOpenCLValue *
2ExponentTOpenCLValue *
Remarks:

Computes Base^(Exponent). The TOpenCLValue::IntPower is faster, if Exponent is an integer. Real valued power can handle only positive Exponent. TOpenCLValue::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: TOpenCLValue::IntPower
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler

Overload 6: TOpenCLValue *Power(double Base, TOpenCLValue *Exponent);

#NameTypeDescription
1Basedouble
2ExponentTOpenCLValue *
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler

Overload 7: TOpenCLValue *Power(TCplx Base, TOpenCLValue *Exponent);

#NameTypeDescription
1BaseTCplx
2ExponentTOpenCLValue *
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler

Overload 8: TOpenCLValue *Power(TOpenCLValue *Base, double Exponent);

#NameTypeDescription
1BaseTOpenCLValue *
2Exponentdouble
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler

Overload 9: TOpenCLValue *Power(TOpenCLValue *Base, TCplx Exponent);

#NameTypeDescription
1BaseTOpenCLValue *
2ExponentTCplx
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler