Complex<T>.Multiply Method

Definition

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

Overload List

Multiply(T, Complex<T>) Multiplies a complex number and a real number.
Multiply(Complex<T>, T) Multiplies a complex number and a real number.
Multiply(Complex<T>, Complex<T>) Multiplies two complex numbers.

Multiply(T, Complex<T>)

Multiplies a complex number and a real number.
C#
public static Complex<T> Multiply(
	T a,
	Complex<T> z
)

Parameters

a  T
The complex number.
z  Complex<T>
The real number.

Return Value

Complex<T>
A complex number that is the product of the two operands.

Remarks

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

Multiply(Complex<T>, T)

Multiplies a complex number and a real number.
C#
public static Complex<T> Multiply(
	Complex<T> z,
	T a
)

Parameters

z  Complex<T>
The complex number.
a  T
The real number.

Return Value

Complex<T>
A complex number that is the product of the two operands.

Remarks

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

Multiply(Complex<T>, Complex<T>)

Multiplies two complex numbers.
C#
public static Complex<T> Multiply(
	Complex<T> z1,
	Complex<T> z2
)

Parameters

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

Return Value

Complex<T>
A complex number that is the product of the two operands.

Remarks

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

See Also