## Uses of Class
org.apache.sysds.runtime.functionobjects.IndexFunction

- Packages that use IndexFunction
  Package | Description
  --- | ---
  org.apache.sysds.runtime.functionobjects |
  org.apache.sysds.runtime.matrix.operators |

- - ### Uses of IndexFunction in org.apache.sysds.runtime.functionobjects

    Subclasses of IndexFunction in org.apache.sysds.runtime.functionobjects
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DiagIndex` |
    `class` | `OffsetColumnIndex` |
    `class` | `ReduceAll` |
    `class` | `ReduceCol` |
    `class` | `ReduceDiag` |
    `class` | `ReduceRow` |
    `class` | `RevIndex` |
    `class` | `SortIndex` | This index function is NOT used for actual sorting but just as a reference in ReorgOperator in order to identify sort operations.
    `class` | `SwapIndex` |

  - ### Uses of IndexFunction in org.apache.sysds.runtime.matrix.operators

    Fields in org.apache.sysds.runtime.matrix.operators declared as IndexFunction
    Modifier and Type | Field | Description
    --- | --- | ---
    `IndexFunction` | ReorgOperator.`fn` |
    `IndexFunction` | AggregateTernaryOperator.`indexFn` |
    `IndexFunction` | AggregateUnaryOperator.`indexFn` |

    Methods in org.apache.sysds.runtime.matrix.operators that return IndexFunction
    Modifier and Type | Method | Description
    --- | --- | ---
    `IndexFunction` | CountDistinctOperator.`getIndexFunction()` |

    Methods in org.apache.sysds.runtime.matrix.operators with parameters of type IndexFunction
    Modifier and Type | Method | Description
    --- | --- | ---
    `ReorgOperator` | ReorgOperator.`setFn​(IndexFunction fn)` |
    `CountDistinctOperator` | CountDistinctOperator.`setIndexFunction​(IndexFunction indexFunction)` |

    Constructors in org.apache.sysds.runtime.matrix.operators with parameters of type IndexFunction
    Constructor | Description
    --- | ---
    `AggregateTernaryOperator​(ValueFunction inner, AggregateOperator outer, IndexFunction ixfun)` |
    `AggregateTernaryOperator​(ValueFunction inner, AggregateOperator outer, IndexFunction ixfun, int numThreads)` |
    `AggregateUnaryOperator​(AggregateOperator aop, IndexFunction iop)` |
    `AggregateUnaryOperator​(AggregateOperator aop, IndexFunction iop, int numThreads)` |
    `CountDistinctOperator​(CountDistinctOperatorTypes operatorType, IndexFunction indexFunction, Hash.HashType hashType)` |
    `ReorgOperator​(IndexFunction p)` |
    `ReorgOperator​(IndexFunction p, int numThreads)` |