Re: Testing for Positive Definiteness




In article <hKtCf.19510$Kt5.5323@xxxxxxxxxxxxxxxxxxxx>,
"Jeremy Watts" <jwatts1970@xxxxxxxxxxx> writes:
>
><mhill37@xxxxxxxxxxx> wrote in message
>news:1138337286.183802.299440@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> Hello.
>>
>> I am wondering what is the easiest (in terms of computational effort)
>> way to determine if a matrix is positive definite. I am dealing with
>> symmetric matrices, and I know that one trait of a positive definite
>> matrix is that all its eigenvalues are positive. But rather than
>> compute all eigenvalues and then check to see if they are all greater
>> than zero, is there an easier way?
>
>Yes , carry out an LU decomposition and if the numbers along the diagonal of

w i t h o u t p i v o t i n g or with symmetric row/column interchanges !!!

hth
peter

better: -> lapack




>the upper triangular matrix are real and positive then the matrix is
>positive definite
>>
>> Regards,
>>
>>
>> Michael
>>
>
>
.



Relevant Pages

  • Re: Testing for Positive Definiteness
    ... > I am wondering what is the easiest (in terms of computational effort) ... > matrix is that all its eigenvalues are positive. ... the upper triangular matrix are real and positive then the matrix is ...
    (sci.math.num-analysis)
  • Testing for Positive Definiteness
    ... I am wondering what is the easiest (in terms of computational effort) ... I am dealing with ... symmetric matrices, and I know that one trait of a positive definite ... matrix is that all its eigenvalues are positive. ...
    (sci.math.num-analysis)