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 |
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 |
append(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 void |
ctableOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
double scalar_that,
double scalar_that2,
CTableMap resultMap,
MatrixBlock resultBlock) |
abstract void |
ctableOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
double scalarThat,
MatrixValue that2,
CTableMap ctableResult,
MatrixBlock ctableResultBlock) |
abstract void |
ctableOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixIndexes ix1,
double scalar_that,
boolean left,
int brlen,
CTableMap resultMap,
MatrixBlock resultBlock) |
abstract void |
ctableOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixValue that,
double scalar_that2,
boolean ignoreZeros,
CTableMap resultMap,
MatrixBlock resultBlock) |
abstract void |
ctableOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixValue that,
MatrixValue that2,
CTableMap resultMap,
MatrixBlock resultBlock) |
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 |
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 |
slice(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 MatrixValue |
unaryOperations(org.apache.sysml.runtime.matrix.operators.UnaryOperator op,
MatrixValue result) |
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 ctableOperations(org.apache.sysml.runtime.matrix.operators.Operator op, MatrixValue that, MatrixValue that2, CTableMap resultMap, MatrixBlock resultBlock) throws DMLRuntimeException
DMLRuntimeException
public abstract void ctableOperations(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 ctableOperations(org.apache.sysml.runtime.matrix.operators.Operator op, double scalar_that, double scalar_that2, CTableMap resultMap, MatrixBlock resultBlock) throws DMLRuntimeException
DMLRuntimeException
public abstract void ctableOperations(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 ctableOperations(org.apache.sysml.runtime.matrix.operators.Operator op, double scalarThat, MatrixValue that2, CTableMap ctableResult, MatrixBlock ctableResultBlock) 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 unaryOperations(org.apache.sysml.runtime.matrix.operators.UnaryOperator op, MatrixValue result) 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 slice(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 append(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 © 2018 The Apache Software Foundation. All rights reserved.