Changes between Version 1 and Version 20 of Ticket #13360
 Timestamp:
 12/06/13 14:13:44 (8 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #13360

Property
Status
changed from
new
toneeds_review

Property
Milestone
changed from
sage5.11
tosage5.12

Property
Status
changed from

Ticket #13360 – Description
v1 v20 33 33 namely just substituting a symbolic variable: 34 34 {{{ 35 36 37 38 39 t^2 t40 41 35 sage: R.<t> = PolynomialRing(ZZ,'t') 36 sage: f = t^2  t 37 sage: t = var('t') 38 sage: f(t) 39 (t  1)*t 40 sage: f(t).parent() 41 Symbolic Ring 42 42 }}} 43 43 This has the advantage that the conversion is explicit. 44 44 45 45 4) Philosophically, I would say that the name of the variable is just a display label, but as it is, it has the side effect of determining what variable to coerce to. Then if you want to return a polynomial from a library routine, you can't be sure that it won't collide with a userdefined variable upon coercion.