public abstract class MatrixValue extends Object implements org.apache.hadoop.io.WritableComparable
Modifier and Type | Class and Description |
---|---|
static class |
MatrixValue.CellIndex |
Constructor and Description |
---|
MatrixValue() |
MatrixValue(MatrixValue that) |
Modifier and Type | Method and Description |
---|---|
abstract MatrixValue |
aggregateBinaryOperations(MatrixIndexes m1Index,
MatrixValue m1Value,
MatrixIndexes m2Index,
MatrixValue m2Value,
MatrixValue result,
org.apache.sysml.runtime.matrix.operators.AggregateBinaryOperator op) |
abstract MatrixValue |
aggregateBinaryOperations(MatrixValue m1Value,
MatrixValue m2Value,
MatrixValue result,
org.apache.sysml.runtime.matrix.operators.AggregateBinaryOperator op) |
abstract MatrixValue |
aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op,
MatrixValue result,
int brlen,
int bclen,
MatrixIndexes indexesIn) |
abstract MatrixValue |
aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op,
MatrixValue result,
int blockingFactorRow,
int blockingFactorCol,
MatrixIndexes indexesIn,
boolean inCP) |
abstract void |
appendOperations(MatrixValue valueIn2,
ArrayList<org.apache.sysml.runtime.matrix.mapred.IndexedMatrixValue> outlist,
int blockRowFactor,
int blockColFactor,
boolean cbind,
boolean m2IsLast,
int nextNCol) |
abstract MatrixValue |
binaryOperations(org.apache.sysml.runtime.matrix.operators.BinaryOperator op,
MatrixValue thatValue,
MatrixValue result) |
abstract void |
binaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.BinaryOperator op,
MatrixValue thatValue) |
abstract void |
copy(MatrixValue that) |
abstract void |
copy(MatrixValue that,
boolean sp) |
abstract long |
getNonZeros() |
abstract int |
getNumColumns() |
abstract int |
getNumRows() |
abstract double |
getValue(int r,
int c) |
abstract void |
incrementalAggregate(org.apache.sysml.runtime.matrix.operators.AggregateOperator aggOp,
MatrixValue newWithCorrection) |
abstract void |
incrementalAggregate(org.apache.sysml.runtime.matrix.operators.AggregateOperator aggOp,
MatrixValue correction,
MatrixValue newWithCorrection) |
abstract boolean |
isEmpty() |
abstract boolean |
isInSparseFormat() |
abstract MatrixValue |
quaternaryOperations(org.apache.sysml.runtime.matrix.operators.QuaternaryOperator qop,
MatrixValue um,
MatrixValue vm,
MatrixValue wm,
MatrixValue out) |
abstract MatrixValue |
reorgOperations(org.apache.sysml.runtime.matrix.operators.ReorgOperator op,
MatrixValue result,
int startRow,
int startColumn,
int length) |
abstract MatrixValue |
replaceOperations(MatrixValue result,
double pattern,
double replacement) |
abstract void |
reset() |
abstract void |
reset(int rl,
int cl) |
abstract void |
reset(int rl,
int cl,
boolean sp) |
abstract void |
reset(int rl,
int cl,
boolean sp,
long nnzs) |
abstract void |
reset(int rl,
int cl,
double v) |
abstract MatrixValue |
scalarOperations(org.apache.sysml.runtime.matrix.operators.ScalarOperator op,
MatrixValue result) |
abstract void |
setValue(int r,
int c,
double v) |
abstract void |
sliceOperations(ArrayList<org.apache.sysml.runtime.matrix.mapred.IndexedMatrixValue> outlist,
org.apache.sysml.runtime.util.IndexRange range,
int rowCut,
int colCut,
int blockRowFactor,
int blockColFactor,
int boundaryRlen,
int boundaryClen) |
abstract void |
ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
double scalar_that,
double scalar_that2,
CTableMap resultMap,
MatrixBlock resultBlock) |
abstract void |
ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
double scalarThat,
MatrixValue that2,
CTableMap ctableResult,
MatrixBlock ctableResultBlock) |
abstract void |
ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixIndexes ix1,
double scalar_that,
boolean left,
int brlen,
CTableMap resultMap,
MatrixBlock resultBlock) |
abstract void |
ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixValue that,
double scalar_that2,
boolean ignoreZeros,
CTableMap resultMap,
MatrixBlock resultBlock) |
abstract void |
ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixValue that,
MatrixValue that2,
CTableMap resultMap,
MatrixBlock resultBlock) |
abstract MatrixValue |
unaryOperations(org.apache.sysml.runtime.matrix.operators.UnaryOperator op,
MatrixValue result) |
abstract void |
unaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.UnaryOperator op) |
abstract MatrixValue |
zeroOutOperations(MatrixValue result,
org.apache.sysml.runtime.util.IndexRange range,
boolean complementary) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo
public MatrixValue()
public MatrixValue(MatrixValue that)
public abstract int getNumRows()
public abstract int getNumColumns()
public abstract long getNonZeros()
public abstract void setValue(int r, int c, double v)
public abstract double getValue(int r, int c)
public abstract boolean isInSparseFormat()
public abstract boolean isEmpty()
public abstract void reset()
public abstract void reset(int rl, int cl)
public abstract void reset(int rl, int cl, boolean sp)
public abstract void reset(int rl, int cl, boolean sp, long nnzs)
public abstract void reset(int rl, int cl, double v) throws DMLRuntimeException
DMLRuntimeException
public abstract void copy(MatrixValue that)
public abstract void copy(MatrixValue that, boolean sp)
public abstract MatrixValue scalarOperations(org.apache.sysml.runtime.matrix.operators.ScalarOperator op, MatrixValue result) throws DMLRuntimeException
DMLRuntimeException
public abstract MatrixValue binaryOperations(org.apache.sysml.runtime.matrix.operators.BinaryOperator op, MatrixValue thatValue, MatrixValue result) throws DMLRuntimeException
DMLRuntimeException
public abstract void binaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.BinaryOperator op, MatrixValue thatValue) throws DMLRuntimeException
DMLRuntimeException
public abstract MatrixValue reorgOperations(org.apache.sysml.runtime.matrix.operators.ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length) throws DMLRuntimeException
DMLRuntimeException
public abstract void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op, MatrixValue that, MatrixValue that2, CTableMap resultMap, MatrixBlock resultBlock) throws DMLRuntimeException
DMLRuntimeException
public abstract void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op, MatrixValue that, double scalar_that2, boolean ignoreZeros, CTableMap resultMap, MatrixBlock resultBlock) throws DMLRuntimeException
DMLRuntimeException
public abstract void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op, double scalar_that, double scalar_that2, CTableMap resultMap, MatrixBlock resultBlock) throws DMLRuntimeException
DMLRuntimeException
public abstract void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op, MatrixIndexes ix1, double scalar_that, boolean left, int brlen, CTableMap resultMap, MatrixBlock resultBlock) throws DMLRuntimeException
DMLRuntimeException
public abstract void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op, double scalarThat, MatrixValue that2, CTableMap ctableResult, MatrixBlock ctableResultBlock) throws DMLRuntimeException
DMLRuntimeException
public abstract MatrixValue quaternaryOperations(org.apache.sysml.runtime.matrix.operators.QuaternaryOperator qop, MatrixValue um, MatrixValue vm, MatrixValue wm, MatrixValue out) throws DMLRuntimeException
DMLRuntimeException
public abstract MatrixValue aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op, MatrixValue result, int brlen, int bclen, MatrixIndexes indexesIn) throws DMLRuntimeException
DMLRuntimeException
public abstract MatrixValue aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op, MatrixValue result, int blockingFactorRow, int blockingFactorCol, MatrixIndexes indexesIn, boolean inCP) throws DMLRuntimeException
DMLRuntimeException
public abstract MatrixValue aggregateBinaryOperations(MatrixValue m1Value, MatrixValue m2Value, MatrixValue result, org.apache.sysml.runtime.matrix.operators.AggregateBinaryOperator op) throws DMLRuntimeException
DMLRuntimeException
public abstract MatrixValue aggregateBinaryOperations(MatrixIndexes m1Index, MatrixValue m1Value, MatrixIndexes m2Index, MatrixValue m2Value, MatrixValue result, org.apache.sysml.runtime.matrix.operators.AggregateBinaryOperator op) throws DMLRuntimeException
DMLRuntimeException
public abstract MatrixValue unaryOperations(org.apache.sysml.runtime.matrix.operators.UnaryOperator op, MatrixValue result) throws DMLRuntimeException
DMLRuntimeException
public abstract void unaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.UnaryOperator op) throws DMLRuntimeException
DMLRuntimeException
public abstract void incrementalAggregate(org.apache.sysml.runtime.matrix.operators.AggregateOperator aggOp, MatrixValue correction, MatrixValue newWithCorrection) throws DMLRuntimeException
DMLRuntimeException
public abstract void incrementalAggregate(org.apache.sysml.runtime.matrix.operators.AggregateOperator aggOp, MatrixValue newWithCorrection) throws DMLRuntimeException
DMLRuntimeException
public abstract MatrixValue zeroOutOperations(MatrixValue result, org.apache.sysml.runtime.util.IndexRange range, boolean complementary) throws DMLRuntimeException
DMLRuntimeException
public abstract void sliceOperations(ArrayList<org.apache.sysml.runtime.matrix.mapred.IndexedMatrixValue> outlist, org.apache.sysml.runtime.util.IndexRange range, int rowCut, int colCut, int blockRowFactor, int blockColFactor, int boundaryRlen, int boundaryClen) throws DMLRuntimeException
DMLRuntimeException
public abstract MatrixValue replaceOperations(MatrixValue result, double pattern, double replacement) throws DMLRuntimeException
DMLRuntimeException
public abstract void appendOperations(MatrixValue valueIn2, ArrayList<org.apache.sysml.runtime.matrix.mapred.IndexedMatrixValue> outlist, int blockRowFactor, int blockColFactor, boolean cbind, boolean m2IsLast, int nextNCol) throws DMLRuntimeException
DMLRuntimeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.