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 |
write(DataOutput out) |
aggregateUnaryOperations, append, binaryOperations, binaryOperationsInPlace, compareTo, copy, ctableOperations, ctableOperations, ctableOperations, ctableOperations, ctableOperations, getNonZeros, getNumColumns, getNumRows, getValue, incrementalAggregate, incrementalAggregate, isEmpty, isInSparseFormat, replaceOperations, reset, reset, reset, reset, reset, setValue, setValue, slice, 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)
aggregateUnaryOperations
in class MatrixCell
public void denseScalarOperationsInPlace(org.apache.sysml.runtime.matrix.operators.ScalarOperator op)
denseScalarOperationsInPlace
in class MatrixCell
public MatrixValue reorgOperations(org.apache.sysml.runtime.matrix.operators.ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length)
reorgOperations
in class MatrixCell
public MatrixValue scalarOperations(org.apache.sysml.runtime.matrix.operators.ScalarOperator op, MatrixValue result)
scalarOperations
in class MatrixCell
public void sparseScalarOperationsInPlace(org.apache.sysml.runtime.matrix.operators.ScalarOperator op)
sparseScalarOperationsInPlace
in class MatrixCell
public void sparseUnaryOperationsInPlace(org.apache.sysml.runtime.matrix.operators.UnaryOperator op)
sparseUnaryOperationsInPlace
in class MatrixCell
public MatrixValue unaryOperations(org.apache.sysml.runtime.matrix.operators.UnaryOperator op, MatrixValue result)
unaryOperations
in class MatrixCell
Copyright © 2018 The Apache Software Foundation. All rights reserved.