maspack.matrix
Class MatrixBlockColList

java.lang.Object
  extended by maspack.matrix.MatrixBlockColList

public class MatrixBlockColList
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
MatrixBlockColList()
           
 
Method Summary
 MatrixBlock add(MatrixBlock newBlk)
           
 MatrixBlock get(int bi)
           
 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

MatrixBlockColList

public MatrixBlockColList()
Method Detail

isEmpty

public boolean isEmpty()

size

public int size()

get

public MatrixBlock get(int bi)

remove

public boolean remove(MatrixBlock oldBlk)

removeAll

public void removeAll()

add

public MatrixBlock add(MatrixBlock newBlk)