Module ojalgo

Interface MatrixDecomposition.Factory<D extends MatrixDecomposition<?>>

    • Method Detail

      • make

        default D make()
        Will create a new decomposition instance suitable for typical/most cases.

        To calculate the decomposition you then need to call the decompose(Access2D.Collectable) method.

        Returns:
        A "decomposer" ready to decompose matrices.
      • make

        default D make​(int nbRows,
                       int nbCols)
        Will create a new decomposition instance suitable for matrices of the specified size.

        To calculate the decomposition you then need to call the decompose(Access2D.Collectable) method.

        Parameters:
        nbRows - The expected number of rows in the matrices to decompose
        nbCols - The expected number of columns in the matrices to decompose
        Returns:
        A "decomposer" ready to decompose matrices.
      • make

        D make​(Structure2D typical)
        Will create a new decomposition instance suitable for matrices of the specified size.

        To calculate the decomposition you then need to call the decompose(Access2D.Collectable) method.

        Parameters:
        typical - A 2D structure of roughly the expected size with which this decomposition will be used.
        Returns:
        A "decomposer" ready to decompose matrices.