Imaginary<T>.Pow Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

Pow(Imaginary<T>, T) Returns an imaginary number raised to the specified power.
Pow(Imaginary<T>, Imaginary<T>) Returns an imaginary number raised to the specified power.
Pow(Imaginary<T>, Int32) Returns an imaginary number raised to the specified integer power.

Pow(Imaginary<T>, T)

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

Parameters

z  Imaginary<T>
The base imaginary number.
a  T
The exponent.

Return Value

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

Pow(Imaginary<T>, Imaginary<T>)

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

Parameters

z1  Imaginary<T>
The base complex number.
z2  Imaginary<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.

Pow(Imaginary<T>, Int32)

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

Parameters

z  Imaginary<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

An integer power of an imaginary number is either real or imaginary.

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

See Also