ComplexMatrixIndexer
This is an intermediate object that allows convenient indexing of multidimensional matrices.
Example
-- Create a default 2x2 complex matrix of zeros
cm1 = cf.ComplexMatrix.Zeros(2)
-- Assign values to an element of the matrix
cm1[1][1] = 1+j
cm1[2][1] = 2+2*j
cm1[1][2] = 3+3*j
cm1[2][2] = 4+4*j
-- Assign a value to an element explicitly using the indexer.
-- This is equivalent to cm1[1][2] = 2+j
indexer = cm1[1]
indexer[2] = 2+j
Inheritance
The ComplexMatrixIndexer object is derived from the object.
Property List
Index List
Property Details
- Type
- The object type string.
- Type
- string
- Access
- Read only