ComplexMatrixIndexer

This is an intermediate object that allows convenient indexing of multidimensional matrices.

Example

     -- Create a default 2x2 complex matrix of zeros
    
cm1 = pf.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
   

Property List

Type
The object type string. (Read only string)

Index List

[number]
Access a value at the specified indices in the matrix. (Read Complex)
[number]
Access a value at the specified indices in the matrix. (Write Complex)

Property Details

Type
The object type string.
Type
string
Access
Read only