Complex<T>.Pow Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Pow(Complex<T>, T) Returns a complex number raised to the specified power.
Pow(Complex<T>, Complex<T>) Returns a complex number raised to the specified power.
Pow(Complex<T>, Int32) Returns a complex number raised to the specified integer power.

Complex<T>.Pow(Complex<T>, T)

Returns a complex number raised to the specified power.
C#
public static Complex<T> Pow(
	Complex<T> z,
	T a
)

Parameters

z  Complex<T>
The base complex number.
a  T
The exponent.

Return Value

Complex<T>
A complex number that equals a raised to the power a.

Complex<T>.Pow(Complex<T>, Complex<T>)

Returns a complex number raised to the specified power.
C#
public static Complex<T> Pow(
	Complex<T> z1,
	Complex<T> z2
)

Parameters

z1  Complex<T>
The base complex number.
z2  Complex<T>
The exponent complex number.

Return Value

Complex<T>
A complex number that equals z1 raised to the power z2.

Remarks

This method requires that the operand type supports real arithmetic.

Complex<T>.Pow(Complex<T>, Int32)

Returns a complex number raised to the specified integer power.
C#
public static Complex<T> Pow(
	Complex<T> z,
	int n
)

Parameters

z  Complex<T>
The base complex number.
n  Int32
The exponent.

Return Value

Complex<T>
A complex number that equals z raised to the power n.

Remarks

This method requires that the operand type supports multiplication. If n is less than zero, it must also support division.

See Also