This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Extension that adds integral
functionality to compute simple integrals
#1015
Labels
category:symbolic
Issues regarding symbolic operations like symbolic equation solving or symbolic differentiation
feature
Hi all! I'm pleased to announce the first public release of my current project:
mathjs-simple-integral
(also published to npm). This package implements theintegral
function for Math.js. It is currently in beta and has some rather severe limitations, such as no implementing integration-by-parts or u-substitution, but it is complete enough to be useful in some circumstances (for example, it has full support for polynomial expressions).A quick overview of the integration algorithm: it uses depth-first search memoized pattern matching that transforms the integrand until it can be integrated directly. The rules for integration are simply an array of functions, with each one matching an integrand pattern. These rules can be specified for each call to
integral
(just like providing custom simplification rules forsimplify
). Head over to the project's README for a more in-depth explanation and examples.As this is a much requested feature for Math.js (#35, #442, #788, #993), I though it would be relevant to post about it here. I would also be willing to let the Math.js team take control over the package and integrate it (pun intended) into Math.js itself, if they are interested.
The text was updated successfully, but these errors were encountered: