Show
Ignore:
Timestamp:
03/15/08 03:57:42 (9 months ago)
Author:
dmitrey.kroshko
Message:

some changes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openopt/scikits/openopt/examples/checkDerivatives.py

    r904 r905  
    3737p.checkdc() 
    3838p.checkdh() 
    39 # you can use p.checkdF(x) for other point than x0 (F is f, c or h) 
     39""" 
     40you can use p.checkdF(x) for other point than x0 (F is f, c or h) 
     41p.checkdc(myX) 
     42or 
     43p.checkdc(x=myX) 
     44values with difference greater than  
     45maxViolation (default 1e-5) 
     46will be shown 
     47p.checkdh(maxViolation=1e-4) 
     48p.checkdh(myX, maxViolation=1e-4) 
     49p.checkdh(x=myX, maxViolation=1e-4) 
     50""" 
     51 
    4052 
    4153# if you'll use solvers that use derivatives,