Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double Power(const double Base, const double Exponent); | Power function. |
| 2 | TCplx Power(const TCplx &A, const TCplx &X); | Power function. |
| 3 | TSCplx Power(const TSCplx &A, const TSCplx &X); | |
| 4 | TCplx Power(const double A, const TCplx &X); | Power function. |
| 5 | TSCplx Power(const float A, const TSCplx &X); | |
| 6 | TCplx Power(const TCplx &A, const double X); | Power function. |
| 7 | TSCplx Power(const TSCplx &A, const float X); |
Overload 1: double Power(const double Base, const double Exponent);
Power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | const double | |
| 2 | Exponent | const double |
Returns: Returns Base to any power.
Remarks:
Math387::IntPower is faster, if Exponent is an integer. Real valued power can handle only positive Exponent and Base. Math387::IntPower can also handle negative exponent and/or negative base. To compute a power to the non-integer negative exponent and base in general case, use the complex version of the function.
See Also: Math387::IntPower
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 2: TCplx Power(const TCplx &A, const TCplx &X);
Power function.
Returns: Returns Base to any power.
Remarks:
Here both base and exponent can be complex values. Use this version if you want to compute a power to the negative exponent in general case.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 3: TSCplx Power(const TSCplx &A, const TSCplx &X);
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 4: TCplx Power(const double A, const TCplx &X);
Power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | const double | |
| 2 | X | const TCplx & |
Returns: Returns Base to any power.
Remarks:
Here base is real and exponent is complex.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 5: TSCplx Power(const float A, const TSCplx &X);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | const float | |
| 2 | X | const TSCplx & |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 6: TCplx Power(const TCplx &A, const double X);
Power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | const TCplx & | |
| 2 | X | const double |
Returns: Returns Base to any power.
Remarks:
Here base is complex and exponent is real.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 7: TSCplx Power(const TSCplx &A, const float X);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | const TSCplx & | |
| 2 | X | const float |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler