Hello,

It is a known bug? Or maybe not considered a bug at all? Quick search
does not show anything related...

sage: f(x) = x
sage: f
x |--> x
sage: integral(f, x)
x |--> 1/2*x^2
sage: integral(f, x, 0, 1)
x |--> 1/2

The last line shows 1/2 as a function of x, but it is not a function
anymore, it is a number. It gets worse with multivariate functions:

sage: f(x, y) = x + y
sage: f
(x, y) |--> x + y
sage: integral(f, x, 0, 1)
(x, y) |--> y + 1/2
sage: _(3)
y + 1/2

I think that here integral definitely should return a function of y
only and if I evaluate it at 3 I get 3.5.

Best regards,
Andrey

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to