Mojo-Numerics-and-Algorithms-group / NuMojo

NuMojo is a library for numerical computing in Mojo 🔥 similar to numpy in Python.
Apache License 2.0
112 stars 15 forks source link

[change] Unify the array creation functions #139

Open forFudan opened 19 hours ago

forFudan commented 19 hours ago

It is related to discussion #90 and #110. Because NDArray() does not provide any hints on parameters, it is always nice to use functions in array_creation_routine to create arrays.

The array creation functions are unified in such a way: