Complex<T> Implicit  Conversion Operators

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Implicit(T to Complex<T>) Implicitly casts a real number to a complex type.
Implicit(ValueTuple<T, T> to Complex<T>) Implicitly casts a tuple of two real numbers to a complex type.

Implicit Conversion (T to Complex<T>)

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

Parameters

a  T
A real number.

Return Value

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

Implicit Conversion (ValueTuple<T, T> to Complex<T>)

Implicitly casts a tuple of two real numbers to a complex type.
C#
public static implicit operator Complex<T> (
	(T , T ) a
)

Parameters

a  ValueTuple<T, T>
A tuple made up of two numbers of type T.

Return Value

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

See Also