pybamm.
Array
(entries, name=None, domain=None, auxiliary_domains=None, entries_string=None)[source]¶node in the expression tree that holds an tensor type variable
(e.g. numpy.array
)
Parameters: |
|
---|
ndim
¶returns the number of dimensions of the tensor
shape
¶returns the number of entries along each dimension
pybamm.
linspace
(start, stop, num=50, **kwargs)[source]¶Creates a linearly spaced array by calling numpy.linspace with keyword arguments ‘kwargs’. For a list of ‘kwargs’ see the numpy linspace documentation
pybamm.
meshgrid
(x, y, **kwargs)[source]¶Return coordinate matrices as from coordinate vectors by calling numpy.meshgrid with keyword arguments ‘kwargs’. For a list of ‘kwargs’ see the numpy meshgrid documentation