Module ojalgo

Interface MatrixDecomposition.Updatable<N extends java.lang.Comparable<N>>

    • Method Detail

      • updateColumn

        boolean updateColumn​(int columnIndex,
                             Access1D.Collectable<N,​? super TransformableRegion<N>> newColumn)
        Updates the decomposition when a column in the original matrix is replaced.

        This method can only be called after an initial decomposition has been calculated.

        If the updatable decomposition is a MatrixDecomposition.Solver then this method should only return true if MatrixDecomposition.Solver.isSolvable() is true after the update.

        Parameters:
        columnIndex - The index of the column, in the original matrix, to replace
        newColumn - The new column values
        Returns:
        true if update was successful, false if not.