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

lazy nsolve #6358

Open
Krastanov opened this issue May 9, 2012 · 5 comments
Open

lazy nsolve #6358

Krastanov opened this issue May 9, 2012 · 5 comments

Comments

@Krastanov
Copy link
Member

Krastanov commented May 9, 2012

A way to get the function "a -> solution for x of f(x,a)=0" working for well behaved f(x,a)

A proposal was implemented in PR 968 but Ronan raised some objections. Discussion and arguments from both sides are present on the pull request page #968

@Krastanov
Copy link
Member Author

Krastanov commented May 31, 2012

solving issue #3276 may be a more idiomatic approach. It is not the same, however I will mark it as blocked-on

@asmeurer
Copy link
Member

asmeurer commented May 31, 2012

What you really want, I think, is a SymPy object that encapsulates an arbitrary black box callable on numeric arguments, but also holds unevaluated symbolic arguments. This is already doable with Function and .eval, but I guess you want something a little more streamlined for that purpose. Maybe you could allow to pass a second argument to Function when using it to create an anonymous function that would be called on numerical arguments. You would probably need to add nargs as well. Ronan, do you see any issues with that proposal?

@asmeurer
Copy link
Member

asmeurer commented Mar 5, 2014

We have moved issues to GitHub https://github.com/sympy/sympy/issues .

**Labels:** Restrict-AddIssueComment-Commit  
**Blockedon:** -sympy:3276 sympy:3276  

Original comment: http://code.google.com/p/sympy/issues/detail?id=3259#c3
Original author: https://code.google.com/u/asmeurer@gmail.com/

@asmeurer
Copy link
Member

asmeurer commented Mar 5, 2014

We have moved issues to GitHub https://github.com/sympy/sympy/issues .

Original comment: http://code.google.com/p/sympy/issues/detail?id=3259#c4
Original author: https://code.google.com/u/asmeurer@gmail.com/

@oscarbenjamin
Copy link
Contributor

Related to #4678

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

No branches or pull requests

4 participants