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 MatrixValue
DMLRuntimeException
public MatrixValue aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op, MatrixValue result, int brlen, int bclen, MatrixIndexes indexesIn) throws DMLRuntimeException
aggregateUnaryOperations
in class MatrixValue
DMLRuntimeException
public MatrixValue binaryOperations(org.apache.sysml.runtime.matrix.operators.BinaryOperator op, MatrixValue thatValue, MatrixValue result) throws DMLRuntimeException
binaryOperations
in class MatrixValue
DMLRuntimeException
public void binaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.BinaryOperator op, MatrixValue thatValue) throws DMLRuntimeException
binaryOperationsInPlace
in class MatrixValue
DMLRuntimeException
public void copy(MatrixValue that, boolean sp)
copy
in class MatrixValue
public void copy(MatrixValue that)
copy
in class MatrixValue
public long getNonZeros()
getNonZeros
in class MatrixValue
public int getNumColumns()
getNumColumns
in class MatrixValue
public int getNumRows()
getNumRows
in class MatrixValue
public double getValue(int r, int c)
getValue
in class MatrixValue
public void incrementalAggregate(org.apache.sysml.runtime.matrix.operators.AggregateOperator aggOp, MatrixValue correction, MatrixValue newWithCorrection) throws DMLRuntimeException
incrementalAggregate
in class MatrixValue
DMLRuntimeException
public void incrementalAggregate(org.apache.sysml.runtime.matrix.operators.AggregateOperator aggOp, MatrixValue newWithCorrection) throws DMLRuntimeException
incrementalAggregate
in class MatrixValue
DMLRuntimeException
public boolean isInSparseFormat()
isInSparseFormat
in class MatrixValue
public boolean isEmpty()
isEmpty
in class MatrixValue
public MatrixValue reorgOperations(org.apache.sysml.runtime.matrix.operators.ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length) throws DMLRuntimeException
reorgOperations
in class MatrixValue
DMLRuntimeException
public void reset()
reset
in class MatrixValue
public void reset(int rl, int cl)
reset
in class MatrixValue
public void reset(int rl, int cl, boolean sp)
reset
in class MatrixValue
public void reset(int rl, int cl, boolean sp, long nnzs)
reset
in class MatrixValue
public void reset(int rl, int cl, double v)
reset
in class MatrixValue
public MatrixValue scalarOperations(org.apache.sysml.runtime.matrix.operators.ScalarOperator op, MatrixValue result) throws DMLRuntimeException
scalarOperations
in class MatrixValue
DMLRuntimeException
public void setValue(int r, int c, double v)
setValue
in class MatrixValue
public MatrixValue unaryOperations(org.apache.sysml.runtime.matrix.operators.UnaryOperator op, MatrixValue result) throws DMLRuntimeException
unaryOperations
in class MatrixValue
DMLRuntimeException
public void unaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.UnaryOperator op) throws DMLRuntimeException
unaryOperationsInPlace
in class MatrixValue
DMLRuntimeException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public int compareTo(Object o)
compareTo
in interface Comparable
public 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 MatrixValue
DMLRuntimeException
public void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op, MatrixValue that, MatrixValue that2, CTableMap resultMap, MatrixBlock resultBlock) throws DMLRuntimeException
ternaryOperations
in class MatrixValue
DMLRuntimeException
public 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 MatrixValue
DMLRuntimeException
public void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op, double scalarThat, double scalarThat2, CTableMap resultMap, MatrixBlock resultBlock) throws DMLRuntimeException
ternaryOperations
in class MatrixValue
DMLRuntimeException
public 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 MatrixValue
DMLRuntimeException
public void ternaryOperations(org.apache.sysml.runtime.matrix.operators.Operator op, double scalarThat, MatrixValue that2, CTableMap resultMap, MatrixBlock resultBlock) throws DMLRuntimeException
ternaryOperations
in class MatrixValue
DMLRuntimeException
public MatrixValue quaternaryOperations(org.apache.sysml.runtime.matrix.operators.QuaternaryOperator qop, MatrixValue um, MatrixValue vm, MatrixValue wm, MatrixValue out) throws DMLRuntimeException
quaternaryOperations
in class MatrixValue
DMLRuntimeException
public 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 MatrixValue
DMLRuntimeException
public MatrixValue replaceOperations(MatrixValue result, double pattern, double replacement) throws DMLRuntimeException
replaceOperations
in class MatrixValue
DMLRuntimeException
public 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 MatrixValue
DMLRuntimeException
public 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 MatrixValue
DMLRuntimeException
public 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 MatrixValue
DMLRuntimeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.