Previous topic

Matrix

Next topic

State Vector

This Page

Vector

class pybamm.Vector(entries, name=None, domain=[], entries_string=None)[source]

node in the expression tree that holds a vector type (e.g. numpy.array)

Extends: Array

Parameters:
  • entries (numpy.array) – the array associated with the node
  • name (str, optional) – the name of the node
  • domain (iterable of str, optional) – list of domains the parameter is valid over, defaults to empty list