- assign
Sets all cells to the state specified by values.values is required to have the
same number of cells
- get
Returns the matrix cell value at coordinate index.
- toArray
Fills the cell values into the specified 1-dimensional array. The values are
copied. So subsequent c
- size
- getQuick
Returns the matrix cell value at coordinate index.Provided with invalid
parameters this method may r
- set
Sets the matrix cell at coordinate index to the specified value.
- setQuick
Sets the matrix cell at coordinate index to the specified value.Provided with
invalid parameters thi
- zDotProduct
Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]). Where x
== this.
- aggregate
Applies a function to each corresponding cell of two matrices and aggregates the
results. Returns a
- copy
Constructs and returns a deep copy of the receiver.Note that the returned matrix is an independent d
- zSum
Returns the sum of all cells; Sum( x[i] ).
- getNonZeros
Fills the coordinates and values of cells having non-zero values into the
specified lists. Fills int