- <init>
Creates a matrix with the values and shape defined by the 2D array 'data'. It
is assumed that 'data
- set
- get
Returns the value of the specified matrix element. Performs a bounds check to
make sure the requeste
- reshape
- getNumRows
- getData
- getNumCols
- zero
Sets all elements equal to zero.
- getNumElements
Returns the number of elements in this matrix, which is equal to the number of
rows times the number
- copy
Creates and returns a matrix which is idential to this one.
- unsafe_get
- add
Adds 'value' to the specified element in the matrix.
aij = aij + value