com.nhncorp.neptune.util.matrix
Class AbstractMatrix
java.lang.Object
com.nhncorp.neptune.util.matrix.AbstractMatrix
- Direct Known Subclasses:
- Matrix, SparseMatrix
public abstract class AbstractMatrix
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_FORMAT
public static final java.text.DecimalFormat KEY_FORMAT
MAX_KEY_VALUE
public static final java.lang.String MAX_KEY_VALUE
- See Also:
- Constant Field Values
AbstractMatrix
public AbstractMatrix(NConfiguration conf,
java.lang.String tableName,
java.lang.String columnName)
throws java.io.IOException
- Throws:
java.io.IOException
AbstractMatrix
public AbstractMatrix(NConfiguration conf,
java.lang.String tableName,
java.lang.String columnName,
AbstractMatrix inputMatrix)
throws java.io.IOException
- Throws:
java.io.IOException
addValue
public abstract void addValue(java.lang.String row,
java.lang.String col,
double value)
throws java.io.IOException
- Throws:
java.io.IOException
addToUploader
public abstract void addToUploader(java.lang.String row,
java.lang.String col,
double value)
throws java.io.IOException
- Throws:
java.io.IOException
initUploader
public void initUploader()
throws java.io.IOException
- Throws:
java.io.IOException
closeUploader
public void closeUploader()
throws java.io.IOException
- Throws:
java.io.IOException
mutiply
public void mutiply(AbstractMatrix targetMatrix,
AbstractMatrix resultMatrix)
throws java.io.IOException
- Throws:
java.io.IOException
mutiplyLocal
public void mutiplyLocal(AbstractMatrix targetMatrix,
AbstractMatrix resultMatrix)
throws java.io.IOException
- Throws:
java.io.IOException