scpsolver.util
Class NonSparseMatrix

java.lang.Object
  extended by scpsolver.util.NonSparseMatrix
All Implemented Interfaces:
Matrix

public class NonSparseMatrix
extends java.lang.Object
implements Matrix


Constructor Summary
NonSparseMatrix(double[][] m)
           
 
Method Summary
 double get(int row, int column)
           
 int getColNum()
           
 NonZeroElementIterator getNonZeroElementIterator()
           
 int getRowNum()
           
 Matrix plus(Matrix toadd)
           
 void set(int row, int column, double value)
           
 Matrix times(Matrix multiplier)
           
 Matrix transpose()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonSparseMatrix

public NonSparseMatrix(double[][] m)
Method Detail

get

public double get(int row,
                  int column)
Specified by:
get in interface Matrix

getColNum

public int getColNum()
Specified by:
getColNum in interface Matrix

getNonZeroElementIterator

public NonZeroElementIterator getNonZeroElementIterator()
Specified by:
getNonZeroElementIterator in interface Matrix

getRowNum

public int getRowNum()
Specified by:
getRowNum in interface Matrix

plus

public Matrix plus(Matrix toadd)
Specified by:
plus in interface Matrix

set

public void set(int row,
                int column,
                double value)
Specified by:
set in interface Matrix

times

public Matrix times(Matrix multiplier)
Specified by:
times in interface Matrix

transpose

public Matrix transpose()
Specified by:
transpose in interface Matrix