generators package
==================

.. automodule:: brian2.codegen.generators
    :show-inheritance:


:mod:`GSL_generator` module
---------------------------

.. automodule:: brian2.codegen.generators.GSL_generator
    :show-inheritance:

**Classes**

.. autosummary:: GSLCPPCodeGenerator
    :toctree:

.. autosummary:: GSLCodeGenerator
    :toctree:

.. autosummary:: GSLCythonCodeGenerator
    :toctree:

**Functions**

.. autosummary:: valid_gsl_dir
    :toctree:


:mod:`base` module
------------------

.. automodule:: brian2.codegen.generators.base
    :show-inheritance:

**Classes**

.. autosummary:: CodeGenerator
    :toctree:


:mod:`cpp_generator` module
---------------------------

.. automodule:: brian2.codegen.generators.cpp_generator
    :show-inheritance:

**Classes**

.. autosummary:: CPPCodeGenerator
    :toctree:

**Functions**

.. autosummary:: c_data_type
    :toctree:


:mod:`cython_generator` module
------------------------------

.. automodule:: brian2.codegen.generators.cython_generator
    :show-inheritance:

**Classes**

.. autosummary:: CythonCodeGenerator
    :toctree:

.. autosummary:: CythonNodeRenderer
    :toctree:

**Functions**

.. autosummary:: get_cpp_dtype
    :toctree:

.. autosummary:: get_numpy_dtype
    :toctree:


:mod:`numpy_generator` module
-----------------------------

.. automodule:: brian2.codegen.generators.numpy_generator
    :show-inheritance:

**Classes**

.. autosummary:: NumpyCodeGenerator
    :toctree:

.. autosummary:: VectorisationError
    :toctree:

**Functions**

.. autosummary:: ceil_func
    :toctree:

.. autosummary:: clip_func
    :toctree:

.. autosummary:: floor_func
    :toctree:

.. autosummary:: int_func
    :toctree:

.. autosummary:: poisson_func
    :toctree:

.. autosummary:: rand_func
    :toctree:

.. autosummary:: randn_func
    :toctree:


