[SciPy-user] most negative eigenvalue

dmitrey openopt at ukr.net
Tue Aug 28 09:57:01 EDT 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 at 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 at 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 at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
>
>
>   




More information about the SciPy-User mailing list