Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension that adds integral functionality to compute simple integrals #1015

Closed
joelahoover opened this issue Jan 13, 2018 · 2 comments
Closed
Labels
category:symbolic Issues regarding symbolic operations like symbolic equation solving or symbolic differentiation feature

Comments

@joelahoover
Copy link
Contributor

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 the integral 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 for simplify). 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.

@josdejong
Copy link
Owner

That looks like an impressive start Joel, awesome! Would be great if we could integrate it (pun intended) in math.js as soon as you feel like it's complete enough to remove the beta label :). I will be happy to give feedback where needed but I'm afraid I lack spare time to help with the development itself.

@husayt
Copy link

husayt commented Mar 19, 2018

@joelhoover @josdejong this is great stuff indeed. Would be really amazing to closely "integrate" with math.js as suggested.

This was referenced Jun 19, 2021
@cshaa cshaa added category:symbolic Issues regarding symbolic operations like symbolic equation solving or symbolic differentiation feature labels Jun 19, 2021
Repository owner locked and limited conversation to collaborators Sep 2, 2022
@josdejong josdejong converted this issue into discussion #2748 Sep 2, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
category:symbolic Issues regarding symbolic operations like symbolic equation solving or symbolic differentiation feature
Projects
None yet
Development

No branches or pull requests

4 participants