Skip to content
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

integration and differentation #35

Closed
ChrisRaven opened this issue Jul 28, 2013 · 9 comments
Closed

integration and differentation #35

ChrisRaven opened this issue Jul 28, 2013 · 9 comments
Labels

Comments

@ChrisRaven
Copy link

Hi,
is it possible to add integrals and differentials to the library?
Or maybe it already is added, but I didn't spot it.

@josdejong
Copy link
Owner

This is indeed not implemented. Would be a great addition.

@BigFav
Copy link
Collaborator

BigFav commented May 18, 2015

If I were to start working on this, where specifically should I be looking? Should I be making a transform?

@josdejong
Copy link
Owner

This would be awesome :)

Please implement this in the v2 branch, merging from develop would be painful. Maybe the best place for these new functions is in /lib/expression/function or a subfolder there.

I think you can develop these functions in two steps:

  • First make a low level function which accepts a Node tree as input. On this node tree you can do manipulations, maybe using methods like Node.transform.
  • For use in expressions you could create a transform on top of this low level function which uses custom argument parsing, so you get a node tree as input.

@FSMaxB
Copy link
Collaborator

FSMaxB commented May 18, 2015

It's not clear to me if you are talking about numeric integration or algebraic integration.

@josdejong
Copy link
Owner

@BigFav you where thinking about algebraic integration right?

@rjbaucells
Copy link
Collaborator

In case numeric derivative is needed I have already implemented it on my derivative branch. I worked on it some time ago but I never found the time to create all the needed tests.

@BigFav
Copy link
Collaborator

BigFav commented May 18, 2015

I was only thinking about working on algebraic things in the parser. Nice to see some backend work was done on this, I'll note once I set some basic things up.

@harrysarson
Copy link
Collaborator

harrysarson commented May 3, 2018

mathjs now has support for calculating derivatives and there is a now #442 and #1015 which look at the possibility of implementing integration. I think we can close this in favour of these other issues.

:)

@josdejong
Copy link
Owner

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants