3 ms·
Is it possible to make one of the items in the matrix a variable? (And then e.g. put the matrix in an equation, expand it, and solve for the variable).
by amelius 11y ago
Is it possible to make one of the items in the matrix a variable? (And then e.g. put the matrix in an equation, expand it, and solve for the variable).
- dagw 11y agoNot out of the box. There are however a few projects out there trying to add symbolic manipulation to Julia.
- micro2588 11y agoYou can do this using the SymPY.jl package. As a good chunk of matrix functionality is parametric on element type, you can do matrix operations on SymPY's symbolic variables. See example 6 in: https://github.com/andreasnoack/andreasnoack.github.io/blob/master/talks/2015AprilStanford_AndreasNoack.ipynb https://github.com/andreasnoack/andreasnoack.github.io/blob/...