Complex<T>.Multiply Operator

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>) Operator

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

Parameters

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

Return Value

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

Remarks

If you are using a language that does not support operator overloading, use the staticMultiply(T, Complex<T>) method instead.

Multiply(Complex<T>, T) Operator

Multiplies a complex number and a real number.
C#
public static Complex<T> operator *(
	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

If you are using a language that does not support operator overloading, use the staticMultiply(Complex<T>, T) method instead.

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

Multiplies two complex numbers.
C#
public static Complex<T> operator *(
	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.

Implements

IMultiplyOperators<TSelf, TOther, TResult>.Multiply(TSelf, TOther)

Remarks

If you are using a language that does not support operator overloading, use the staticMultiply(Complex<T>, Complex<T>) method instead.

See Also