Numerical luau for all your scientific urges.¶
Numerical luau is a runtime agnostic library for safer, simpler code.
Bring scientific computing in a way easy to understand and predict. Compress large computations filled with loops and table allocations into simple vectorised operations. Prototype and Build mathematical models, for any tasks in a typesafe manner.
In Addition, numluau also comes with submodules for linear algebra, polynomials and randomness.
Vectorised operations¶
Numeric luau introduces N-Dimensional arrays, Simple but allows you to simplify repetitive code.
Turn what would be tedious for loops, table allocations and indexing.
Into a single addition.
Broadcasting¶
Want to multiply 2 arrays, they're sizes dont match.
Well thats not going to stop you.
when performing arithmetic between 2 arrays, numluau will automatically stretch them to fit according to special rules .
Slicing¶
If you need to only access a section of the array.
Simply slice the array just by indexing.
Interested? ¶
If you want a more indepth tutorial Theres a comprehensive beginner's tutorial complete with examples and code.