Skip to content

NuMojo V0.2

Choose a tag to compare

@shivasankarka shivasankarka released this 17 Aug 14:27
· 514 commits to main since this release
80705fe

NuMojo V0.2 Release Notes

Major Changes

  • Removed in_dtype and out_dtype parameters for simplified type handling
  • Introduced Rust-like data type aliases (e.g., DType.float64f64)
  • 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 NDArray constructor 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