4 ms·
You might find this library interesting: https://github.com/symforce-org/symforce https://github.com/symforce-org/symforce
by mattivc 3y ago
You might find this library interesting: https://github.com/symforce-org/symforce https://github.com/symforce-org/symforce
- tonyarkles 3y agoWas just going to suggest that! I’ve only recently started using it but so far it has been excellent. One tip… the code generator seems to do a lot of cleaning and simplification. Just today I had some ugly equations that took up many pages of Jupyter output but the generated C++ code was only about 150 lines and didn’t look particularly inefficient. It seemed to me on inspection that it found repeated product and sum terms and properly computed them once and stored them in scratch variables.