help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: least square solution of b = A * x with a very huge A matrix


From: andrea console
Subject: Re: least square solution of b = A * x with a very huge A matrix
Date: Sun, 2 Jun 2013 15:00:51 +0200

Thank you Pascal.
As I see, I have a lot of iterative techniques for resolving a linear problem. How can I choose the better one for my particular system? And what about preconditioning matrix?


2013/6/1 CdeMills <address@hidden>
andrea console wrote
> Hi to all,
> I'm not a mathematician, but I have to solve this A*x=b problem. Since I'm
> working with high resolution "fit" files (images), the related matrices
> are
> very huge but sparse. I tried x = A\b, but it  gives the error: "SparseQR:
> sparse matrix QR factorization filled" that I don't understand.

If the direct method (i.e. using kind-of inversion) doesn't work, you have
alternatives with iterative methods. There are a number of variations around
the conjugate gradient method: bi-conjugate, ... Have a look at cgs, bicg,
bicgstab info pages. The difficult point is to find a good preconditionner;
Octave still lacks ilu (non-symmetric A) and ichol (symetric A), but work is
ongoing. If your matrix is diagonal dominant, a simple choice is
diag(sqrt(diag(A)))

Regards

Pascal



--
View this message in context: http://octave.1599824.n4.nabble.com/least-square-solution-of-b-A-x-with-a-very-huge-A-matrix-tp4653402p4653600.html
Sent from the Octave - General mailing list archive at Nabble.com.
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]