Cove - A Practical Quantum Computer Programming Framework
Equals Method (Value)
NamespacesCove.ClassicalUtilitiesComplexMatrixEquals(Int32)
A complex matrix can only be equal to an int if it is a 1 x 1 matrix of the same value of an int. This allows for multiplication to easily be checked out as in: [3] [7 -4 5][2] = 8 [1]
Declaration Syntax
C#Visual BasicVisual C++
public bool Equals(
	int Value
)
Public Function Equals ( _
	Value As Integer _
) As Boolean
public:
bool Equals(
	int Value
)
Parameters
Value (Int32)
The value to compare to
Return Value
Only if the int equals the 1 x 1 matrix

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