Class OpenMapRealMatrix

java.lang.Object
org.apache.commons.math.linear.AbstractRealMatrix
org.apache.commons.math.linear.OpenMapRealMatrix
All Implemented Interfaces:
Serializable, AnyMatrix, RealMatrix, SparseRealMatrix

public class OpenMapRealMatrix extends AbstractRealMatrix implements SparseRealMatrix, Serializable
Sparse matrix implementation based on an open addressed map.
Since:
2.0
See Also:
  • Constructor Details

    • OpenMapRealMatrix

      public OpenMapRealMatrix(int rowDimension, int columnDimension)
      Build a sparse matrix with the supplied row and column dimensions.
      Parameters:
      rowDimension - number of rows of the matrix
      columnDimension - number of columns of the matrix
    • OpenMapRealMatrix

      public OpenMapRealMatrix(OpenMapRealMatrix matrix)
      Build a matrix by copying another one.
      Parameters:
      matrix - matrix to copy
  • Method Details