Skip to content

Commit d6bb383

Browse files
authored
Merge pull request #103 from forFudan/changelog
[Doc] Update to the changelog post v0.2
2 parents 6dc0f33 + 89d4267 commit d6bb383

File tree

2 files changed

+77
-12
lines changed

2 files changed

+77
-12
lines changed

docs/changelog.md

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,80 @@
22

33
This is a list of RELEASED changes for the NuMojo Package.
44

5-
## dd/mm/yyyy (version)
5+
## dd/mm/yyyy (v0.3)
66

77
### ⭐️ New
88

9+
- Add support for `magic` system and MAX 24.5 (PR #91 #109 by @shivasankarka).
10+
- Add some basic functions, e.g., `diagflat`, `tri`, `trace`, `T` (PR #91 by @shivasankarka).
11+
- Add a constructor which reads arrays from numpy arrays (PR #91 by @shivasankarka).
12+
- 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).
13+
- Add `itemset` method to fill a scalar into an `NDArray` (PR #102 by @forFudan).
14+
- Add `Idx` struct to represent the index of an `NDArray` (PR #118 by @shivasankarka).
15+
- Add NDArray initialization from numpy arrays (PR #118 by @shivasankarka).
16+
- Created a new `io` module with some basic functions, e.g., `format_float_scientific`, `loadtxt`, `savetxt` (PR #118 by @shivasankarka).
17+
918
### 🦋 Changed
1019

20+
- Make some methods, e.g., `sort`, `flatten`, `inplace` (Issue #87 by @mmenendezg, PR #91 by @shivasankarka).
21+
- Modify initialization of NDArray (PR #97 by @MadAlex1997)
22+
- Added `Formattable` trait and fixed the `print` function (PR #108 by @shivasankarka)
23+
- Refine the `NDArray` initializers and array creation routines (Discussion #90, Issue #110).
24+
- Remove `random` argument from `NDArray` constructors. Make random initializer a standalone functions (Issue #96 by @MadAlex1997, PR #97 by @MadAlex1997, PR #98 by @shivasankarka).
25+
- Remove initializers from `String`. Make `fromstring` a standalone function (#113 by @forFudan).
26+
- Add several `array` overloads for initializing `NDArray` (PR #118 by @shivasankarka).
27+
- 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).
28+
1129
### ❌ Removed
1230

31+
- Removed all instances of getters and setters with `List[Int]`, `VariadicList[Int]` (PR #118 by @shivasankarka).
32+
1333
### 🛠️ Fixed
34+
35+
- 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).
36+
37+
### 📚 Documentary and testing
38+
39+
- Add workflows with unit tests and linting (PR #95 by @sandstromviktor).
40+
- Add multi-lingual support (Chinese, Japanese) for the readme file (PR #99 #120 by @forFudan, PR #100 by @shivasankarka).
41+
- Update the test flow file to accommodate MAX 24.5 and the `magic` system (PR #116 by @forFudan).
42+
43+
## 17/08/2024 (V0.2)
44+
45+
### ⭐️ New
46+
47+
Array operations:
48+
49+
- Introduced `diagflat()` method for creating diagonal arrays
50+
- Implemented most basic array creation routines
51+
- Implemented initializer from string `numojo.NDArray("[[1,2,3],[4,5,6]]")`
52+
- Enhanced `NDArray` constructor methods
53+
- Added boolean masking for NDArrays
54+
- Introduced new mathematical methods: `floordiv`, `mod`, and more
55+
- `__getitem__` and `__setitem__` now fully compatible with NumPy behavior
56+
57+
Others:
58+
59+
- Introduced Rust-like data type aliases (e.g., `DType.float64``f64`)
60+
- Implemented function overloading for core mathematical operations (add, sub, etc.)
61+
- Added a new differentiation module
62+
63+
### 🦋 Changed
64+
65+
- Improved slicing functionality to match NumPy behavior
66+
67+
### ❌ Removed
68+
69+
- Removed `in_dtype` and `out_dtype` parameters for simplified type handling
70+
71+
### 📚 Documentatory and testing
72+
73+
Documentation updates:
74+
75+
- Expanded and updated README
76+
- Improved docstrings for functions
77+
- Added style guide and examples
78+
79+
Testing updates:
80+
81+
- Introduced new test files that are compatible with `mojo test`.

docs/changelog_unreleased.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
# NuMojo UNRELEASED changelog
22

3-
This is a list of UNRELEASED changes for the NuMojo Package.
3+
This is a list of UNRELEASED changes (not yet merged to the nightly branch) for the NuMojo Package.
44

5-
When we make a release, the items in this file will be edited and moved to `changelog.md`.
5+
When a PR is merged to the nightly branch, the items in this file will be moved to `changelog.md`.
66

7-
## ⭐️ New
7+
## dd/mm/yyyy (v0.3)
88

9-
- Add workflows with unit tests and linting ([PR #95](https://github.com/Mojo-Numerics-and-Algorithms-group/NuMojo/pull/95)
10-
by [@sandstromviktor](https://github.com/sandstromviktor))
11-
- Add multi-langual support for the readme file ([PR #99](https://github.com/Mojo-Numerics-and-Algorithms-group/NuMojo/pull/99) by [@forFudan](https://github.com/forFudan)).
9+
### ⭐️ New
1210

13-
## 🦋 Changed
11+
### 🦋 Changed
1412

15-
- Modify initialization of NDArray ([PR #97](https://github.com/Mojo-Numerics-and-Algorithms-group/NuMojo/pull/97)
16-
by [@MadAlex1997](https://github.com/MadAlex1997))
13+
### ❌ Removed
1714

18-
## ❌ Removed
15+
### 🛠️ Fixed
1916

20-
## 🛠️ Fixed
17+
### 📚 Documentary and testing

0 commit comments

Comments
 (0)