public class WeightedCell extends MatrixCell
MatrixValue.CellIndex| Modifier and Type | Field and Description |
|---|---|
protected double |
weight |
value| Constructor and Description |
|---|
WeightedCell() |
| Modifier and Type | Method and Description |
|---|---|
MatrixValue |
aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op,
MatrixValue result,
int brlen,
int bclen,
MatrixIndexes indexesIn) |
int |
compareTo(Object o) |
void |
copy(MatrixValue that) |
void |
denseScalarOperationsInPlace(org.apache.sysml.runtime.matrix.operators.ScalarOperator op) |
boolean |
equals(Object o) |
double |
getValue() |
double |
getWeight() |
int |
hashCode() |
void |
readFields(DataInput in) |
MatrixValue |
reorgOperations(org.apache.sysml.runtime.matrix.operators.ReorgOperator op,
MatrixValue result,
int startRow,
int startColumn,
int length) |
MatrixValue |
scalarOperations(org.apache.sysml.runtime.matrix.operators.ScalarOperator op,
MatrixValue result) |
void |
setWeight(double w) |
void |
sparseScalarOperationsInPlace(org.apache.sysml.runtime.matrix.operators.ScalarOperator op) |
void |
sparseUnaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.UnaryOperator op) |
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) |
aggregateBinaryOperations, aggregateBinaryOperations, aggregateUnaryOperations, appendOperations, binaryOperations, binaryOperationsInPlace, compareTo, copy, getNonZeros, getNumColumns, getNumRows, getValue, incrementalAggregate, incrementalAggregate, isEmpty, isInSparseFormat, quaternaryOperations, replaceOperations, reset, reset, reset, reset, reset, setValue, setValue, sliceOperations, ternaryOperations, ternaryOperations, ternaryOperations, ternaryOperations, ternaryOperations, zeroOutOperationspublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class MatrixCellIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class MatrixCellIOExceptionpublic void copy(MatrixValue that)
copy in class MatrixCellpublic int compareTo(Object o)
compareTo in interface ComparablecompareTo in class MatrixCellpublic boolean equals(Object o)
equals in class MatrixCellpublic int hashCode()
hashCode in class MatrixCellpublic void setWeight(double w)
public double getWeight()
public double getValue()
getValue in class MatrixCellpublic MatrixValue aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op, MatrixValue result, int brlen, int bclen, MatrixIndexes indexesIn) throws DMLRuntimeException
aggregateUnaryOperations in class MatrixCellDMLRuntimeExceptionpublic void denseScalarOperationsInPlace(org.apache.sysml.runtime.matrix.operators.ScalarOperator op)
throws DMLRuntimeException
denseScalarOperationsInPlace in class MatrixCellDMLRuntimeExceptionpublic MatrixValue reorgOperations(org.apache.sysml.runtime.matrix.operators.ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length) throws DMLRuntimeException
reorgOperations in class MatrixCellDMLRuntimeExceptionpublic MatrixValue scalarOperations(org.apache.sysml.runtime.matrix.operators.ScalarOperator op, MatrixValue result) throws DMLRuntimeException
scalarOperations in class MatrixCellDMLRuntimeExceptionpublic void sparseScalarOperationsInPlace(org.apache.sysml.runtime.matrix.operators.ScalarOperator op)
throws DMLRuntimeException
sparseScalarOperationsInPlace in class MatrixCellDMLRuntimeExceptionpublic void sparseUnaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.UnaryOperator op)
throws DMLRuntimeException
sparseUnaryOperationsInPlace in class MatrixCellDMLRuntimeExceptionpublic MatrixValue unaryOperations(org.apache.sysml.runtime.matrix.operators.UnaryOperator op, MatrixValue result) throws DMLRuntimeException
unaryOperations in class MatrixCellDMLRuntimeExceptionpublic void unaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.UnaryOperator op)
throws DMLRuntimeException
unaryOperationsInPlace in class MatrixCellDMLRuntimeExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.