|
|
API = API_class()
|
|
|
Continuous = Continuous Domain
|
|
|
Discrete = Discrete Domain
|
|
|
LargestInt32 = 2147483647
|
|
|
NAMESEP = '.'
|
|
|
ONES = ['1', '1.0', '1.', '(1)', '(1.0)', '(1.)']
|
|
|
ZEROS = ['0', '0.0', '0.', '(0)', '(0.0)', '(0.)']
|
|
|
_1DimplicitSolveMethods = ['newton', 'bisect', 'steffe']
|
|
|
_all_complex = (<type 'complex'>, <type 'numpy.complexfloating...
|
|
|
_all_float = (<type 'float'>, <type 'numpy.floating'>, <type '...
|
|
|
_all_int = (<type 'int'>, <type 'numpy.integer'>, <type 'numpy...
|
|
|
_all_numpy_complex = (<type 'numpy.complex128'>, <type 'numpy....
|
|
|
_all_numpy_float = (<type 'numpy.float64'>, <type 'numpy.float...
|
|
|
_all_numpy_int = (<type 'numpy.int32'>, <type 'numpy.int32'>, ...
|
|
|
_complex_types = (<type 'complex'>, <type 'numpy.complexfloati...
|
|
|
_float_types = (<type 'float'>, <type 'numpy.floating'>)
|
|
|
_implicitSolveMethods = ['newton', 'bisect', 'steffe', 'fsolve']
|
|
|
_indentstr = ' '
|
|
|
_int_types = (<type 'int'>, <type 'numpy.integer'>)
|
|
|
_num_equivtype = {<type 'float'>: <type 'numpy.float64'>, <typ...
|
|
|
_num_maxmin = {<type 'numpy.int32'>: [-2147483648, 2147483647]...
|
|
|
_num_name2equivtypes = {'float': (<type 'float'>, <type 'numpy...
|
|
|
_num_name2type = {'float': <type 'numpy.float64'>, 'int': <typ...
|
|
|
_num_type2name = {<type 'float'>: 'float', <type 'int'>: 'int'...
|
|
|
_num_types = (<type 'float'>, <type 'int'>, <type 'numpy.float...
|
|
|
_pytypefromtype = {<type 'numpy.int32'>: <type 'int'>, <type '...
|
|
|
_real_types = (<type 'int'>, <type 'numpy.integer'>, <type 'fl...
|
|
|
_seq_types = (<type 'list'>, <type 'tuple'>, <type 'numpy.ndar...
|
|
|
builtinFnSigInfo = {'for': 4, 'getbound': 2, 'getindex': 1, 'g...
|
|
|
builtin_auxnames = ['globalindepvar', 'initcond', 'heav', 'if'...
|
|
|
name_chars_RE = re.compile(r'\w')
|
|
|
null_predicate = null_predicate_class(None)
|
|
|
num_chars = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
|
|
|
protected_allnames = ['acos', 'asin', 'atan', 'atan2', 'ceil',...
|
|
|
protected_auxnamesDB = ModelSpec internal helper class: auxfnD...
|
|
|
protected_macronames = ['for', 'if', 'max', 'min', 'sum']
|
|
|
protected_mathnames = ['acos', 'asin', 'atan', 'atan2', 'ceil'...
|
|
|
protected_randomnames = ['BPF', 'LOG4', 'NV_MAGICCONST', 'RECI...
|
|
|
protected_scipynames = ['sign', 'mod']
|
|
|
protected_specialfns = ['special_airy', 'special_airye', 'spec...
|
|
|
syms = {0: 'ENDMARKER', 1: 'NAME', 2: 'NUMBER', 3: 'STRING', 4...
|
|
|
targetLangs = ['c', 'python', 'matlab']
|