## Uses of Class
org.apache.sysds.runtime.instructions.spark.data.IndexedMatrixValue

- Packages that use IndexedMatrixValue
  Package | Description
  --- | ---
  org.apache.sysds.runtime.compress |
  org.apache.sysds.runtime.instructions.spark.data |
  org.apache.sysds.runtime.instructions.spark.utils |
  org.apache.sysds.runtime.io |
  org.apache.sysds.runtime.matrix.data |
  org.apache.sysds.runtime.util |

- - ### Uses of IndexedMatrixValue in org.apache.sysds.runtime.compress

    Method parameters in org.apache.sysds.runtime.compress with type arguments of type IndexedMatrixValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CompressedMatrixBlock.`append​(MatrixValue v2, ArrayList<IndexedMatrixValue> outlist, int blen, boolean cbind, boolean m2IsLast, int nextNCol)` |
    `void` | CompressedMatrixBlock.`slice​(ArrayList<IndexedMatrixValue> outlist, IndexRange range, int rowCut, int colCut, int blen, int boundaryRlen, int boundaryClen)` |

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

    Methods in org.apache.sysds.runtime.instructions.spark.data that return types with arguments of type IndexedMatrixValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<IndexedMatrixValue>` | ReblockBuffer.`flushBufferToBinaryBlocks()` |

    Constructors in org.apache.sysds.runtime.instructions.spark.data with parameters of type IndexedMatrixValue
    Constructor | Description
    --- | ---
    `IndexedMatrixValue​(IndexedMatrixValue that)` |

  - ### Uses of IndexedMatrixValue in org.apache.sysds.runtime.instructions.spark.utils

    Methods in org.apache.sysds.runtime.instructions.spark.utils that return IndexedMatrixValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `static IndexedMatrixValue` | SparkUtils.`toIndexedMatrixBlock​(MatrixIndexes ix, MatrixBlock mb)` |
    `static IndexedMatrixValue` | SparkUtils.`toIndexedMatrixBlock​(scala.Tuple2<MatrixIndexes,​MatrixBlock> in)` |

    Methods in org.apache.sysds.runtime.instructions.spark.utils with parameters of type IndexedMatrixValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `static scala.Tuple2<MatrixIndexes,​MatrixBlock>` | SparkUtils.`fromIndexedMatrixBlock​(IndexedMatrixValue in)` |
    `static Pair<MatrixIndexes,​MatrixBlock>` | SparkUtils.`fromIndexedMatrixBlockToPair​(IndexedMatrixValue in)` |

    Method parameters in org.apache.sysds.runtime.instructions.spark.utils with type arguments of type IndexedMatrixValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `static List<scala.Tuple2<MatrixIndexes,​MatrixBlock>>` | SparkUtils.`fromIndexedMatrixBlock​(List<IndexedMatrixValue> in)` |
    `static List<Pair<MatrixIndexes,​MatrixBlock>>` | SparkUtils.`fromIndexedMatrixBlockToPair​(List<IndexedMatrixValue> in)` |

  - ### Uses of IndexedMatrixValue in org.apache.sysds.runtime.io

    Methods in org.apache.sysds.runtime.io that return types with arguments of type IndexedMatrixValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `ArrayList<IndexedMatrixValue>` | ReaderBinaryBlock.`readIndexedMatrixBlocksFromHDFS​(String fname, long rlen, long clen, int blen)` |

  - ### Uses of IndexedMatrixValue in org.apache.sysds.runtime.matrix.data

    Methods in org.apache.sysds.runtime.matrix.data that return types with arguments of type IndexedMatrixValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ArrayList<IndexedMatrixValue>` | OperationsOnMatrixValues.`performSlice​(IndexedMatrixValue in, IndexRange ixrange, int blen)` |
    `static List<IndexedMatrixValue>` | LibMatrixReorg.`reshape​(IndexedMatrixValue in, DataCharacteristics mcIn, DataCharacteristics mcOut, boolean rowwise, boolean outputEmptyBlocks)` | MR/SPARK reshape interface - for reshape we cannot view blocks independently, and hence, there are different CP and MR interfaces.

    Methods in org.apache.sysds.runtime.matrix.data with parameters of type IndexedMatrixValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | OperationsOnMatrixValues.`performMapGroupedAggregate​(Operator op, IndexedMatrixValue inTarget, MatrixBlock groups, int ngroups, int blen, ArrayList<IndexedMatrixValue> outlist)` |
    `static void` | OperationsOnMatrixValues.`performShift​(IndexedMatrixValue in, IndexRange ixrange, int blen, long rlen, long clen, ArrayList<IndexedMatrixValue> outlist)` |
    `static ArrayList<IndexedMatrixValue>` | OperationsOnMatrixValues.`performSlice​(IndexedMatrixValue in, IndexRange ixrange, int blen)` |
    `static List<IndexedMatrixValue>` | LibMatrixReorg.`reshape​(IndexedMatrixValue in, DataCharacteristics mcIn, DataCharacteristics mcOut, boolean rowwise, boolean outputEmptyBlocks)` | MR/SPARK reshape interface - for reshape we cannot view blocks independently, and hence, there are different CP and MR interfaces.
    `static void` | LibMatrixReorg.`rev​(IndexedMatrixValue in, long rlen, int blen, ArrayList<IndexedMatrixValue> out)` |
    `static void` | LibMatrixReorg.`rexpand​(IndexedMatrixValue data, double max, boolean rows, boolean cast, boolean ignore, long blen, ArrayList<IndexedMatrixValue> outList)` | MR/Spark rexpand operation (single input, multiple outputs incl empty blocks)
    `static void` | LibMatrixReorg.`rmempty​(IndexedMatrixValue data, IndexedMatrixValue offset, boolean rmRows, long len, long blen, ArrayList<IndexedMatrixValue> outList)` | MR rmempty interface - for rmempty we cannot view blocks independently, and hence, there are different CP and MR interfaces.

    Method parameters in org.apache.sysds.runtime.matrix.data with type arguments of type IndexedMatrixValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CM_N_COVCell.`append​(MatrixValue valueIn2, ArrayList<IndexedMatrixValue> outlist, int blen, boolean cbind, boolean m2IsLast, int nextNCol)` |
    `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)` |
    `static void` | OperationsOnMatrixValues.`performAppend​(MatrixValue valueIn1, MatrixValue valueIn2, ArrayList<IndexedMatrixValue> outlist, int blen, boolean cbind, boolean m2IsLast, int nextNCol)` |
    `static void` | OperationsOnMatrixValues.`performMapGroupedAggregate​(Operator op, IndexedMatrixValue inTarget, MatrixBlock groups, int ngroups, int blen, ArrayList<IndexedMatrixValue> outlist)` |
    `static void` | OperationsOnMatrixValues.`performShift​(IndexedMatrixValue in, IndexRange ixrange, int blen, long rlen, long clen, ArrayList<IndexedMatrixValue> outlist)` |
    `static void` | LibMatrixReorg.`rev​(IndexedMatrixValue in, long rlen, int blen, ArrayList<IndexedMatrixValue> out)` |
    `static void` | LibMatrixReorg.`rexpand​(IndexedMatrixValue data, double max, boolean rows, boolean cast, boolean ignore, long blen, ArrayList<IndexedMatrixValue> outList)` | MR/Spark rexpand operation (single input, multiple outputs incl empty blocks)
    `static void` | LibMatrixReorg.`rmempty​(IndexedMatrixValue data, IndexedMatrixValue offset, boolean rmRows, long len, long blen, ArrayList<IndexedMatrixValue> outList)` | MR rmempty interface - for rmempty we cannot view blocks independently, and hence, there are different CP and MR interfaces.
    `void` | CM_N_COVCell.`slice​(ArrayList<IndexedMatrixValue> outlist, IndexRange range, int rowCut, int colCut, int blen, int boundaryRlen, int boundaryClen)` |
    `void` | MatrixBlock.`slice​(ArrayList<IndexedMatrixValue> outlist, IndexRange range, int rowCut, int colCut, int blen, int boundaryRlen, int boundaryClen)` |
    `void` | MatrixCell.`slice​(ArrayList<IndexedMatrixValue> outlist, IndexRange range, int rowCut, int colCut, int blen, int boundaryRlen, int boundaryClen)` |
    `abstract void` | MatrixValue.`slice​(ArrayList<IndexedMatrixValue> outlist, IndexRange range, int rowCut, int colCut, int blen, int boundaryRlen, int boundaryClen)` | Slice out up to 4 matrixBlocks that are separated by the row and col Cuts.

  - ### Uses of IndexedMatrixValue in org.apache.sysds.runtime.util

    Methods in org.apache.sysds.runtime.util with parameters of type IndexedMatrixValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `static IndexRange` | UtilFunctions.`getSelectedRangeForZeroOut​(IndexedMatrixValue in, int blen, IndexRange indexRange)` |