Mercurial > octave-nkf
comparison src/DLD-FUNCTIONS/chol.cc @ 12728:a17269b1148f stable
maint: undo unintended change removing deprecated functions
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 09 Jun 2011 13:35:10 -0400 |
parents | b7d0d6044bd7 |
children | d6bd2f2c35cc |
comparison
equal
deleted
inserted
replaced
12727:40b16bb69fec | 12728:a17269b1148f |
---|---|
491 %! Ainv2 = inv(sparse(A)); | 491 %! Ainv2 = inv(sparse(A)); |
492 %! assert (norm(Ainv-Ainv2),0,1e-10) | 492 %! assert (norm(Ainv-Ainv2),0,1e-10) |
493 %!testif HAVE_CHOLMOD | 493 %!testif HAVE_CHOLMOD |
494 %! Ainv3 = cholinv(sparse(A)); | 494 %! Ainv3 = cholinv(sparse(A)); |
495 %! assert (norm(Ainv-Ainv3),0,1e-10) | 495 %! assert (norm(Ainv-Ainv3),0,1e-10) |
496 %!testif HAVE_CHOLMOD | |
497 %! Ainv4 = spcholinv(sparse(A)); | |
498 %! assert (norm(Ainv-Ainv4),0,1e-10) | |
496 | 499 |
497 */ | 500 */ |
498 | 501 |
499 DEFUN_DLD (chol2inv, args, , | 502 DEFUN_DLD (chol2inv, args, , |
500 "-*- texinfo -*-\n\ | 503 "-*- texinfo -*-\n\ |