source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/inv_posdef.m
@
177
Last change on this file since 177 was 37, checked in by , 15 years ago | |
---|---|
File size: 202 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function 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 | ||
5 | U = chol(A); | |
6 | iU = inv_triu(U); | |
7 | x = iU*iU'; |
Note: See TracBrowser
for help on using the repository browser.