Math387.Power / Powerf Method

Overload List

#SignatureDescription
1TCplx Power(TCplx A, TCplx X)Power function.
2TCplx Power(TCplx A, Double X)Power function.
3TSCplx Power(TSCplx A, TSCplx X)
4TSCplx Power(TSCplx A, Single X)
5TCplx Power(Double A, TCplx X)Power function.
6Double Power(Double Base, Double Exponent)Power function.
7TSCplx Power(Single A, TSCplx X)
8Single Powerf(Single Base, Single Exponent)

Overload 1: TCplx Power(TCplx A, TCplx X)

Power function.

#NameTypeDescription
1ATCplxscalar
2XTCplxscalar

Returns: TCplx (complex) - 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.

Overload 2: TCplx Power(TCplx A, Double X)

Power function.

#NameTypeDescription
1ATCplxscalar
2XDoublescalar

Returns: TCplx (complex) - Returns Base to any power.

Remarks:

Here base is complex and exponent is real.

Overload 3: TSCplx Power(TSCplx A, TSCplx X)

#NameTypeDescription
1ATSCplxscalar
2XTSCplxscalar

Returns: TSCplx

Overload 4: TSCplx Power(TSCplx A, Single X)

#NameTypeDescription
1ATSCplxscalar
2XSinglescalar

Returns: TSCplx

Overload 5: TCplx Power(Double A, TCplx X)

Power function.

#NameTypeDescription
1ADoublescalar
2XTCplxscalar

Returns: TCplx (complex) - Returns Base to any power.

Remarks:

Here base is real and exponent is complex.

Overload 6: Double Power(Double Base, Double Exponent)

Power function.

#NameTypeDescription
1BaseDoublescalar
2ExponentDoublescalar

Returns: Double - Returns Base to any power.

Remarks:

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.

See Also: Math387.IntPower

Overload 7: TSCplx Power(Single A, TSCplx X)

#NameTypeDescription
1ASinglescalar
2XTSCplxscalar

Returns: TSCplx

Overload 8: Single Powerf(Single Base, Single Exponent)

#NameTypeDescription
1BaseSinglescalar
2ExponentSinglescalar

Returns: Single