Mercurial > octave-nkf
comparison scripts/general/isdefinite.m @ 5642:2618a0750ae6
[project @ 2006-03-06 21:26:48 by jwe]
author | jwe |
---|---|
date | Mon, 06 Mar 2006 21:26:54 +0000 |
parents | 4c8a2e4e0717 |
children | 34f96dd5441b |
comparison
equal
deleted
inserted
replaced
5641:eb998631a4aa | 5642:2618a0750ae6 |
---|---|
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {} isdefinite (@var{x}, @var{tol}) | 21 ## @deftypefn {Function File} {} isdefinite (@var{x}, @var{tol}) |
22 ## Return 1 if @var{x} is symmetric positive definite within the | 22 ## Return 1 if @var{x} is symmetric positive definite within the |
23 ## tolerance specified by @var{tol} or 0 if @var{x} is symmetric | 23 ## tolerance specified by @var{tol} or 0 if @var{x} is symmetric |
24 ## positive semidefinite. Otherwise, return -1. If @var{tol} | 24 ## positive semidefinite. Otherwise, return -1. If @var{tol} |
25 ## is omitted, use a tolerance equal to 100 times the machine precision. | 25 ## is omitted, use a tolerance equal to 100 times the machine precision. |
26 ## @seealso{issymmetric} | |
26 ## @end deftypefn | 27 ## @end deftypefn |
27 ## | |
28 ## @seealso{issymmetric} | |
29 | 28 |
30 ## Author: Gabriele Pannocchia <g.pannocchia@ing.unipi.it> | 29 ## Author: Gabriele Pannocchia <g.pannocchia@ing.unipi.it> |
31 ## Created: November 2003 | 30 ## Created: November 2003 |
32 ## Adapted-By: jwe | 31 ## Adapted-By: jwe |
33 | 32 |