-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from Mojo-Numerics-and-Algorithms-group/exper…
…imental V0.3 Update
- Loading branch information
Showing
57 changed files
with
7,756 additions
and
2,684 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# NuMojo released changelog | ||
|
||
This is a list of RELEASED changes for the NuMojo Package. | ||
|
||
## 14/10/2024 (v0.3) | ||
|
||
### ⭐️ New | ||
|
||
- Add support for `magic` system and MAX 24.5 (PR #91 #109 by @shivasankarka). | ||
- Add some basic functions, e.g., `diagflat`, `tri`, `trace`, `T` (PR #91 by @shivasankarka). | ||
- Add a constructor which reads arrays from numpy arrays (PR #91 by @shivasankarka). | ||
- Add functions `solve` and `inv` for solving linear algebra `AX = Y` for `X`, finding inverse of a matrix, and conducting LU decomposition (PR #101 #104 #105 by @forFudan). | ||
- Add `itemset` method to fill a scalar into an `NDArray` (PR #102 by @forFudan). | ||
- Add `Idx` struct to represent the index of an `NDArray` (PR #118 by @shivasankarka). | ||
- Add NDArray initialization from numpy arrays (PR #118 by @shivasankarka). | ||
- Created a new `io` module with some basic functions, e.g., `format_float_scientific`, `loadtxt`, `savetxt` (PR #118 by @shivasankarka). | ||
|
||
### 🦋 Changed | ||
|
||
- Make some methods, e.g., `sort`, `flatten`, `inplace` (Issue #87 by @mmenendezg, PR #91 by @shivasankarka). | ||
- Modify initialization of NDArray (PR #97 by @MadAlex1997) | ||
- Added `Formattable` trait and fixed the `print` function (PR #108 by @shivasankarka) | ||
- Refine the `NDArray` initializers and array creation routines (Discussion #90, Issue #110). | ||
- Remove `random` argument from `NDArray` constructors. Make random initializer a standalone functions (Issue #96 by @MadAlex1997, PR #97 by @MadAlex1997, PR #98 by @shivasankarka). | ||
- Remove initializers from `String`. Make `fromstring` a standalone function (#113 by @forFudan). | ||
- Add several `array` overloads for initializing `NDArray` (PR #118 by @shivasankarka). | ||
- Modify the behavior of `__get__` and `__set__`. Passing in a sequence of `Int` or `Slice` returns an `NDArray`. Passing in an `Idx` returns a scalar. Allow users to set a multiple items in one `NDArray` with another `NDArray`, using `__set__` (PR #118 by @shivasankarka, Discussion #70). | ||
|
||
### ❌ Removed | ||
|
||
- Removed all instances of getters and setters with `List[Int]`, `VariadicList[Int]` (PR #118 by @shivasankarka). | ||
|
||
### 🛠️ Fixed | ||
|
||
- Fix the issues in parallelization (due to Max 24.5) for some linear algebra functions, e.g, `matmul`, `solve`, `inv`, etc (PR #115 #117 by @forFudan). | ||
|
||
### 📚 Documentary and testing | ||
|
||
- Add workflows with unit tests and linting (PR #95 by @sandstromviktor). | ||
- Add multi-lingual support (Chinese, Japanese) for the readme file (PR #99 #120 by @forFudan, PR #100 by @shivasankarka). | ||
- Update the test flow file to accommodate MAX 24.5 and the `magic` system (PR #116 by @forFudan). | ||
|
||
## 17/08/2024 (V0.2) | ||
|
||
### ⭐️ New | ||
|
||
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 | ||
- Added boolean masking for NDArrays | ||
- Introduced new mathematical methods: `floordiv`, `mod`, and more | ||
- `__getitem__` and `__setitem__` now fully compatible with NumPy behavior | ||
|
||
Others: | ||
|
||
- 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 | ||
|
||
### 🦋 Changed | ||
|
||
- Improved slicing functionality to match NumPy behavior | ||
|
||
### ❌ Removed | ||
|
||
- Removed `in_dtype` and `out_dtype` parameters for simplified type handling | ||
|
||
### 📚 Documentatory and testing | ||
|
||
Documentation updates: | ||
|
||
- Expanded and updated README | ||
- Improved docstrings for functions | ||
- Added style guide and examples | ||
|
||
Testing updates: | ||
|
||
- Introduced new test files that are compatible with `mojo test`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# NuMojo UNRELEASED changelog | ||
|
||
This is a list of UNRELEASED changes (not yet merged to the nightly branch) for the NuMojo Package. | ||
|
||
When a PR is merged to the nightly branch, the items in this file will be moved to `changelog.md`. | ||
|
||
## dd/mm/yyyy (v0.3) | ||
|
||
### ⭐️ New | ||
|
||
### 🦋 Changed | ||
|
||
### ❌ Removed | ||
|
||
### 🛠️ Fixed | ||
|
||
### 📚 Documentary and testing |
Oops, something went wrong.