Ask Your Question

Revision history [back]

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?

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?