Class DoubleQRDecompositionResult

java.lang.Object
rocks.palaiologos.maja.matrix.DoubleQRDecompositionResult

public class DoubleQRDecompositionResult extends Object
The result of QR decomposition.
Author:
Palaiologos
  • Constructor Details

  • Method Details

    • solve

      public DoubleMatrix solve(DoubleMatrix B)
      Least squares solution of A*X = B.
      Parameters:
      B -
      Returns:
      X that minimizes the two norm of Q*R*X-B.
      Throws:
      IllegalArgumentException - If matrix row dimensions don't agree or the matrix is rank deficient.
    • q

      public DoubleMatrix q()
      The Q matrix.
    • r

      public DoubleMatrix r()
      The R matrix.
    • h

      public DoubleMatrix h()
      The householder matrix; lower trapezoidal matrix whose columns define the reflections.
    • fullrank

      public boolean fullrank()
      True if the matrix is full rank.