NuMojo V0.2
NuMojo V0.2 Release Notes
Major Changes
- Removed
in_dtypeandout_dtypeparameters for simplified type handling - Introduced Rust-like data type aliases (e.g.,
DType.float64→f64) - Implemented function overloading for core mathematical operations (add, sub, etc.)
- Added a new differentiation module
New Features
Array Operations
- Introduced
diagflat()method for creating diagonal arrays - Implemented most basic array creation routines
- Implemented initializer from string
numojo.NDArray("[[1,2,3],[4,5,6]]") - Enhanced
NDArrayconstructor methods - Improved slicing functionality to match NumPy behavior
- Added boolean masking for NDArrays
- Introduced new mathematical methods:
floordiv,mod, and more __getitem__and__setitem__now fully compatible with NumPy behavior
Documentation Updates
- Expanded and updated README
- Improved docstrings for functions
- Added style guide and examples
Testing
- Introduced new test files that are compatible with
mojo test.
Compatibility
- Works with Mojo 24.4
- No external dependencies required
Notes
- Binary distributions are not included due to current limitations in Mojo's packaging system
Contributors
New Contributors
- @mmenendezg made their first contribution in #88
Full Changelog: v0.1...v0.2