Previous topic

Scalar

Next topic

Vector

This Page

Matrix

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

node in the expression tree that holds a matrix 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