maths
maths copied to clipboard
A basic mathematics library containing fundamental functions and utilities.
The functions in the combinatorics and sequences modules could be improved by making them return an iterator instead of a list, which will be prohibitively expensive to do for larger...
I noticed that `round` returns a `Result(Float, String)`, but I couldn't see anywhere in the docs when/why this can return an error (or what the error is). Would be great...
Currently the library errors with a `String` message describing what went wrong. This can be useful for user-facing code (eg a form validating library) but becomes much less practical in...