c_data_type function
(Shortest import: from brian2.codegen.generators import c_data_type)
-
brian2.codegen.generators.cpp_generator.c_data_type(dtype)[source]
Gives the C language specifier for numpy data types. For example,
numpy.int32
maps to int32_t
in C.