Changes between Initial Version and Version 6 of Ticket #10946


Ignore:
Timestamp:
08/15/16 22:36:40 (3 years ago)
Author:
mkoeppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10946

    • Property Milestone changed from sage-5.11 to sage-7.4
  • Ticket #10946 – Description

    initial v6  
    88 iii)  f.subs(x=2,y=3)
    99
    10 They give the same results but not the same type. i) gives an element in R while ii) and iii) are constant polynomials in two variables.
     10They give the same results but not the same type. i) gives an element in R while ii) and iii) are constant polynomials in two variables:
    1111
    12 Follinwg the documentation, i) and ii) should give an element in R
     12{{{
     13sage: K.<x,y> = QQ[]
     14sage: f = x^2 + y^2
     15sage: f(2,3).parent()
     16Rational Field
     17sage: f(x=2,y=3).parent()
     18Multivariate Polynomial Ring in x, y over Rational Field
     19sage: f.subs(x=2,y=3).parent()
     20Multivariate Polynomial Ring in x, y over Rational Field
     21}}}
     22
     23Following the documentation, i) and ii) should give an element in R
    1324while iii) is a polynomial.
    1425