
I'm a physics student and I built a zero-dependency C++20 framework to do math and data plotting
Hey r/ScientificComputing !
I'm a physics engineeering student, and I spend a lot of my time writing numerical simulations and analyzing data.
Programming in C++ is enjoyable, but most of numerical computing libs in are just unpleasant to use. So I started building my own solution in my free time.
GitHub: https://github.com/mslotwinski-dev/NumC
Some of the things I built into it:
- You can write mathematical expressions naturally, like sin(x) * exp(-x), and differentiate or integrate them in a single line thanks to lazy expression trees.
- It has a built-in plotting engine, so you can display graphs in a native Win32 window or export them as clean SVGs ready to drop into a LaTeX report.
Of course, the project won't surpass the quality of professional libraries. Its goal is to be convenient and accessible for users whose passions lie more in math, rather than programming.
If you're using C++ for simulations, numerical methods, physics, or data analysis, I'd really appreciate any feedback.