numpy_rt package

Numpy runtime implementation.

Preferences

Numpy runtime codegen preferences

codegen.runtime.numpy.discard_units = False

Whether to change the namespace of user-specifed functions to remove units.

numpy_rt module

Module providing NumpyCodeObject.

Exported members: NumpyCodeObject

Classes

LazyArange(stop[, start, indices]) A class that can be used as a arange replacement (with an implied step size of 1) but does not actually create an array of values until necessary.
NumpyCodeObject(owner, code, variables, ...) Execute code using Numpy

synapse_vectorisation module

Module for efficient vectorisation of synapses code

Exported members: vectorise_synapses_code, SynapseVectorisationError

Classes

SynapseVectorisationError

Functions

ufunc_at_vectorisation(statements, ...)