pynestml.codegeneration package

Submodules

pynestml.codegeneration.ast_transformers module

pynestml.codegeneration.autodoc_codegenerator module

pynestml.codegeneration.codegenerator module

pynestml.codegeneration.cpp_types_printer module

class pynestml.codegeneration.cpp_types_printer.CppTypesPrinter

Bases: pynestml.codegeneration.types_printer.TypesPrinter

Returns a C++ syntax version of the handed over element.

classmethod pretty_print(element)

pynestml.codegeneration.debug_type_converter module

pynestml.codegeneration.expressions_pretty_printer module

pynestml.codegeneration.gsl_names_converter module

pynestml.codegeneration.gsl_reference_converter module

pynestml.codegeneration.i_reference_converter module

class pynestml.codegeneration.i_reference_converter.IReferenceConverter

Bases: object

This class represents a abstract super class for all possible reference converters, e.g. for nest, SpiNNaker or LEMS.

abstract convert_arithmetic_operator(op)
abstract convert_binary_op(binary_operator)
abstract convert_bit_operator(op)
abstract convert_comparison_operator(op)
abstract convert_constant(constant_name)
abstract convert_encapsulated()
abstract convert_function_call(function_call, prefix='')
abstract convert_logical_not()
abstract convert_logical_operator(op)
abstract convert_name_reference(variable, prefix='')
abstract convert_ternary_operator()
abstract convert_unary_op(unary_operator)

pynestml.codegeneration.latex_expression_printer module

pynestml.codegeneration.latex_reference_converter module

pynestml.codegeneration.latex_types_printer module

class pynestml.codegeneration.latex_types_printer.LatexTypesPrinter

Bases: pynestml.codegeneration.types_printer.TypesPrinter

Returns a LaTeX syntax version of the handed over element.

classmethod pretty_print(element)

pynestml.codegeneration.nest_assignments_helper module

pynestml.codegeneration.nest_codegenerator module

pynestml.codegeneration.nest_declarations_helper module

pynestml.codegeneration.nest_names_converter module

pynestml.codegeneration.nest_printer module

pynestml.codegeneration.nest_reference_converter module

pynestml.codegeneration.nestml_reference_converter module

pynestml.codegeneration.ode_toolbox_reference_converter module

pynestml.codegeneration.pynestml_2_nest_type_converter module

pynestml.codegeneration.types_printer module

class pynestml.codegeneration.types_printer.TypesPrinter

Bases: object

Returns a processable format of the handed over element.

abstract classmethod pretty_print(element)

pynestml.codegeneration.unit_converter module

pynestml.codegeneration.unitless_expression_printer module