Quantcast
Channel: linear – Zintegra
Viewing all articles
Browse latest Browse all 9

x = A b; in Matlab

$
0
0

x = A b;

  1. Is A square?
    no => use QR to solve least squares problem.
  2. Is A triangular or permuted triangular?
    yes => sparse triangular solve
  3. Is A symmetric with positive diagonal elements?
    yes => attempt Cholesky after symmetric minimum degree.
  4. Otherwise
    => use LU on A (:, colamd(A))


Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images