[sage-devel] Re: Wrong output of method arguments() on symbolic functions

2022-03-10 Thread Eric Gourgoulhon
Le mercredi 9 mars 2022 à 07:19:06 UTC+1, Matthias Koeppe a écrit : > Note also that function('f')(y, x) does not actually create a function > with named arguments. > It is an ordinary symbolic expression that evaluates the undefined > function f of unspecified arity. > Unbound variables in ord

[sage-devel] Re: Wrong output of method arguments() on symbolic functions

2022-03-08 Thread Matthias Koeppe
Note also that function('f')(y, x) does not actually create a function with named arguments. It is an ordinary symbolic expression that evaluates the undefined function f of unspecified arity. Unbound variables in ordinary symbolic expression use alphabetical order. https://trac.sagemath.org/ti

[sage-devel] Re: Wrong output of method arguments() on symbolic functions

2022-03-08 Thread Matthias Koeppe
Yes, callable symbolic expressions need a lot of fixes. See meta-ticket https://trac.sagemath.org/ticket/28434 On Tuesday, March 8, 2022 at 7:23:15 AM UTC-8 Eric Gourgoulhon wrote: > Hi, > > We have currently > > sage: x, y = var('x y') > sage: fyx = function('f')(y, x) > sage: fyx.arguments()