public class ArrayJacobianMatrix extends java.lang.Object implements JacobianMatrix
JacobianMatrix.Element| Constructor and Description |
|---|
ArrayJacobianMatrix(int nrow,
int ncol) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInPlace(int row,
int column,
JacobianElement value)
Add a value in place
|
int |
getColumnCount()
Return the number of columns in the matrix
|
int |
getRowCount()
Return the number of rows in the matrix.
|
JacobianElement |
getValue(int row,
int column)
Get a value
|
void |
setValue(int row,
int column,
JacobianElement value)
Set a value
|
void |
subInPlace(int row,
int column,
JacobianElement value)
subtract a value in place
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic int getRowCount()
MatrixgetRowCount in interface Matrix<JacobianElement>public int getColumnCount()
MatrixgetColumnCount in interface Matrix<JacobianElement>public void setValue(int row,
int column,
JacobianElement value)
MatrixsetValue in interface Matrix<JacobianElement>row - location of new valuecolumn - location of new valuevalue - value to storepublic JacobianElement getValue(int row, int column)
MatrixgetValue in interface Matrix<JacobianElement>row - location of new valuecolumn - location of new valuepublic void addInPlace(int row,
int column,
JacobianElement value)
MatrixaddInPlace in interface JacobianMatrixaddInPlace in interface Matrix<JacobianElement>row - location of updated valuecolumn - location of updated valuevalue - to add at given locationpublic void subInPlace(int row,
int column,
JacobianElement value)
MatrixsubInPlace in interface JacobianMatrixsubInPlace in interface Matrix<JacobianElement>row - location of updated valuecolumn - location of updated valuevalue - to subtract at given location