Package com.powsybl.math.matrix
Class DenseMatrixFactory
- java.lang.Object
-
- com.powsybl.math.matrix.DenseMatrixFactory
-
- All Implemented Interfaces:
MatrixFactory
public class DenseMatrixFactory extends Object implements MatrixFactory
Dense matrix factory.- Author:
- Geoffroy Jamgotchian
- See Also:
DenseMatrix
-
-
Constructor Summary
Constructors Constructor Description DenseMatrixFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DenseMatrix
create(int rowCount, int columnCount, int estimatedNonZeroValueCount)
Create a matrix with m rows and n column.
-
-
-
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 interfaceMatrixFactory
- Parameters:
rowCount
- row countcolumnCount
- column countestimatedNonZeroValueCount
- estimation of non zero values- Returns:
- a matrix with
rowCount
rows andcolumnCount
columns
-
-