[SciPy-user] most negative eigenvalue

dmitrey openopt@ukr....
Tue Aug 28 08:57:01 CDT 2007


Yes, I already use
try:
  cholesky(A)
except:
  ...
but it makes impossible to use debugger, that is very bad.

is the symeig a part of scipy?
I didn't see that one...

D.





Nils Wagner wrote:
> On Tue, 28 Aug 2007 16:40:06 +0300
>   dmitrey <openopt@ukr.net> wrote:
>   
>> hi all,
>> what's the best way to solve the problem:
>>
>> A - symmetric real matrix.
>> I need to find is A positive-definite, and if not, I 
>> need to know what's 
>> the most negative eigenvalue does it has?
>>
>> Thank you in advance, D.
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user@scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>     
>
>   
> You may use linalg.cholesky.
> If A is not spd it will return an error.
> Then you can use symeig to compute the leftmost 
> eigenvalue.
>
> Cheers,
>              Nils
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
>
>
>   



More information about the SciPy-user mailing list