Making a matrix as subjectfrom matrix formula in Sympy

34 views
Skip to first unread message

nila

unread,
Dec 11, 2016, 3:21:34 AM12/11/16
to sympy
I am new to sympy. I am working with sympy matrices. Is anybody knows about making a matrix as subject from a matrix equation?.

For examble if the equation is like following 2*A+Matrix[] = Matrix[], here A is a matrix variable. I want to make subject as A in order to find the answer for A straightly. My input for sympy contains matrix values mixedup with variables. so I can't change it as all matrices as variables first, like as explained here bcoz in my i/p there are multiple values and matrix variables, so I can't change each matrix values to variables and then send it to sympy. 

Is there any way to do this with sympy?. If not I planned to implement this for sympy. So please let me know whether this functionality already exist or not.

Thank you

Aaron Meurer

unread,
Dec 11, 2016, 8:14:55 PM12/11/16
to sy...@googlegroups.com
You can use MatrixSymbol objects, but there is an open issue with it
working with solve https://github.com/sympy/sympy/issues/7379

Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/423f11f0-3496-44e6-99dc-6497ddc68e70%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages