## Uses of Class
org.apache.sysds.runtime.data.SparseBlock.Type

- Packages that use SparseBlock.Type
  Package | Description
  --- | ---
  org.apache.sysds.runtime.compress |
  org.apache.sysds.runtime.data |
  org.apache.sysds.runtime.instructions.spark.functions |
  org.apache.sysds.runtime.matrix.data |

- - ### Uses of SparseBlock.Type in org.apache.sysds.runtime.compress

    Methods in org.apache.sysds.runtime.compress with parameters of type SparseBlock.Type
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CompressedMatrixBlock.`allocateAndResetSparseBlock​(boolean clearNNZ, SparseBlock.Type stype)` |

  - ### Uses of SparseBlock.Type in org.apache.sysds.runtime.data

    Fields in org.apache.sysds.runtime.data declared as SparseBlock.Type
    Modifier and Type | Field | Description
    --- | --- | ---
    `static SparseBlock.Type` | BasicTensorBlock.`DEFAULT_SPARSEBLOCK` |

    Methods in org.apache.sysds.runtime.data that return SparseBlock.Type
    Modifier and Type | Method | Description
    --- | --- | ---
    `static SparseBlock.Type` | SparseBlockFactory.`getSparseBlockType​(SparseBlock sblock)` |
    `static SparseBlock.Type` | SparseBlock.Type.`valueOf​(String name)` | Returns the enum constant of this type with the specified name.
    `static SparseBlock.Type[]` | SparseBlock.Type.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.apache.sysds.runtime.data with parameters of type SparseBlock.Type
    Modifier and Type | Method | Description
    --- | --- | ---
    `static SparseBlock` | SparseBlockFactory.`copySparseBlock​(SparseBlock.Type type, SparseBlock sblock, boolean forceCopy)` |
    `static SparseBlock` | SparseBlockFactory.`createSparseBlock​(SparseBlock.Type type, int rlen)` |
    `static SparseBlock` | SparseBlockFactory.`createSparseBlock​(SparseBlock.Type type, SparseRow row)` |
    `static long` | SparseBlockFactory.`estimateSizeSparseInMemory​(SparseBlock.Type type, long nrows, long ncols, double sparsity)` |
    `static boolean` | SparseBlockFactory.`isSparseBlockType​(SparseBlock sblock, SparseBlock.Type type)` |

  - ### Uses of SparseBlock.Type in org.apache.sysds.runtime.instructions.spark.functions

    Constructors in org.apache.sysds.runtime.instructions.spark.functions with parameters of type SparseBlock.Type
    Constructor | Description
    --- | ---
    `CreateSparseBlockFunction​(SparseBlock.Type stype)` |

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

    Fields in org.apache.sysds.runtime.matrix.data declared as SparseBlock.Type
    Modifier and Type | Field | Description
    --- | --- | ---
    `static SparseBlock.Type` | MatrixBlock.`DEFAULT_INPLACE_SPARSEBLOCK` |
    `static SparseBlock.Type` | MatrixBlock.`DEFAULT_SPARSEBLOCK` |

    Methods in org.apache.sysds.runtime.matrix.data with parameters of type SparseBlock.Type
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | MatrixBlock.`allocateAndResetSparseBlock​(boolean clearNNZ, SparseBlock.Type stype)` |
    `static long` | MatrixBlock.`estimateSizeSparseInMemory​(long nrows, long ncols, double sparsity, SparseBlock.Type stype)` |
    `long` | MatrixBlock.`estimateSizeSparseInMemory​(SparseBlock.Type stype)` |

    Constructors in org.apache.sysds.runtime.matrix.data with parameters of type SparseBlock.Type
    Constructor | Description
    --- | ---
    `MatrixBlock​(MatrixBlock that, SparseBlock.Type stype, boolean deep)` |