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

All Superinterfaces:
MatrixDecomposition<N>, Structure1D, Structure2D
All Known Subinterfaces:
LU<N>, QR<N>
All Known Implementing Classes:
DenseLU, DenseLU.C128, DenseLU.H256, DenseLU.Q128, DenseLU.R064, DenseLU.R128, DenseQR, DenseQR.C128, DenseQR.H256, DenseQR.Q128, DenseQR.R064, DenseQR.R128, RawLU, RawQR, SparseLU
Enclosing interface:
MatrixDecomposition<N extends Comparable<N>>

public static interface MatrixDecomposition.Updatable<N extends Comparable<N>> extends MatrixDecomposition<N>
  • Method Details

    • 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.