public class WeightedCell extends MatrixCell
MatrixValue.CellIndex| Constructor and Description |
|---|
WeightedCell() |
| Modifier and Type | Method and Description |
|---|---|
MatrixValue |
aggregateUnaryOperations(AggregateUnaryOperator op,
MatrixValue result,
int blen,
MatrixIndexes indexesIn) |
int |
compareTo(Object o) |
void |
copy(MatrixValue that) |
void |
denseScalarOperationsInPlace(ScalarOperator op) |
boolean |
equals(Object o) |
double |
getValue() |
double |
getWeight() |
int |
hashCode() |
void |
readFields(DataInput in) |
MatrixValue |
reorgOperations(ReorgOperator op,
MatrixValue result,
int startRow,
int startColumn,
int length) |
MatrixValue |
scalarOperations(ScalarOperator op,
MatrixValue result) |
void |
setWeight(double w) |
void |
sparseScalarOperationsInPlace(ScalarOperator op) |
void |
sparseUnaryOperationsInPlace(UnaryOperator op) |
String |
toString() |
MatrixValue |
unaryOperations(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, 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(AggregateUnaryOperator op, MatrixValue result, int blen, MatrixIndexes indexesIn)
aggregateUnaryOperations in class MatrixCellpublic void denseScalarOperationsInPlace(ScalarOperator op)
denseScalarOperationsInPlace in class MatrixCellpublic MatrixValue reorgOperations(ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length)
reorgOperations in class MatrixCellpublic MatrixValue scalarOperations(ScalarOperator op, MatrixValue result)
scalarOperations in class MatrixCellpublic void sparseScalarOperationsInPlace(ScalarOperator op)
sparseScalarOperationsInPlace in class MatrixCellpublic void sparseUnaryOperationsInPlace(UnaryOperator op)
sparseUnaryOperationsInPlace in class MatrixCellpublic MatrixValue unaryOperations(UnaryOperator op, MatrixValue result)
unaryOperations in class MatrixCellCopyright © 2020 The Apache Software Foundation. All rights reserved.