Imaginary<T>.Divide Method

Definition

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

Overload List

Divide(T, Imaginary<T>) Divides a real number by an imaginary number.
Divide(Imaginary<T>, T) Divides an imaginary number by a real number.
Divide(Imaginary<T>, Imaginary<T>) Divides an imaginary number by another.

Divide(T, Imaginary<T>)

Divides a real number by an imaginary number.
C#
public static Imaginary<T> Divide(
	T a,
	Imaginary<T> z
)

Parameters

a  T
The real number.
z  Imaginary<T>
The imaginary number.

Return Value

Imaginary<T>
An imaginary number that equals the real number divided by the imaginary number.

Remarks

This method is equivalent to the Division(T, Imaginary<T>). It is provided for languages that do not support operator overloading.

Divide(Imaginary<T>, T)

Divides an imaginary number by a real number.
C#
public static Imaginary<T> Divide(
	Imaginary<T> z,
	T a
)

Parameters

z  Imaginary<T>
The real number.
a  T
The imaginary number.

Return Value

Imaginary<T>
An imaginary number that equals the complex number divided by the real number.

Remarks

This method is equivalent to the Division(Imaginary<T>, T). It is provided for languages that do not support operator overloading.

Divide(Imaginary<T>, Imaginary<T>)

Divides an imaginary number by another.
C#
public static Imaginary<T> Divide(
	Imaginary<T> z1,
	Imaginary<T> z2
)

Parameters

z1  Imaginary<T>
The first complex number.
z2  Imaginary<T>
The second complex number.

Return Value

Imaginary<T>
A real number that equals the first operand divided by the second.

Remarks

This method is equivalent to the Division(Imaginary<T>, Imaginary<T>). It is provided for languages that do not support operator overloading.

See Also