Interface AdjustableLinearSolver_FDRM

  • All Superinterfaces:
    org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.FMatrixRMaj,​org.ejml.data.FMatrixRMaj>, org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.FMatrixRMaj>
    All Known Implementing Classes:
    AdjLinearSolverQr_FDRM

    public interface AdjustableLinearSolver_FDRM
    extends org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.FMatrixRMaj>
    In many situations solutions to linear systems that share many of the same data points are needed. This can happen when solving using the most recent data or when rejecting outliers. In these situations it is possible to solve these related systems much faster than solving the entire data set again.
    See Also:
    LinearSolverDense
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean addRowToA​(float[] A_row, int rowIndex)
      Adds a row to A.
      boolean removeRowFromA​(int index)
      Removes a row from A.
      • Methods inherited from interface org.ejml.interfaces.linsol.LinearSolver

        getDecomposition, modifiesA, modifiesB, quality, setA, solve
      • Methods inherited from interface org.ejml.interfaces.linsol.LinearSolverDense

        invert
    • Method Detail

      • addRowToA

        boolean addRowToA​(float[] A_row,
                          int rowIndex)
        Adds a row to A. This has the same effect as creating a new A and calling LinearSolver.setA(S).
        Parameters:
        A_row - The row in A.
        rowIndex - Where the row appears in A.
        Returns:
        if it succeeded or not.
      • removeRowFromA

        boolean removeRowFromA​(int index)
        Removes a row from A. This has the same effect as creating a new A and calling LinearSolver.setA(S).
        Parameters:
        index - which row is removed from A.
        Returns:
        If it succeeded or not.