Navigation

Operators and Keywords

Function List:

C++ API

isdefinite.m File Reference


Functions

 if (sym > 0) mineig
 if (mineig > tol) retval
 elseif (mineig >-tol) retval=0
endif else error ("isdefinite: matrix x must be symmetric")
endif else print_usage ()

Variables

function retval
else tol = 100*eps
endif endif sym = issymmetric (x, tol)

Function Documentation

elseif ( mineig  ,
tol 
) [pure virtual]

endif else error ( "isdefinite: matrix x must be symmetric"   ) 

if ( mineig  ,
tol   
)

if ( sym  ,
 
)

endif else print_usage (  ) 


Variable Documentation

else retval

Initial value:

 isdefinite (x, tol)

  if (nargin == 1 || nargin == 2)
    if (nargin == 1)
      if (isa (x, "single"))
        tol = 100 * eps("single")

endif endif sym = issymmetric (x, tol)

else tol = 100*eps