F- the number Field
public interface GenericMatrixAccess<F extends Field<F>>
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, com.numericalmethod.suanshu.algebra.structure.Field). Other operations that "change" the matrix actually creates a new and independent copy.
void set(int i, int j, F 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-2016 Numerical Method Incorporation Limited. All Rights Reserved.