help-octave
[Top][All Lists]
Advanced

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

Re: Memory exhausted when using \


From: Martin Helm
Subject: Re: Memory exhausted when using \
Date: Mon, 16 Jul 2012 17:34:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120601 Thunderbird/13.0

Am 16.07.2012 16:54, schrieb Martin Helm:
> You could try this one from Stanford University
> http://www.stanford.edu/group/SOL/software/lsqr/matlab/lsqrSOL.zip it
> is free software dual licensed under OSI Common Public License (CPL)
> http://www.opensource.org/licenses/cpl1.0.php or the BSD License
> http://www.opensource.org/licenses/bsd-license.php I do not know if
> it runs out of the box or need adjustments, it looks promising from a
> first look at the help text.

Ran that now with a trivial example to see if it works at all in octave

a = rand(20,10);
b=rand(20,1);
x = lsqrSOL(20, 10, a, b, 0, 1e-9, 1e-9, 1e8, 1000, 1);
max(abs(x-a\b))
ans =  1.8536e-15

I will investigate this evening how the call syntax can be simplified,
at least the dimensions are not needed as long as a is a matrix and for
the other parameters except a and b defaults would be fine and a few
tests on performance and resource use.

The test script fails since it uses nested functions, needs to be changed.




reply via email to

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