Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TCplx Power(TCplx A, TCplx X) | Power function. |
| 2 | TCplx Power(TCplx A, Double X) | Power function. |
| 3 | TSCplx Power(TSCplx A, TSCplx X) | |
| 4 | TSCplx Power(TSCplx A, Single X) | |
| 5 | TCplx Power(Double A, TCplx X) | Power function. |
| 6 | Double Power(Double Base, Double Exponent) | Power function. |
| 7 | TSCplx Power(Single A, TSCplx X) | |
| 8 | Single Powerf(Single Base, Single Exponent) |
Overload 1: TCplx Power(TCplx A, TCplx X)
Power function.
Returns: TCplx (complex) - Returns Base to any power.
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.
Overload 2: TCplx Power(TCplx A, Double X)
Power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | TCplx | scalar |
| 2 | X | Double | scalar |
Returns: TCplx (complex) - Returns Base to any power.
Here base is complex and exponent is real.
Overload 3: TSCplx Power(TSCplx A, TSCplx X)
Overload 4: TSCplx Power(TSCplx A, Single X)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | TSCplx | scalar |
| 2 | X | Single | scalar |
Returns: TSCplx
Overload 5: TCplx Power(Double A, TCplx X)
Power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | Double | scalar |
| 2 | X | TCplx | scalar |
Returns: TCplx (complex) - Returns Base to any power.
Here base is real and exponent is complex.
Overload 6: Double Power(Double Base, Double Exponent)
Power function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | Double | scalar |
| 2 | Exponent | Double | scalar |
Returns: Double - Returns Base to any power.
Dew.Math.Units.Math387.IntPower is faster, if Exponent is an integer. Real valued power can handle only positive Exponent and Base. Dew.Math.Units.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.
Overload 7: TSCplx Power(Single A, TSCplx X)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | Single | scalar |
| 2 | X | TSCplx | scalar |
Returns: TSCplx
Overload 8: Single Powerf(Single Base, Single Exponent)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | Single | scalar |
| 2 | Exponent | Single | scalar |
Returns: Single