maspack.matrix
Class MatrixBlockRowList
java.lang.Object
maspack.matrix.MatrixBlockRowList
public class MatrixBlockRowList
- extends java.lang.Object
Implements a single linked list of MatrixBlocks, sorted by their index
values. Used for constructing columns of a sparse matrix of MatrixBlocks.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatrixBlockRowList
public MatrixBlockRowList()
isEmpty
public boolean isEmpty()
size
public int size()
firstBlock
public MatrixBlock firstBlock()
get
public MatrixBlock get(int bj)
remove
public boolean remove(MatrixBlock oldBlk)
removeAll
public void removeAll()
add
public MatrixBlock add(MatrixBlock newBlk)