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

Add some more integral functions #437

Merged
merged 14 commits into from
Jul 27, 2016
Merged

Conversation

bnjones
Copy link
Member

@bnjones bnjones commented Jul 3, 2016

Still to do:

  • Extend _MPMathFunction to support dispatching to multiple mpmath functions
  • Use mpmath to implement the two-argument form of Erf
  • Handle out-of-range numeric arguments to InverseErf

@sn6uv
Copy link
Member

sn6uv commented Jul 3, 2016

Looks similar to a77c08e. I was meaning to make a PR but didn't get round to it.

>> Erf[0]
= 0
>> Plot[Erf[x], {x, -2, 2}]
= -Graphics-
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be InverseErf not Erf.

@bnjones
Copy link
Member Author

bnjones commented Jul 4, 2016

Happy to rebase this on a77c08e if you like? Didn't realise you were already looking at this! There are some tests in that commit that I think it'd be good to have.

@sn6uv
Copy link
Member

sn6uv commented Jul 4, 2016

I think it's fine not to rebase. Feel free to copy the tests if you think they're useful. I am working on fixing some precision issues related to _MPMathFunction (but I don't there are actually any changes to that class), see #440.

@bnjones bnjones force-pushed the integral-functions branch from c4e33a6 to 9cbe8d6 Compare July 11, 2016 21:36
@sn6uv
Copy link
Member

sn6uv commented Jul 12, 2016

Looks good 👍 , anything more to add?

@bnjones
Copy link
Member Author

bnjones commented Jul 13, 2016

Great, thanks for the review! Still got a few (small) things to add, I'll push these shortly.

@bnjones bnjones changed the title Add some more integral functions (WIP) Add some more integral functions Jul 16, 2016
@sn6uv
Copy link
Member

sn6uv commented Jul 27, 2016

Shall I merge this?

@bnjones
Copy link
Member Author

bnjones commented Jul 27, 2016

Yep, if you're happy with it I'm happy with it

@sn6uv sn6uv merged commit 14af2c3 into mathics:master Jul 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants