Cove - A Practical Quantum Computer Programming Framework
Equals Method (Value)
A complex matrix can only be equal to a double 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] [7 -4 5][2] = 8 [1]
Declaration Syntax
C#Visual BasicVisual C++
public bool Equals(
	double Value
Public Function Equals ( _
	Value As Double _
) As Boolean
bool Equals(
	double Value
Value (Double)
The value to compare to
Return Value
Only if the double equals the 1 x 1 matrix

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