chocolate-bar2410/numluau ? reverse-engineered prompt

Reverse engineered prompt

Build me a small scientific computing library for Luau that feels like NumPy, but for Luau users.

I want to be able to create N dimensional arrays from normal tables, do vectorized math on them, use broadcasting, and work with common matrix and linear algebra operations. Simple things like adding a number to every element should just work, and it should also handle aggregations and other basic scientific computing tasks in a clean way.

Please make it easy to install and use, with a few good examples in the docs. If you need to check current Luau docs or package tooling details online, go ahead. Also make sure there are tests for the main array behavior and arithmetic so I can trust it for real work.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab