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, zeroOutOperations
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class MatrixCell
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class MatrixCell
IOException
public void copy(MatrixValue that)
copy
in class MatrixCell
public int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class MatrixCell
public boolean equals(Object o)
equals
in class MatrixCell
public int hashCode()
hashCode
in class MatrixCell
public void setWeight(double w)
public double getWeight()
public double getValue()
getValue
in class MatrixCell
public MatrixValue aggregateUnaryOperations(org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator op, MatrixValue result, int brlen, int bclen, MatrixIndexes indexesIn) throws DMLRuntimeException
aggregateUnaryOperations
in class MatrixCell
DMLRuntimeException
public void denseScalarOperationsInPlace(org.apache.sysml.runtime.matrix.operators.ScalarOperator op) throws DMLRuntimeException
denseScalarOperationsInPlace
in class MatrixCell
DMLRuntimeException
public MatrixValue reorgOperations(org.apache.sysml.runtime.matrix.operators.ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length) throws DMLRuntimeException
reorgOperations
in class MatrixCell
DMLRuntimeException
public MatrixValue scalarOperations(org.apache.sysml.runtime.matrix.operators.ScalarOperator op, MatrixValue result) throws DMLRuntimeException
scalarOperations
in class MatrixCell
DMLRuntimeException
public void sparseScalarOperationsInPlace(org.apache.sysml.runtime.matrix.operators.ScalarOperator op) throws DMLRuntimeException
sparseScalarOperationsInPlace
in class MatrixCell
DMLRuntimeException
public void sparseUnaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.UnaryOperator op) throws DMLRuntimeException
sparseUnaryOperationsInPlace
in class MatrixCell
DMLRuntimeException
public MatrixValue unaryOperations(org.apache.sysml.runtime.matrix.operators.UnaryOperator op, MatrixValue result) throws DMLRuntimeException
unaryOperations
in class MatrixCell
DMLRuntimeException
public void unaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.UnaryOperator op) throws DMLRuntimeException
unaryOperationsInPlace
in class MatrixCell
DMLRuntimeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.