Package PyDSTool :: Package Generator :: Module DDEsystem
[hide private]
[frames] | no frames]

Source Code for Module PyDSTool.Generator.DDEsystem

 1  # Differential-delay system (incomplete)
 
 2  
 
 3  from allimports import * 
 4  from baseclasses import ctsGen 
 5  from PyDSTool.utils import * 
 6  from PyDSTool.common import * 
 7  
 
 8  # Other imports
 
 9  from numpy import Inf, NaN, isfinite, sometrue, alltrue, array 
10  import math, random 
11  from copy import copy, deepcopy 
12  try: 
13      # use pscyo JIT byte-compiler optimization, if available
 
14      import psyco 
15      HAVE_PSYCO = True 
16  except ImportError: 
17      HAVE_PSYCO = False 
18  
 
19  # -----------------------------------------------------------------------------
 
20  
 
21 -class DDEsystem(ctsGen):
22 """Delay-differential equations. 23 24 (incomplete)""" 25 26 # spec of initial condition _interval_ will be interesting! 27 # Use a Variable trajectory over that interval?
28 - def __init__(self, kw):
29 ctsGen.__init__(self, kw) 30 raise NotImplementedError
31 32
33 - def validateSpec(self):
35 36
37 - def __del__(self):
38 ctsGen.__del__(self)
39