CythonCodeObject class¶
(Shortest import: from brian2 import CythonCodeObject)
-
class
brian2.codegen.runtime.cython_rt.cython_rt.CythonCodeObject(*args, **kw)[source]¶ Bases:
brian2.codegen.runtime.numpy_rt.numpy_rt.NumpyCodeObjectExecute code using Cython.
Methods
compile_block(block)Whether this target for code generation is available.
run_block(block)Update the namespace for this timestep.
Details
-
classmethod
is_available()[source]¶ Whether this target for code generation is available. Should use a minimal example to check whether code generation works in general.
-
classmethod