Returns the addition of this matrix and another.
Parameters: m - a int matrix exception: MatrixDimensionException - If the matrices are different sizes.
Returns an element of the matrix.
Parameters: i - row index of the element Parameters: j - column index of the element exception: MatrixDimensionException - If attempting to access an invalid element.
Returns the multiplication of a vector by this matrix.
Parameters: v - a int vector. exception: DimensionException - If the matrix and vector are incompatible.
Returns the multiplication of this matrix and another.
Parameters: m - a int matrix a AbstractIntegerMatrix or a AbstractIntegerSquareMatrix as appropriate exception: MatrixDimensionException - If the matrices are incompatible.
Returns the scalar product of this matrix and another.
Parameters: m - a int matrix. exception: MatrixDimensionException - If the matrices are different sizes.
Sets the value of an element of the matrix.
Should only be used to initialise this matrix.
Parameters: i - row index of the element Parameters: j - column index of the element Parameters: x - a number exception: MatrixDimensionException - If attempting to access an invalid element.
Returns the subtraction of this matrix by another.
Parameters: m - a int matrix exception: MatrixDimensionException - If the matrices are different sizes.