Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The method integral (as any othe method) depends on the object it is applied to, so the syntax may not be the same for symbolic functions and piecewise functions. To see how the method integral works for piecewise functions, you can do:

sage: P = Piecewise([[(1,2), 1/floor(r)]])
sage: P.integral?
click to hide/show revision 2
No.2 Revision

The method integral (as any othe other method) depends on the object it is applied to, so the syntax may not be the same for symbolic functions and piecewise functions. To see how the method integral works for piecewise functions, you can do:

sage: P = Piecewise([[(1,2), 1/floor(r)]])
sage: P.integral?