You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Sometimes I've found that I want to evaluate a given mathematical expression for a series of inputs. Right now, I end up writing out the expression with substitutions as necessary, but it would be great to be able to define an ad-hoc function that is then used.
Describe the solution you'd like
A way to define a function on a line such as def_solve(signature, expression) that can then be used on subsequent lines. The signature would be something like my_fn(a, b) and then I could use a and b in the expression.
Describe alternatives you've considered
Writing a provider, but this is very heavyweight for only locally-reusable things.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Sometimes I've found that I want to evaluate a given mathematical expression for a series of inputs. Right now, I end up writing out the expression with substitutions as necessary, but it would be great to be able to define an ad-hoc function that is then used.
Describe the solution you'd like
A way to define a function on a line such as
def_solve(signature, expression)
that can then be used on subsequent lines. Thesignature
would be something likemy_fn(a, b)
and then I could usea
andb
in the expression.Describe alternatives you've considered
Writing a provider, but this is very heavyweight for only locally-reusable things.
The text was updated successfully, but these errors were encountered: