MatrixIndexer

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

Example

    -- Create a default 2x2 double matrix of ones
    
m1 = pf.Matrix.Zeros(2)
 
    -- Assign values to each element of the matrix

m1[1][1] = 1
m1[2][1] = 2
m1[1][2] = 3
m1[2][2] = 4

Property List

Type
The object type string. (Read only string)

Index List

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

Property Details

Type
The object type string.
Type
string
Access
Read only