1 | initial version |
Symbolic expressions do not support working with Sage matrices. There are different approaches to do "linear algebra" in this context though.
Indexed expressions
This is GiNaC's solution. Our symbolics library pynac is based on GiNaC, so we just inherit this functionality. Although it hasn't been wrapped for easy use from Python.
There is an experimental patch at #11576, but the GiNaC tutorial is the best reference.
SymbolicMatrixAlgebra as Nicolas Thiery implemented in this thread.
Any help to get these things in a polished state so they can be included in Sage is welcome.