Interface MatrixFactory

All Known Implementing Classes:
DenseMatrixFactory, SparseMatrixFactory

public interface MatrixFactory
Interface for matrix factory.
Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
  • Method Summary

    Modifier and Type
    Method
    Description
    create(int rowCount, int columnCount, int estimatedValueCount)
    Create a matrix with m rows and n column.
  • Method Details

    • create

      Matrix create(int rowCount, int columnCount, int estimatedValueCount)
      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.
      Parameters:
      rowCount - row count
      columnCount - column count
      estimatedValueCount - estimated number of values
      Returns:
      a matrix with rowCount rows and columnCount columns