Cove - A Practical Quantum Computer Programming Framework
Implicit Operator
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
Real (Int32)
The value of the real component.
Return Value
The cast complex number

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