Implicitly casts a tuple of two real numbers to a complex type.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static implicit operator Complex<T> (
(T , T ) a
)
Public Shared Widening Operator CType (
a As ( As T, As T)
) As Complex(Of T)
static implicit operator Complex<T> (
ValueTuple<T, T> a
)
F# does not support the declaration of new casting operators.
Parameters
- a
- Type: SystemValueTupleT, T
A tuple made up of two numbers of type T.
Return Value
Type:
ComplexTA complex number with the same value
as the real number.
Reference