AstroJr0/matha-lib — reverse-engineered prompt
Reverse engineered prompt
Build me a Python library called matha that works like one big toolbox for common math tasks, so someone can just import matha or import matha as mth and stop hunting through different libraries.
I want it to include simple stuff like mean, median, and variance, plus more advanced helpers for derivatives, integrals, limits, matrix operations, eigenvalues, probability functions like Poisson PMF, gamma, and combinatorics. Keep the function names predictable and easy to guess. Add helpful docstrings so hovering over a function explains what it does, what inputs it expects, and gives a tiny example.
Please clean up anything unfinished, make the package installable, add reasonable tests, and make sure errors are friendly when someone passes bad input. The vibe can stay a little funny like the README, but the actual code should be reliable and easy to use. Look up current Python packaging docs online if you need to.
Want more depth? Deep Reverse