Opened 16 months ago
Closed 15 months ago
#31942 closed enhancement (fixed)
_sympy_ methods for matrices and vectors
Reported by: | Matthias Köppe | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-9.4 |
Component: | symbolics | Keywords: | |
Cc: | Karl-Dieter Crisman, Vincent Delecroix, Travis Scrimshaw | Merged in: | |
Authors: | Matthias Koeppe | Reviewers: | Travis Scrimshaw |
Report Upstream: | N/A | Work issues: | |
Branch: | c365f18 (Commits, GitHub, GitLab) | Commit: | c365f1877c0369000930d4bd6f750db7a3c09e3d |
Dependencies: | Stopgaps: |
Description
We add _sympy_
methods to matrix and vector classes, converting to sympy.matrices.Matrix
.
https://docs.sympy.org/latest/modules/matrices/matrices.html
Change History (11)
comment:1 Changed 16 months ago by
Branch: | → u/mkoeppe/_sympy__methods_for_matrices_and_vectors |
---|
comment:2 Changed 16 months ago by
Cc: | Karl-Dieter Crisman Vincent Delecroix added |
---|---|
Commit: | → 2debc4957d4ef15c635abeaa217736aa80152a2b |
comment:3 Changed 16 months ago by
Commit: | 2debc4957d4ef15c635abeaa217736aa80152a2b → 9e0f73634dfff54ee42b2c30670cfa62d12de98f |
---|
comment:4 Changed 16 months ago by
Authors: | → Matthias Koeppe |
---|---|
Cc: | Travis Scrimshaw added |
Status: | new → needs_review |
comment:5 Changed 16 months ago by
Do you also want to handle the case when there is no common parent? In particular, I get
sage: coercion_model.common_parent(ZZ, QQ, ZZ^5) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) [snip] TypeError: no common canonical parent for objects with parents: ...
Although I am not sure this can happen...
comment:7 Changed 16 months ago by
Commit: | 9e0f73634dfff54ee42b2c30670cfa62d12de98f → c365f1877c0369000930d4bd6f750db7a3c09e3d |
---|
comment:9 Changed 16 months ago by
Status: | needs_review → positive_review |
---|
comment:11 Changed 15 months ago by
Branch: | u/mkoeppe/_sympy__methods_for_matrices_and_vectors → c365f1877c0369000930d4bd6f750db7a3c09e3d |
---|---|
Resolution: | → fixed |
Status: | positive_review → closed |
Note: See
TracTickets for help on using
tickets.
New commits:
Matrix._sympy_: New