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

[feature request] Make symbolic functions callable. #3

Closed
tBuLi opened this issue Sep 22, 2014 · 0 comments
Closed

[feature request] Make symbolic functions callable. #3

tBuLi opened this issue Sep 22, 2014 · 0 comments

Comments

@tBuLi
Copy link
Owner

tBuLi commented Sep 22, 2014

Make the following allowable syntax:

>>> a = Parameter()
>>> x = Variable()
>>> f = a * x**2
>>> print f(3, 2)
18
>>> print f(x=3, a=2)
18

Because it looks sexy.

(And because a user requested it.)

@tBuLi tBuLi closed this as completed in 32d7c5e Nov 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant