|
|
|
|
|
__init__(self,
kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
__processTokens(self,
allnames,
specialtokens,
specstr,
var_arrayixstr,
aux_arrayixstr,
parsinps_names,
parsinps_arrayixstr,
specname,
ignoreothers=False,
doing_inserts=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_genSpecFnC(self,
funcname,
reusestr,
specnames,
pardefines,
vardefines,
inpdefines,
parundefines,
varundefines,
inpundefines,
docodeinserts) |
source code
|
|
|
_genSpecFnMatlab(self,
funcname,
reusestr,
specnames,
pardefines,
vardefines,
docodeinserts) |
source code
|
|
|
_genSpecFnPy(self,
name,
specstr,
resname,
specnames,
docodeinserts=False) |
source code
|
|
|
|
|
|
|
|
|
_macroFor(self,
rootstr,
istr,
ilo,
ihi,
expr_in_i)
Internal utility function to build multiple instances of expression
'expr_in_i' where integer i has been substituted for values from ilo
to ihi. |
source code
|
|
|
|
|
_parseReusedTermsPy(self,
d,
symbol_ixs,
specials=[ ] ,
dovars=True,
dopars=True,
doinps=True,
illegal=[ ] )
Process dictionary of reused term definitions (in spec syntax). |
source code
|
|
|
|
|
|
|
|
|
_processReusedC(self,
specnames,
specdict)
Process reused subexpression terms for C code. |
source code
|
|
|
_processReusedMatlab(self,
specnames,
specdict)
Process reused subexpression terms for Matlab code. |
source code
|
|
|
_processReusedPy(self,
specnames,
specdict,
specials=[ ] ,
dovars=True,
dopars=True,
doinps=True,
illegal=[ ] )
Process reused subexpression terms for Python code. |
source code
|
|
|
_processSpecialC(self,
specStr)
Pre-process 'if' statements and names of 'abs' and 'sign' functions,
as well as logical operators. |
source code
|
|
|
_specStrParse(self,
specnames,
specdict,
resname='
' ,
specials=[ ] ,
dovars=True,
dopars=True,
doinps=True,
noreturndefs=False,
forexternal=False,
illegal=[ ] ,
ignoreothers=False,
doing_inserts=False) |
source code
|
|
|
|
|
|
|
generateSpec(self)
Automatically generate callable target-language functions from the
user-defined specification strings. |
source code
|
|
|
|
|
|
|
validateDef(self,
vars,
pars,
inputs,
auxvars,
auxfns)
Validate definition of the functional specification. |
source code
|
|
|
validateDependencies(self,
dependencies)
Validate the stored dependency pairs for self-consistency. |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|