Class SparseMatrixFactory

    • Constructor Detail

      • SparseMatrixFactory

        public SparseMatrixFactory()
      • SparseMatrixFactory

        public SparseMatrixFactory​(double rgrowthThreshold)
    • Method Detail

      • create

        public SparseMatrix create​(int rowCount,
                                   int columnCount,
                                   int estimatedNonZeroValueCount)
        Description copied from interface: MatrixFactory
        Create a matrix with m rows and n column. An estimation of the number of non zero values may be provided for internal capacity reservation.
        Specified by:
        create in interface MatrixFactory
        Parameters:
        rowCount - row count
        columnCount - column count
        estimatedNonZeroValueCount - estimation of non zero values
        Returns:
        a matrix with rowCount rows and columnCount columns