It's very easy to turn those simply stated equations into a short program that looks quite similar, without lots of strange metaprogramming going on.
As a bonus, others will easily be able to understand and fix or extend the code.
As a bonus, others will easily be able to understand and fix or extend the code.