Math387.IntPower / IntPowerf Method

Overload List

#SignatureDescription
1TCplx IntPower(TCplx Base, Int32 N)Power function (integer power).
2TSCplx IntPower(TSCplx Base, Int32 N)
3Double IntPower(Double Base, Int32 Exponent)Power function (integer power).
4Single IntPowerf(Single Base, Int32 Exponent)

Overload 1: TCplx IntPower(TCplx Base, Int32 N)

Power function (integer power).

#NameTypeDescription
1BaseTCplxscalar
2NInt32

Returns: TCplx (complex) - Returns complex Base to an integer power N.

Remarks:

Try to avoid calling this function for small powers. N can also be negative.

See Also: Math387.Power

Overload 2: TSCplx IntPower(TSCplx Base, Int32 N)

#NameTypeDescription
1BaseTSCplxscalar
2NInt32

Returns: TSCplx

Overload 3: Double IntPower(Double Base, Int32 Exponent)

Power function (integer power).

#NameTypeDescription
1BaseDoublescalar
2ExponentInt32

Returns: Double - Base to an integer power N.

Remarks:

Try to avoid calling this function for small powers. N can also be negative.

Overload 4: Single IntPowerf(Single Base, Int32 Exponent)

#NameTypeDescription
1BaseSinglescalar
2ExponentInt32

Returns: Single