ComplexMatrix Constructor (IdentitySize)
Cove - A Practical Quantum Computer Programming Framework
ComplexMatrix Constructor (IdentitySize)
NamespacesCove.ClassicalUtilitiesComplexMatrixComplexMatrix(Int32)
Construct an identity matrix or size IdentitySize. The Identity matrix created is IdentitySize x IdentitySize in size. Along the diagonal is 1, all other entries are 0.
Declaration Syntax
C#Visual BasicVisual C++
public ComplexMatrix(
	int IdentitySize
)
Public Sub New ( _
	IdentitySize As Integer _
)
public:
ComplexMatrix(
	int IdentitySize
)
Parameters
IdentitySize (Int32)
The size of the identity matrix to create
Exceptions
ExceptionCondition
ArgumentExceptionThrown if IdentitySize is less than or equal to 0. Identity matrices must be of a defined size.

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