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

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