public interface MatrixAccess extends Table
get(1,1). This is what mathematicians (not programmers) are accustomed to. Invalid access such as using out-of-range indices or altering immutable matrix will lead to
MatrixAccessException. The only way to change a matrix is by calling
set(int, int, double). Other operations that "change" the matrix actually creates a new and independent copy.
|Modifier and Type||Method and Description|
Get the matrix entry at [i,j].
Set the matrix entry at [i,j] to a value.
void set(int i, int j, double value) throws MatrixAccessException
i- the row index
j- the column index
value- the value to set A[i,j] to
MatrixAccessException- if i or j is out of range
Copyright © 2010-2017 Numerical Method Incorporation Limited. All Rights Reserved.