Package PyDSTool :: Package Toolbox :: Package optimizers :: Package helpers :: Module finite_difference :: Class ForwardFiniteDifferencesCache
[hide private]
[frames] | no frames]

Class ForwardFiniteDifferencesCache

source code

               object --+        
                        |        
FiniteDifferencesFunction --+    
                            |    
       FiniteDifferencesCache --+
                                |
                               ForwardFiniteDifferencesCache
Known Subclasses:

A function that will be able to computes its derivatives with a forward difference formula.

Instance Methods [hide private]
 
jacobian(self, params, extra_args=None)
Computes the jacobian of the function
source code
 
gradient(self, params)
Computes the gradient of the function
source code
 
hessian(self, params)
Computes the hessian of the function approximated by J^T * T
source code

Inherited from FiniteDifferencesCache: __call__, __init__, residual

Inherited from FiniteDifferencesCache (private): _res_fn

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__