public class CM_N_COVCell extends MatrixValue implements org.apache.hadoop.io.WritableComparable
MatrixValue.CellIndex| Constructor and Description |
|---|
CM_N_COVCell() |
| Modifier and Type | Method and Description |
|---|---|
MatrixValue |
aggregateBinaryOperations(MatrixIndexes m1Index,
MatrixValue m1Value,
MatrixIndexes m2Index,
MatrixValue m2Value,
MatrixValue result,
org.apache.sysml.runtime.matrix.operators.AggregateBinaryOperator op) |
MatrixValue |
aggregateBinaryOperations(MatrixValue m1Value,
MatrixValue m2Value,
MatrixValue result,
org.apache.sysml.runtime.matrix.operators.AggregateBinaryOperator op) |
MatrixValue |
aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op,
MatrixValue result,
int brlen,
int bclen,
MatrixIndexes indexesIn) |
MatrixValue |
aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op,
MatrixValue result,
int blockingFactorRow,
int blockingFactorCol,
MatrixIndexes indexesIn,
boolean inCP) |
void |
appendOperations(MatrixValue valueIn2,
ArrayList<org.apache.sysml.runtime.matrix.mapred.IndexedMatrixValue> outlist,
int blockRowFactor,
int blockColFactor,
boolean cbind,
boolean m2IsLast,
int nextNCol) |
MatrixValue |
binaryOperations(org.apache.sysml.runtime.matrix.operators.BinaryOperator op,
MatrixValue thatValue,
MatrixValue result) |
void |
binaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.BinaryOperator op,
MatrixValue thatValue) |
int |
compareTo(Object o) |
void |
copy(MatrixValue that) |
void |
copy(MatrixValue that,
boolean sp) |
boolean |
equals(Object o) |
org.apache.sysml.runtime.instructions.cp.CM_COV_Object |
getCM_N_COVObject() |
long |
getNonZeros() |
int |
getNumColumns() |
int |
getNumRows() |
double |
getValue(int r,
int c) |
int |
hashCode() |
void |
incrementalAggregate(org.apache.sysml.runtime.matrix.operators.AggregateOperator aggOp,
MatrixValue newWithCorrection) |
void |
incrementalAggregate(org.apache.sysml.runtime.matrix.operators.AggregateOperator aggOp,
MatrixValue correction,
MatrixValue newWithCorrection) |
boolean |
isEmpty() |
boolean |
isInSparseFormat() |
MatrixValue |
quaternaryOperations(org.apache.sysml.runtime.matrix.operators.QuaternaryOperator qop,
MatrixValue um,
MatrixValue vm,
MatrixValue wm,
MatrixValue out) |
void |
readFields(DataInput in) |
MatrixValue |
reorgOperations(org.apache.sysml.runtime.matrix.operators.ReorgOperator op,
MatrixValue result,
int startRow,
int startColumn,
int length) |
MatrixValue |
replaceOperations(MatrixValue result,
double pattern,
double replacement) |
void |
reset() |
void |
reset(int rl,
int cl) |
void |
reset(int rl,
int cl,
boolean sp) |
void |
reset(int rl,
int cl,
boolean sp,
long nnzs) |
void |
reset(int rl,
int cl,
double v) |
MatrixValue |
scalarOperations(org.apache.sysml.runtime.matrix.operators.ScalarOperator op,
MatrixValue result) |
void |
setCM_N_COVObject(org.apache.sysml.runtime.instructions.cp.CM_COV_Object that) |
void |
setCM_N_COVObject(double u,
double v,
double w) |
void |
setValue(int r,
int c,
double v) |
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) |
void |
ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
double scalarThat,
double scalarThat2,
CTableMap resultMap,
MatrixBlock resultBlock) |
void |
ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
double scalarThat,
MatrixValue that2,
CTableMap resultMap,
MatrixBlock resultBlock) |
void |
ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixIndexes ix1,
double scalarThat,
boolean left,
int brlen,
CTableMap resultMap,
MatrixBlock resultBlock) |
void |
ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixValue that,
double scalarThat2,
boolean ignoreZeros,
CTableMap resultMap,
MatrixBlock resultBlock) |
void |
ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixValue that,
MatrixValue that2,
CTableMap resultMap,
MatrixBlock resultBlock) |
String |
toString() |
MatrixValue |
unaryOperations(org.apache.sysml.runtime.matrix.operators.UnaryOperator op,
MatrixValue result) |
void |
unaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.UnaryOperator op) |
void |
write(DataOutput out) |
MatrixValue |
zeroOutOperations(MatrixValue result,
org.apache.sysml.runtime.util.IndexRange range,
boolean complementary) |
public MatrixValue aggregateBinaryOperations(MatrixValue m1Value, MatrixValue m2Value, MatrixValue result, org.apache.sysml.runtime.matrix.operators.AggregateBinaryOperator op) throws DMLRuntimeException
aggregateBinaryOperations in class MatrixValueDMLRuntimeExceptionpublic MatrixValue aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op, MatrixValue result, int brlen, int bclen, MatrixIndexes indexesIn) throws DMLRuntimeException
aggregateUnaryOperations in class MatrixValueDMLRuntimeExceptionpublic MatrixValue binaryOperations(org.apache.sysml.runtime.matrix.operators.BinaryOperator op, MatrixValue thatValue, MatrixValue result) throws DMLRuntimeException
binaryOperations in class MatrixValueDMLRuntimeExceptionpublic void binaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.BinaryOperator op,
MatrixValue thatValue)
throws DMLRuntimeException
binaryOperationsInPlace in class MatrixValueDMLRuntimeExceptionpublic void copy(MatrixValue that, boolean sp)
copy in class MatrixValuepublic void copy(MatrixValue that)
copy in class MatrixValuepublic long getNonZeros()
getNonZeros in class MatrixValuepublic int getNumColumns()
getNumColumns in class MatrixValuepublic int getNumRows()
getNumRows in class MatrixValuepublic double getValue(int r,
int c)
getValue in class MatrixValuepublic void incrementalAggregate(org.apache.sysml.runtime.matrix.operators.AggregateOperator aggOp,
MatrixValue correction,
MatrixValue newWithCorrection)
throws DMLRuntimeException
incrementalAggregate in class MatrixValueDMLRuntimeExceptionpublic void incrementalAggregate(org.apache.sysml.runtime.matrix.operators.AggregateOperator aggOp,
MatrixValue newWithCorrection)
throws DMLRuntimeException
incrementalAggregate in class MatrixValueDMLRuntimeExceptionpublic boolean isInSparseFormat()
isInSparseFormat in class MatrixValuepublic boolean isEmpty()
isEmpty in class MatrixValuepublic MatrixValue reorgOperations(org.apache.sysml.runtime.matrix.operators.ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length) throws DMLRuntimeException
reorgOperations in class MatrixValueDMLRuntimeExceptionpublic void reset()
reset in class MatrixValuepublic void reset(int rl,
int cl)
reset in class MatrixValuepublic void reset(int rl,
int cl,
boolean sp)
reset in class MatrixValuepublic void reset(int rl,
int cl,
boolean sp,
long nnzs)
reset in class MatrixValuepublic void reset(int rl,
int cl,
double v)
reset in class MatrixValuepublic MatrixValue scalarOperations(org.apache.sysml.runtime.matrix.operators.ScalarOperator op, MatrixValue result) throws DMLRuntimeException
scalarOperations in class MatrixValueDMLRuntimeExceptionpublic void setValue(int r,
int c,
double v)
setValue in class MatrixValuepublic MatrixValue unaryOperations(org.apache.sysml.runtime.matrix.operators.UnaryOperator op, MatrixValue result) throws DMLRuntimeException
unaryOperations in class MatrixValueDMLRuntimeExceptionpublic void unaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.UnaryOperator op)
throws DMLRuntimeException
unaryOperationsInPlace in class MatrixValueDMLRuntimeExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic int compareTo(Object o)
compareTo in interface Comparablepublic org.apache.sysml.runtime.instructions.cp.CM_COV_Object getCM_N_COVObject()
public void setCM_N_COVObject(double u,
double v,
double w)
public void setCM_N_COVObject(org.apache.sysml.runtime.instructions.cp.CM_COV_Object that)
public MatrixValue zeroOutOperations(MatrixValue result, org.apache.sysml.runtime.util.IndexRange range, boolean complementary) throws DMLRuntimeException
zeroOutOperations in class MatrixValueDMLRuntimeExceptionpublic void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixValue that,
MatrixValue that2,
CTableMap resultMap,
MatrixBlock resultBlock)
throws DMLRuntimeException
ternaryOperations in class MatrixValueDMLRuntimeExceptionpublic void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixValue that,
double scalarThat2,
boolean ignoreZeros,
CTableMap resultMap,
MatrixBlock resultBlock)
throws DMLRuntimeException
ternaryOperations in class MatrixValueDMLRuntimeExceptionpublic void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
double scalarThat,
double scalarThat2,
CTableMap resultMap,
MatrixBlock resultBlock)
throws DMLRuntimeException
ternaryOperations in class MatrixValueDMLRuntimeExceptionpublic void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
MatrixIndexes ix1,
double scalarThat,
boolean left,
int brlen,
CTableMap resultMap,
MatrixBlock resultBlock)
throws DMLRuntimeException
ternaryOperations in class MatrixValueDMLRuntimeExceptionpublic void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op,
double scalarThat,
MatrixValue that2,
CTableMap resultMap,
MatrixBlock resultBlock)
throws DMLRuntimeException
ternaryOperations in class MatrixValueDMLRuntimeExceptionpublic MatrixValue quaternaryOperations(org.apache.sysml.runtime.matrix.operators.QuaternaryOperator qop, MatrixValue um, MatrixValue vm, MatrixValue wm, MatrixValue out) throws DMLRuntimeException
quaternaryOperations in class MatrixValueDMLRuntimeExceptionpublic 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
sliceOperations in class MatrixValueDMLRuntimeExceptionpublic MatrixValue replaceOperations(MatrixValue result, double pattern, double replacement) throws DMLRuntimeException
replaceOperations in class MatrixValueDMLRuntimeExceptionpublic MatrixValue aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op, MatrixValue result, int blockingFactorRow, int blockingFactorCol, MatrixIndexes indexesIn, boolean inCP) throws DMLRuntimeException
aggregateUnaryOperations in class MatrixValueDMLRuntimeExceptionpublic MatrixValue aggregateBinaryOperations(MatrixIndexes m1Index, MatrixValue m1Value, MatrixIndexes m2Index, MatrixValue m2Value, MatrixValue result, org.apache.sysml.runtime.matrix.operators.AggregateBinaryOperator op) throws DMLRuntimeException
aggregateBinaryOperations in class MatrixValueDMLRuntimeExceptionpublic 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
appendOperations in class MatrixValueDMLRuntimeExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.