Implicit Operator
Cove - A Practical Quantum Computer Programming Framework
Implicit Operator
NamespacesCove.ClassicalUtilitiesComplexImplicit(Double)
Allow for implicit conversions from double to complex. This is allowed implicitly since a double is just a complex number with the imaginary part 0.
Declaration Syntax
C#Visual BasicVisual C++
public static implicit operator Complex (
	double Real
)
Public Shared Widening Operator CType ( _
	Real As Double _
) As Complex
static implicit operator Complex^ (
	double Real
)
Parameters
Real (Double)
The value of the real component.
Return Value
The cast complex number

Assembly: Cove.ClassicalUtilities (Module: Cove.ClassicalUtilities) Version: 1.0.0.0 (1.0.0.0)