source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/inv_posdef.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 202 bytes
Line 
1function x = inv_posdef(A)
2% INV_POSDEF        Invert positive definite matrix.
3% INV_POSDEF(A) is like INV(A) but faster and more numerically stable.
4
5U = chol(A);
6iU = inv_triu(U);
7x = iU*iU';
Note: See TracBrowser for help on using the repository browser.