Imaginary<T> Implicit  Conversion Operators

Definition

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

Overload List

Implicit(T to Imaginary<T>) Implicitly casts a real number to a complex type.
Implicit(Imaginary<T> to Complex<T>) Implicitly converts an imaginary number to a complex number.

Implicit Conversion (T to Imaginary<T>)

Implicitly casts a real number to a complex type.
C#
public static implicit operator Imaginary<T> (
	T a
)

Parameters

a  T
A real number.

Return Value

Imaginary<T>
A complex number with the same value as the real number.

Implicit Conversion (Imaginary<T> to Complex<T>)

Implicitly converts an imaginary number to a complex number.
C#
public static implicit operator Complex<T> (
	Imaginary<T> a
)

Parameters

a  Imaginary<T>
The imaginary number to convert.

Return Value

Complex<T>

See Also