Multiexpression Outputs Question #705
-
When I define multiexpression outputs, how do I know which is P and which is Q?
The results are as follows:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Basically .l is the left side and .r is the right side of the outermost operator. So if you were numerically evaluating the equation, the last operator that you would evaluate is the one you split at. So But yes I think it would be nice for PySR to have a proper way of facilitating this, rather than needing to do it all manually. |
Beta Was this translation helpful? Give feedback.
Basically .l is the left side and .r is the right side of the outermost operator. So if you were numerically evaluating the equation, the last operator that you would evaluate is the one you split at. So
x0 / (-0.3637128 - x0)) * 4.5015717
has P equal to the x0/(-0.36 - x0) and Q equal to the 4.5. The outermost operator*
is ignored.But yes I think it would be nice for PySR to have a proper way of facilitating this, rather than needing to do it all manually.