Package PyDSTool :: Package PyCont :: Module TestFunc :: Class TestFunc
[hide private]
[frames] | no frames]

Class TestFunc

source code

object --+    
         |    
  Function --+
             |
            TestFunc
Known Subclasses:

You need to define the function yourself within an inherited class.

Instance Methods [hide private]
 
__init__(self, (n, m), F, C, save=False, numpoints=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
findzero(self, P1, P2, ind)
Uses secant method to find zero of test function.
source code
 
diff(self, x0, ind=None)
This is recreated from Function class above for TestFunc class.
source code

Inherited from Function: __call__, __getitem__, __setitem__, numhess

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, (n, m), F, C, save=False, numpoints=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

findzero(self, P1, P2, ind)

source code 

Uses secant method to find zero of test function.

Overrides: Function.findzero

diff(self, x0, ind=None)

source code 

This is recreated from Function class above for TestFunc class. Why, you ask? Because for test functions, the jacobian of the parent function F needs to be computed before every test function call. Unforunately, this slows things down, but that is unavoidable.

Overrides: Function.diff