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

Specified input #3

Open
kjjeong104 opened this issue Oct 2, 2019 · 2 comments
Open

Specified input #3

kjjeong104 opened this issue Oct 2, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@kjjeong104
Copy link

kjjeong104 commented Oct 2, 2019

Hello,

As a follow-up for the issue for specification of variable type for a custom function,
trevorstephens#175

Have you figured out how to do that?
For example : I would like to add a pow(x,n)=x**n function such that the base is taken from array, but the second arity, power, is only accepted as integers.
The official version doesn't support it yet as we know, but do you have any idea that you succeeded to implement?

@kjjeong104 kjjeong104 added the enhancement New feature or request label Oct 2, 2019
@otthqs
Copy link
Owner

otthqs commented Jan 2, 2020

Sorry to reply in the new year.
I have modified the package a little bit and offer a new API to accept function set whose last input could be an integer. But I do it in a way through pruning the _program.

@aEgoist
Copy link

aEgoist commented Apr 15, 2020

I would like to check if there's any progress on this issue?my thinking is to break mutation steps into 2 parts, first to mutate every constant params, then to imply custom functions without constant params as normal.

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

No branches or pull requests

3 participants