Opened 12 years ago
Closed 7 years ago
#10049 closed enhancement (fixed)
improve documentation of substitute for symbolic expressions
Reported by: | burcin | Owned by: | mvngu |
---|---|---|---|
Priority: | minor | Milestone: | sage-duplicate/invalid/wontfix |
Component: | documentation | Keywords: | |
Cc: | jpflori, kcrisman | Merged in: | |
Authors: | Reviewers: | Marc Mezzarobba | |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
The following behavior can be confusing:
sage: var('x,y,z') (x, y, z) sage: t = x+y+z sage: t.subs({x+y:5}) x + y + z
The match()
function for symbolic expressions already provides a link to the relevant part of the GiNaC tutorial:
http://www.ginac.de/tutorial/Pattern-matching-and-advanced-substitutions.html
Perhaps the substitute()
function should do this too.
Reported by Jean-Pierre Flori on sage-devel:
http://groups.google.com/group/sage-devel/t/897b14e456ac077f
See also #10048 which is relevant to that thread.
Change History (9)
comment:1 Changed 10 years ago by
Cc: | kcrisman added |
---|
comment:2 Changed 9 years ago by
Milestone: | sage-5.11 → sage-5.12 |
---|
comment:3 Changed 9 years ago by
Milestone: | sage-6.1 → sage-6.2 |
---|
comment:4 Changed 9 years ago by
Milestone: | sage-6.2 → sage-6.3 |
---|
comment:5 Changed 8 years ago by
Milestone: | sage-6.3 → sage-6.4 |
---|
comment:6 Changed 8 years ago by
Component: | symbolics → documentation |
---|---|
Owner: | changed from burcin to mvngu |
comment:7 Changed 7 years ago by
Milestone: | sage-6.4 → sage-duplicate/invalid/wontfix |
---|---|
Reviewers: | → Marc Mezzarobba |
Status: | new → needs_review |
comment:8 Changed 7 years ago by
Status: | needs_review → positive_review |
---|
comment:9 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | positive_review → closed |
Note: See
TracTickets for help on using
tickets.
Done in #12834; see also #18396.