scpsolver.util
Class NonSparseMatrix
java.lang.Object
scpsolver.util.NonSparseMatrix
- All Implemented Interfaces:
- Matrix
public class NonSparseMatrix
- extends java.lang.Object
- implements Matrix
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonSparseMatrix
public NonSparseMatrix(double[][] m)
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