maspack.matrix
Class MatrixBlockRowList

java.lang.Object
  extended by 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.


Constructor Summary
MatrixBlockRowList()
           
 
Method Summary
 MatrixBlock add(MatrixBlock newBlk)
           
 MatrixBlock firstBlock()
           
 MatrixBlock get(int bj)
           
 boolean isEmpty()
           
 boolean remove(MatrixBlock oldBlk)
           
 void removeAll()
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixBlockRowList

public MatrixBlockRowList()
Method Detail

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)