cadabra2 icon indicating copy to clipboard operation
cadabra2 copied to clipboard

Need systematic way to evaluate integrals, limits, sums, ...

Open kpeeters opened this issue 3 years ago • 1 comments

At present expressions containing integrals, limits, sums and so on can be evaluated by feeding them through simplify or using map_sympy, e.g.

 ex := \int{x**2}{x,0,1};
 simplify(ex);

However, that's overkill, and it also makes it harder to replace this with Cadabra's own functionality at some later time. It also does not make it clear how to evaluate these sub-expressions numerically instead of symbolically.

Using evaluate could work, but perhaps expanding it out into evaluate_limits, evaluate_components, evaluate_integrals and so on would be better. Or use zoom to focus in on them.

kpeeters avatar Oct 25 '22 10:10 kpeeters