Implicit Operator
Cove - A Practical Quantum Computer Programming Framework
Implicit Operator
NamespacesCove.ClassicalUtilitiesComplexImplicit(Int32)
Allow for implicit conversions from int to complex. This is allowed implicitly since an int is just a complex number with the imaginary part 0.
Declaration Syntax
C#Visual BasicVisual C++
public static implicit operator Complex (
	int Real
)
Public Shared Widening Operator CType ( _
	Real As Integer _
) As Complex
static implicit operator Complex^ (
	int Real
)
Parameters
Real (Int32)
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)