Changes between Version 1 and Version 4 of Ticket #17547


Ignore:
Timestamp:
12/25/14 10:28:00 (7 years ago)
Author:
rws
Comment:

If the name is e.g. p2 AFunction.eval gets called, but not with name equal to a function provided with GiNaC. Compare the above with

...
sage: p2 = AFunction('p2', 2)
sage: p2(x)
x^2

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17547 – Description

    v1 v4  
    1111e^x
    1212}}}
     13If the name is e.g. `p2` `AFunction.eval` gets called, but not with name equal to a function provided with GiNaC. Compare the above with
     14{{{
     15...
     16sage: p2 = AFunction('p2', 2)
     17sage: p2(x)
     18x^2
     19}}}
    1320The attempt at creation should give an error (plus respective documentation warnings).
    1421