Matrix#
- class pybamm.Matrix(entries: ndarray | list[float] | csr_matrix, name: str | None = None, domain: list[str] | str | None = None, auxiliary_domains: dict[str, str] | None = None, domains: dict[str, list[str] | str] | None = None, entries_string: str | None = None)[source]#
Node in the expression tree that holds a matrix type (e.g.
numpy.array
)Extends:
pybamm.expression_tree.array.Array