Imaginary<T>.Multiply Operator

Definition

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

Overload List

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

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

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

Parameters

z1  Complex<T>
The complex number.
z  Imaginary<T>
The imaginary 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, Imaginary<T>) method instead.

Multiply(T, Imaginary<T>) Operator

Multiplies an imaginary number and a real number.
C#
public static Imaginary<T> operator *(
	T a,
	Imaginary<T> z
)

Parameters

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

Return Value

Imaginary<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, Imaginary<T>) method instead.

Multiply(Imaginary<T>, T) Operator

Multiplies an imaginary number and a real number.
C#
public static Imaginary<T> operator *(
	Imaginary<T> z,
	T a
)

Parameters

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

Return Value

Imaginary<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(Imaginary<T>, T) method instead.

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

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

Parameters

z  Imaginary<T>
The imaginary number.
z2  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(Imaginary<T>, T) method instead.

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

Multiplies two complex numbers.
C#
public static T operator *(
	Imaginary<T> z1,
	Imaginary<T> z2
)

Parameters

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

Return Value

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(Imaginary<T>, Imaginary<T>) method instead.

See Also