Class DenseMatrixFactory

    • Constructor Detail

      • DenseMatrixFactory

        public DenseMatrixFactory()
    • Method Detail

      • create

        public DenseMatrix 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