# Uses of Class
org.apache.sysds.runtime.matrix.data.MatrixValue

Packages that use MatrixValue
Package
Description
org.apache.sysds.runtime.compress
org.apache.sysds.runtime.compress.lib
org.apache.sysds.runtime.instructions.spark.data
org.apache.sysds.runtime.matrix.data

## Uses of MatrixValue in org.apache.sysds.runtime.compress

Subclasses of MatrixValue in org.apache.sysds.runtime.compress
Modifier and Type
Class
Description
`class`
`CompressedMatrixBlock`
Methods in org.apache.sysds.runtime.compress with parameters of type MatrixValue
Modifier and Type
Method
Description
`MatrixBlock`
CompressedMatrixBlock.`aggregateUnaryOperations(AggregateUnaryOperator op, MatrixValue result, int blen, MatrixIndexes indexesIn, boolean inCP)`
`void`
CompressedMatrixBlock.`append(MatrixValue v2, ArrayList<IndexedMatrixValue> outlist, int blen, boolean cbind, boolean m2IsLast, int nextNCol)`
`MatrixBlock`
CompressedMatrixBlock.`binaryOperations(BinaryOperator op, MatrixValue thatValue, MatrixValue result)`
`MatrixBlock`
CompressedMatrixBlock.`binaryOperationsInPlace(BinaryOperator op, MatrixValue thatValue)`
`MatrixBlock`
CompressedMatrixBlock.`binaryOperationsLeft(BinaryOperator op, MatrixValue thatValue, MatrixValue result)`
`void`
CompressedMatrixBlock.`copy(MatrixValue thatValue)`
`void`
CompressedMatrixBlock.`copy(MatrixValue thatValue, boolean sp)`
`void`
CompressedMatrixBlock.`ctableOperations(Operator op, double scalar, MatrixValue that, CTableMap resultMap, MatrixBlock resultBlock)`
`void`
CompressedMatrixBlock.`ctableOperations(Operator op, MatrixValue that, double scalar, boolean ignoreZeros, CTableMap resultMap, MatrixBlock resultBlock)`
`void`
CompressedMatrixBlock.`ctableOperations(Operator op, MatrixValue that, MatrixValue that2, CTableMap resultMap, MatrixBlock resultBlock)`
`MatrixBlock`
CompressedMatrixBlock.`ctableSeqOperations(MatrixValue thatMatrix, double thatScalar, MatrixBlock resultBlock, boolean updateClen)`
`static MatrixBlock`
CompressedMatrixBlock.`getUncompressed(MatrixValue mVal)`
`static MatrixBlock`
CompressedMatrixBlock.`getUncompressed(MatrixValue mVal, String message)`
`static MatrixBlock`
CompressedMatrixBlock.`getUncompressed(MatrixValue mVal, String message, int k)`
`MatrixBlock`
CompressedMatrixBlock.`groupedAggOperations(MatrixValue tgt, MatrixValue wghts, MatrixValue ret, int ngroups, Operator op, int k)`
`void`
CompressedMatrixBlock.`incrementalAggregate(AggregateOperator aggOp, MatrixValue newWithCorrection)`
`void`
CompressedMatrixBlock.`incrementalAggregate(AggregateOperator aggOp, MatrixValue correction, MatrixValue newWithCorrection, boolean deep)`
`void`
CompressedMatrixBlock.`permutationMatrixMultOperations(MatrixValue m2Val, MatrixValue out1Val, MatrixValue out2Val, int k)`
`MatrixBlock`
CompressedMatrixBlock.`reorgOperations(ReorgOperator op, MatrixValue ret, int startRow, int startColumn, int length)`
`MatrixBlock`
CompressedMatrixBlock.`replaceOperations(MatrixValue result, double pattern, double replacement, int k)`
`MatrixBlock`
CompressedMatrixBlock.`scalarOperations(ScalarOperator sop, MatrixValue result)`
`MatrixBlock`
CompressedMatrixBlock.`sortOperations(MatrixValue weights, MatrixBlock result, int k)`
`MatrixBlock`
CompressedMatrixBlock.`unaryOperations(UnaryOperator op, MatrixValue result)`
`MatrixBlock`
CompressedMatrixBlock.`zeroOutOperations(MatrixValue result, IndexRange range)`

## Uses of MatrixValue in org.apache.sysds.runtime.compress.lib

Methods in org.apache.sysds.runtime.compress.lib with parameters of type MatrixValue
Modifier and Type
Method
Description
`static MatrixBlock`
CLALibScalar.`scalarOperations(ScalarOperator sop, CompressedMatrixBlock m1, MatrixValue result)`
`static MatrixBlock`
CLALibSort.`sort(CompressedMatrixBlock mb, MatrixValue weights, MatrixBlock result, int k)`
Compute the sorted value/weight table used by the quantile/median/IQM operations (the `sort` / qsort lop), exploiting compression to sort the few distinct values instead of all rows.
`static MatrixBlock`
CLALibUnary.`unaryOperations(CompressedMatrixBlock m, UnaryOperator op, MatrixValue result)`

## Uses of MatrixValue in org.apache.sysds.runtime.instructions.spark.data

Methods in org.apache.sysds.runtime.instructions.spark.data that return MatrixValue
Modifier and Type
Method
Description
`MatrixValue`
IndexedMatrixValue.`getValue()`
Methods in org.apache.sysds.runtime.instructions.spark.data with parameters of type MatrixValue
Modifier and Type
Method
Description
`void`
IndexedMatrixValue.`set(MatrixIndexes indexes2, MatrixValue block2)`
`void`
IndexedMatrixValue.`setValue(MatrixValue value)`
Constructors in org.apache.sysds.runtime.instructions.spark.data with parameters of type MatrixValue
Modifier
Constructor
Description
``
`IndexedMatrixValue(MatrixIndexes ind, MatrixValue b)`
Constructor parameters in org.apache.sysds.runtime.instructions.spark.data with type arguments of type MatrixValue
Modifier
Constructor
Description
``
`IndexedMatrixValue(Class<? extends MatrixValue> cls)`

## Uses of MatrixValue in org.apache.sysds.runtime.matrix.data

Subclasses of MatrixValue in org.apache.sysds.runtime.matrix.data
Modifier and Type
Class
Description
`class`
`MatrixBlock`
`class`
`MatrixCell`
`class`
`WeightedCell`
Methods in org.apache.sysds.runtime.matrix.data that return MatrixValue
Modifier and Type
Method
Description
`MatrixValue`
MatrixCell.`aggregateUnaryOperations(AggregateUnaryOperator op, MatrixValue result, int blen, MatrixIndexes indexesIn, boolean inCP)`
`final MatrixValue`
MatrixValue.`aggregateUnaryOperations(AggregateUnaryOperator op, MatrixValue result, int blen, MatrixIndexes indexesIn)`
`abstract MatrixValue`
MatrixValue.`aggregateUnaryOperations(AggregateUnaryOperator op, MatrixValue result, int blen, MatrixIndexes indexesIn, boolean inCP)`
`MatrixValue`
WeightedCell.`aggregateUnaryOperations(AggregateUnaryOperator op, MatrixValue result, int blen, MatrixIndexes indexesIn, boolean inCP)`
`MatrixValue`
MatrixCell.`binaryOperations(BinaryOperator op, MatrixValue thatValue, MatrixValue result)`
`abstract MatrixValue`
MatrixValue.`binaryOperations(BinaryOperator op, MatrixValue thatValue, MatrixValue result)`
`MatrixValue`
MatrixCell.`binaryOperationsInPlace(BinaryOperator op, MatrixValue thatValue)`
`abstract MatrixValue`
MatrixValue.`binaryOperationsInPlace(BinaryOperator op, MatrixValue thatValue)`
`MatrixValue`
MatrixCell.`reorgOperations(ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length)`
`abstract MatrixValue`
MatrixValue.`reorgOperations(ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length)`
`MatrixValue`
WeightedCell.`reorgOperations(ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length)`
`MatrixValue`
MatrixCell.`replaceOperations(MatrixValue result, double pattern, double replacement)`
`abstract MatrixValue`
MatrixValue.`replaceOperations(MatrixValue result, double pattern, double replacement)`
`MatrixValue`
MatrixCell.`scalarOperations(ScalarOperator op, MatrixValue result)`
`abstract MatrixValue`
MatrixValue.`scalarOperations(ScalarOperator op, MatrixValue result)`
`MatrixValue`
WeightedCell.`scalarOperations(ScalarOperator op, MatrixValue result)`
`MatrixValue`
MatrixCell.`unaryOperations(UnaryOperator op, MatrixValue result)`
`abstract MatrixValue`
MatrixValue.`unaryOperations(UnaryOperator op, MatrixValue result)`
`MatrixValue`
WeightedCell.`unaryOperations(UnaryOperator op, MatrixValue result)`
`MatrixValue`
MatrixCell.`zeroOutOperations(MatrixValue result, IndexRange range)`
`abstract MatrixValue`
MatrixValue.`zeroOutOperations(MatrixValue result, IndexRange range)`
Methods in org.apache.sysds.runtime.matrix.data with parameters of type MatrixValue
Modifier and Type
Method
Description
`static MatrixBlock`
LibMatrixAgg.`aggregateUnaryMatrix(AggregateUnaryOperator op, MatrixBlock in, MatrixValue result, int blen, MatrixIndexes indexesIn, boolean inCP)`
`MatrixBlock`
MatrixBlock.`aggregateUnaryOperations(AggregateUnaryOperator op, MatrixValue result, int blen, MatrixIndexes indexesIn, boolean inCP)`
`MatrixValue`
MatrixCell.`aggregateUnaryOperations(AggregateUnaryOperator op, MatrixValue result, int blen, MatrixIndexes indexesIn, boolean inCP)`
`final MatrixValue`
MatrixValue.`aggregateUnaryOperations(AggregateUnaryOperator op, MatrixValue result, int blen, MatrixIndexes indexesIn)`
`abstract MatrixValue`
MatrixValue.`aggregateUnaryOperations(AggregateUnaryOperator op, MatrixValue result, int blen, MatrixIndexes indexesIn, boolean inCP)`
`MatrixValue`
WeightedCell.`aggregateUnaryOperations(AggregateUnaryOperator op, MatrixValue result, int blen, MatrixIndexes indexesIn, boolean inCP)`
`void`
MatrixBlock.`append(MatrixValue v2, ArrayList<IndexedMatrixValue> outlist, int blen, boolean cbind, boolean m2IsLast, int nextNCol)`
`void`
MatrixCell.`append(MatrixValue valueIn2, ArrayList<IndexedMatrixValue> outlist, int blen, boolean cbind, boolean m2IsLast, int nextNCol)`
`abstract void`
MatrixValue.`append(MatrixValue valueIn2, ArrayList<IndexedMatrixValue> outlist, int blen, boolean cbind, boolean m2IsLast, int nextNCol)`
`final MatrixBlock`
MatrixBlock.`binaryOperations(BinaryOperator op, MatrixValue thatValue)`
`MatrixBlock`
MatrixBlock.`binaryOperations(BinaryOperator op, MatrixValue thatValue, MatrixValue result)`
`MatrixValue`
MatrixCell.`binaryOperations(BinaryOperator op, MatrixValue thatValue, MatrixValue result)`
`abstract MatrixValue`
MatrixValue.`binaryOperations(BinaryOperator op, MatrixValue thatValue, MatrixValue result)`
`MatrixBlock`
MatrixBlock.`binaryOperationsInPlace(BinaryOperator op, MatrixValue thatValue)`
`MatrixValue`
MatrixCell.`binaryOperationsInPlace(BinaryOperator op, MatrixValue thatValue)`
`abstract MatrixValue`
MatrixValue.`binaryOperationsInPlace(BinaryOperator op, MatrixValue thatValue)`
`void`
MatrixBlock.`copy(MatrixValue thatValue)`
`void`
MatrixBlock.`copy(MatrixValue thatValue, boolean sp)`
`void`
MatrixCell.`copy(MatrixValue that)`
`void`
MatrixCell.`copy(MatrixValue that, boolean sp)`
`abstract void`
MatrixValue.`copy(MatrixValue that)`
Copy that MatrixValue into this MatrixValue.
`abstract void`
MatrixValue.`copy(MatrixValue that, boolean sp)`
Copy that MatrixValue into this MatrixValue.
`void`
WeightedCell.`copy(MatrixValue that)`
`void`
MatrixBlock.`ctableOperations(Operator op, double scalarThat, MatrixValue that2Val, CTableMap resultMap, MatrixBlock resultBlock)`
D = ctable(A,v2,W) this <- A; scalarThat <- v2; that2 <- W; result <- D (i1,j1,v1) from input1 (this) (v2) from sclar_input2 (scalarThat) (i3,j3,w) from input3 (that2)
`void`
MatrixBlock.`ctableOperations(Operator op, MatrixValue thatVal, double scalarThat2, boolean ignoreZeros, CTableMap resultMap, MatrixBlock resultBlock)`
D = ctable(A,B,w) this <- A; that <- B; scalar_that2 <- w; result <- D (i1,j1,v1) from input1 (this) (i1,j1,v2) from input2 (that) (w) from scalar_input3 (scalarThat2) NOTE: This method supports both vectors and matrices.
`final void`
MatrixBlock.`ctableOperations(Operator op, MatrixValue thatVal, MatrixValue that2Val, CTableMap resultMap)`
D = ctable(A,B,W) this <- A; that <- B; that2 <- W; result <- D (i1,j1,v1) from input1 (this) (i1,j1,v2) from input2 (that) (i1,j1,w) from input3 (that2)
`void`
MatrixBlock.`ctableOperations(Operator op, MatrixValue thatVal, MatrixValue that2Val, CTableMap resultMap, MatrixBlock resultBlock)`
`void`
MatrixCell.`ctableOperations(Operator op, double scalarThat, MatrixValue that2, CTableMap resultMap, MatrixBlock resultBlock)`
`void`
MatrixCell.`ctableOperations(Operator op, MatrixValue that, double scalarThat2, boolean ignoreZeros, CTableMap ctableResult, MatrixBlock ctableResultBlock)`
`void`
MatrixCell.`ctableOperations(Operator op, MatrixValue that, MatrixValue that2, CTableMap resultMap, MatrixBlock resultBlock)`
`abstract void`
MatrixValue.`ctableOperations(Operator op, double scalarThat, MatrixValue that2, CTableMap ctableResult, MatrixBlock ctableResultBlock)`
`abstract void`
MatrixValue.`ctableOperations(Operator op, MatrixValue that, double scalar_that2, boolean ignoreZeros, CTableMap resultMap, MatrixBlock resultBlock)`
`abstract void`
MatrixValue.`ctableOperations(Operator op, MatrixValue that, MatrixValue that2, CTableMap resultMap, MatrixBlock resultBlock)`
`final MatrixBlock`
MatrixBlock.`ctableSeqOperations(MatrixValue thatMatrix, double thatScalar, MatrixBlock resultBlock)`
D = ctable(seq,A,w) this <- seq; thatMatrix <- A; thatScalar <- w; result <- D (i1,j1,v1) from input1 (this) (i1,j1,v2) from input2 (that) (w) from scalar_input3 (scalarThat2)
`MatrixBlock`
MatrixBlock.`ctableSeqOperations(MatrixValue thatMatrix, double thatScalar, MatrixBlock ret, boolean updateClen)`
D = ctable(seq,A,w)
`final MatrixBlock`
MatrixBlock.`groupedAggOperations(MatrixValue tgt, MatrixValue wghts, MatrixValue ret, int ngroups, Operator op)`
Invocation from CP instructions.
`MatrixBlock`
MatrixBlock.`groupedAggOperations(MatrixValue tgt, MatrixValue wghts, MatrixValue ret, int ngroups, Operator op, int k)`
`void`
MatrixBlock.`incrementalAggregate(AggregateOperator aggOp, MatrixValue newWithCorrection)`
`void`
MatrixBlock.`incrementalAggregate(AggregateOperator aggOp, MatrixValue correction, MatrixValue newWithCorrection, boolean deep)`
`void`
MatrixCell.`incrementalAggregate(AggregateOperator aggOp, MatrixValue newWithCorrection)`
`void`
MatrixCell.`incrementalAggregate(AggregateOperator aggOp, MatrixValue correction, MatrixValue newWithCorrection, boolean deep)`
`abstract void`
MatrixValue.`incrementalAggregate(AggregateOperator aggOp, MatrixValue newWithCorrection)`
`abstract void`
MatrixValue.`incrementalAggregate(AggregateOperator aggOp, MatrixValue correction, MatrixValue newWithCorrection, boolean deep)`
`static void`
OperationsOnMatrixValues.`incrementalAggregation(MatrixValue valueAgg, MatrixValue correction, MatrixValue valueAdd, AggregateOperator op, boolean embeddedCorrection)`
`static void`
OperationsOnMatrixValues.`incrementalAggregation(MatrixValue valueAgg, MatrixValue correction, MatrixValue valueAdd, AggregateOperator op, boolean embeddedCorrection, boolean deep)`
`static void`
OperationsOnMatrixValues.`performAggregateUnary(MatrixIndexes indexesIn, MatrixValue valueIn, MatrixIndexes indexesOut, MatrixValue valueOut, AggregateUnaryOperator op, int blen)`
`void`
MatrixBlock.`permutationMatrixMultOperations(MatrixValue m2Val, MatrixValue out1Val, MatrixValue out2Val)`
`void`
MatrixBlock.`permutationMatrixMultOperations(MatrixValue m2Val, MatrixValue out1Val, MatrixValue out2Val, int k)`
`final MatrixBlock`
MatrixBlock.`pickValues(MatrixValue quantiles, MatrixValue ret)`
Pick the quantiles out of this matrix.
`MatrixBlock`
MatrixBlock.`pickValues(MatrixValue quantiles, MatrixValue ret, boolean average)`
`static MatrixBlock`
LibMatrixAgg.`prepareAggregateUnaryOutput(MatrixBlock in, AggregateUnaryOperator op, MatrixValue result, int blen)`
`MatrixBlock`
MatrixBlock.`reorgOperations(ReorgOperator op, MatrixValue ret, int startRow, int startColumn, int length)`
`MatrixValue`
MatrixCell.`reorgOperations(ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length)`
`abstract MatrixValue`
MatrixValue.`reorgOperations(ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length)`
`MatrixValue`
WeightedCell.`reorgOperations(ReorgOperator op, MatrixValue result, int startRow, int startColumn, int length)`
`final MatrixBlock`
MatrixBlock.`replaceOperations(MatrixValue result, double pattern, double replacement)`
`MatrixBlock`
MatrixBlock.`replaceOperations(MatrixValue result, double pattern, double replacement, int k)`
`MatrixValue`
MatrixCell.`replaceOperations(MatrixValue result, double pattern, double replacement)`
`abstract MatrixValue`
MatrixValue.`replaceOperations(MatrixValue result, double pattern, double replacement)`
`MatrixBlock`
MatrixBlock.`scalarOperations(ScalarOperator op, MatrixValue result)`
`MatrixValue`
MatrixCell.`scalarOperations(ScalarOperator op, MatrixValue result)`
`abstract MatrixValue`
MatrixValue.`scalarOperations(ScalarOperator op, MatrixValue result)`
`MatrixValue`
WeightedCell.`scalarOperations(ScalarOperator op, MatrixValue result)`
`final MatrixBlock`
MatrixBlock.`sortOperations(MatrixValue weights)`
`final MatrixBlock`
MatrixBlock.`sortOperations(MatrixValue weights, MatrixBlock result)`
`MatrixBlock`
MatrixBlock.`sortOperations(MatrixValue weights, MatrixBlock result, int k)`
`MatrixBlock`
MatrixBlock.`unaryOperations(UnaryOperator op, MatrixValue result)`
`MatrixValue`
MatrixCell.`unaryOperations(UnaryOperator op, MatrixValue result)`
`abstract MatrixValue`
MatrixValue.`unaryOperations(UnaryOperator op, MatrixValue result)`
`MatrixValue`
WeightedCell.`unaryOperations(UnaryOperator op, MatrixValue result)`
`MatrixBlock`
MatrixBlock.`zeroOutOperations(MatrixValue result, IndexRange range)`
`MatrixValue`
MatrixCell.`zeroOutOperations(MatrixValue result, IndexRange range)`
`abstract MatrixValue`
MatrixValue.`zeroOutOperations(MatrixValue result, IndexRange range)`
Constructors in org.apache.sysds.runtime.matrix.data with parameters of type MatrixValue
Modifier
Constructor
Description
``
`MatrixValue(MatrixValue that)`