Changes between Version 2 and Version 3 of Ticket #16813, comment 52
 Timestamp:
 03/14/15 09:31:35 (5 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #16813, comment 52
v2 v3 5 5 sage: legendre_P(10, polygen(CC, 'x'), algorithm='pari') 6 6 180.425781250000*x^10  427.324218750000*x^8 + 351.914062500000*x^6  117.304687500000*x^4 + 13.5351562500000*x^2  0.246093750000000 7 sage: legendre_P(10, polygen(CC, 'x'), coerce=False) 8 ... 9 TypeError: arguments must be symbolic expressions 10 sage: legendre_P(10, polygen(CC, 'x'), algorithm='pari', coerce=False) 11 180.425781250000*x^10  427.324218750000*x^8 + 351.914062500000*x^6  117.304687500000*x^4 + 13.5351562500000*x^2  0.246093750000000 7 12 sage: legendre_P(10, polygen(RIF, 'x')) 8 13 46189/256*(x)^10  109395/256*(x)^8 + 45045/128*(x)^6  15015/128*(x)^4 + 3465/256*(x)^2  63/256 9 14 }}} 15 16 Is the idea that calls to `legendre_P(n, x)` with no `algorithm` keyword will always take the branch corresponding to `x` in `SR`, but the user can obtain faster evaluations at integers etc. by specifying `algorithm='pari'` is they know what they are doing?