Skip to content

Allow ps.Assignment to sp.Matrix

This currently doesn't work:

import pystencils as ps
import sympy as sp
a, b, c = sp.symbols("a b c")
ps.Assignment(sp.Matrix([a,b,c]), sp.Matrix([1,2,3]))

The assignment should be automatically transformed into assignments for each component.

Edited by Michael Kuron