- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have some code where I am generating matrices using a MCMC method. I require that all my matrices are positive definite so I want to be able to test this and if they fail to reject that sample.
So I'm looking for the quickest way to test small matrices to see if they're positive definite.
Does anyone have a recommendation?
Jeremy
I have some code where I am generating matrices using a MCMC method. I require that all my matrices are positive definite so I want to be able to test this and if they fail to reject that sample.
So I'm looking for the quickest way to test small matrices to see if they're positive definite.
Does anyone have a recommendation?
Jeremy
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jeremy,
I'd suggest you to try if Cholesky factorization succeed (see dpotrf function and friends in MKL).
Dima

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page