Class DoubleLUPDecompositionResult

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

public class DoubleLUPDecompositionResult extends Object
The result of LUP decomposition.
  • Constructor Details

    • DoubleLUPDecompositionResult

      public DoubleLUPDecompositionResult(DoubleMatrix lower, DoubleMatrix upper, int[] permutation, boolean nonsingular, double determinant, int n, int m, DoubleMatrix LU)
  • Method Details

    • solve

      public DoubleMatrix solve(DoubleMatrix B)
      Solve A * X = B.
      Returns:
      X s.t. L * U * X = B(piv, :)
    • lower

      public DoubleMatrix lower()
      Get the lower triangular matrix.
    • upper

      public DoubleMatrix upper()
      Get the upper triangular matrix.
    • permutation

      public int[] permutation()
      Get the permutation/pivot vector.
    • nonsingular

      public boolean nonsingular()
      True whether the matrix is nonsingular.
    • determinant

      public double determinant()
      Get the determinant of the matrix.
      Returns: