brainpy.math.ListVar#

class brainpy.math.ListVar(value)[source]#

A sequence variable, whose contents can be changed during JIT compilation.

It is a variable, which is similar to Variable.

Note

The element must be a numerical number, like bool, int, float, jax.Array, numpy.ndarray, Array.

__init__(value)#

Methods

__init__(value)

append(element)

rtype:

_dyn_seq

extend(iterable)

rtype:

_dyn_seq

insert(index, obj)

rtype:

_dyn_seq

pop([index])

reverse()

Attributes

value