Implementation of operator x^n
mg-meth opened this issue · 2 comments
Hi Wassim,
I have a question similar to "How can I add a custom operator?". Is it possible to add the operator x^n, x is an input variable and n is a free constant?
Thanks in advance
Hi @mg-meth,
Currently
If you want, you can add a power token in functions.py following the instructions in the readme file which will enable physo to produce
This is all for
Such a token would complicate things from a dimensional analysis perspective but if you are not interested in physics you should be able to work with this in a dimensionless framework.
Does that answer your question ?
Wassim
I've added a pow token by the way ! ;)