Removes in_dtype and out_dtype and other seemingly unnecessary cast operations.
Mojo is generally smart enough to do the correct type conversions, and having the required type parameter not set the result type seems confusing. Anyone using NuMojo will have to learn Mojo's type system, and single type declarations that can usually get implicitly determined by the compiler are both cleaner and more Pythonic anyway.
Also, I removed unused cnvrt_type functions that were unused simple wrappers around SIMD.cast.
Minor fixes to documentation added a simple test for sort, and determined our ND sort behavior does not match numpy.
Removes in_dtype and out_dtype and other seemingly unnecessary cast operations.
Mojo is generally smart enough to do the correct type conversions, and having the required type parameter not set the result type seems confusing. Anyone using NuMojo will have to learn Mojo's type system, and single type declarations that can usually get implicitly determined by the compiler are both cleaner and more Pythonic anyway.
Also, I removed unused
cnvrt_type
functions that were unused simple wrappers aroundSIMD.cast
.Minor fixes to documentation added a simple test for sort, and determined our ND sort behavior does not match numpy.