ndarray: Implement 2D-2D matrix multiplication #398

Merged
sb10q merged 3 commits from enhance/issue-149-ndarray/2d-matmul into master 2024-04-23 12:11:30 +08:00

3 Commits

Author SHA1 Message Date
David Mak 847615fc2f core: Implement numpy.matmul for 2D-2D ndarrays 2024-04-23 10:27:37 +08:00
David Mak 5dfcc63978 core/classes: Take reference of indexes 2024-04-16 17:20:24 +08:00
David Mak 025b3cd02f core/stmt: Remove gen_if_chained*
Turns out it is really difficult to get lifetimes and closures right, so
let's just provide the most rudimentary if-else codegen and we can nest
them if necessary.
2024-04-16 17:16:50 +08:00