issues
search
Mojo-Numerics-and-Algorithms-group
/
NuMojo
NuMojo is a library for numerical computing in Mojo 🔥 similar to numpy in Python.
Apache License 2.0
86
stars
15
forks
source link
Added doc strings, all, any, added some functionality to ndarray usinexisting stuff
#35
Closed
MadAlex1997
closed
2 months ago
MadAlex1997
commented
2 months ago
Changed:
All cumulative operations are now prefixed with cum example cumsum, to distinguish between cumulative and on axis.
Moved most of the dunder math to _array_func implementations (the exception being pow). Added:
all and any functions to check currently require bool DType (we need to discuss applying truthiness to array members at some point)
The following methods were implemented for NDArray cumprod, cumsum, prod, sum, and mean(both with and without axis).
Changed: