Skip to content

make solve understand matrix equations #5201

@jasongrout

Description

@jasongrout

I think it would be a great thing if solve could recognize matrices and that two matrices are equal if each entry is equal. I believe MMA does this (but it's easier there; matrices are nothing more than nested lists). It'd certainly make certain things I do more natural if I could do:

solve(matrixA==matrixB)

and that was equivalent to:

solve([i==j for i,j in zip(matrixA.list(), matrixB.list())])

Okay, so now that I've written my piece, I suppose the next step is to open a trac ticket, write a patch to implement it, and post it for review :).

Component: calculus

Issue created by migration from https://trac.sagemath.org/ticket/5201

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions