com.multicorebsp.util
Class Matrix<DataType extends MatrixData<DataType>>

java.lang.Object
  extended by com.multicorebsp.util.Matrix<DataType>
Type Parameters:
DataType - Type of data to store here.
Direct Known Subclasses:
SparseMatrix, VectorCollection

public abstract class Matrix<DataType extends MatrixData<DataType>>
extends java.lang.Object

Very basic matrix representation.


Field Summary
 int m
          Matrix parameters (row size & number of data elements).
 int nz
          Matrix parameters (row size & number of data elements).
 
Constructor Summary
Matrix()
           
 
Method Summary
abstract  void removeAndAddDuplicates()
          Removes and combines any double entries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m

public int m
Matrix parameters (row size & number of data elements).


nz

public int nz
Matrix parameters (row size & number of data elements).

Constructor Detail

Matrix

public Matrix()
Method Detail

removeAndAddDuplicates

public abstract void removeAndAddDuplicates()
Removes and combines any double entries.