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 Basic | Visual 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
Exception | Condition |
---|---|
ArgumentException | Thrown if IdentitySize is less than or equal
to 0. Identity matrices must be of a defined size. |