forked from M-Labs/nac3
1
0
Fork 0
Commit Graph

15 Commits

Author SHA1 Message Date
lyken 5c6537565c core/ndstrides: implement general ndarray reshaping 2024-07-26 17:37:07 +08:00
lyken 7372ef0504 core/ndstrides: implement general ndarray basic indexing 2024-07-26 17:37:05 +08:00
lyken bf2026e010 core/ndstrides: implement IRRT slice
Needed by ndarray indexing
2024-07-26 16:31:42 +08:00
lyken 85ef06f1e2 core/ndstrides: implement ndarray np_{empty,ndarray,zeros,ones,full} 2024-07-26 16:23:11 +08:00
lyken fc9d47fb54 core/irrt: fix error context check logic error 2024-07-26 16:21:42 +08:00
lyken 04897ec8d4 core/ndstrides: add basic NDArray IRRT functions 2024-07-26 15:36:44 +08:00
lyken 19c2beffbb core/irrt: fix improper template def 2024-07-26 15:06:57 +08:00
lyken 92b97a9f4f core/ndstrides: add NDArray definition with strides 2024-07-26 15:06:14 +08:00
lyken 9c3a10377f core/irrt: add ErrorContext
ErrorContext allows IRRT to report a Python-like exception
2024-07-26 15:01:09 +08:00
lyken afab0a997c core/irrt: add cstr_utils 2024-07-26 12:39:59 +08:00
lyken ae88175c4c core/irrt: comment arrays_match() 2024-07-26 12:36:52 +08:00
lyken f9dc6bf40c core/irrt: introduce irrt testing
`cargo test -F test` would compile `nac3core/irrt/irrt_test.cpp`
targetted to the host machine (it gets to use `std`) and run the
test executable.
2024-07-26 12:32:41 +08:00
lyken e127171c81 core/irrt: split irrt.cpp into headers
To scale IRRT implementations
2024-07-26 12:32:11 +08:00
lyken e5fd93c0e0 core/irrt: reformat 2024-07-26 12:29:16 +08:00
lyken 1f19a8b54b core/irrt: comment build.rs & move irrt to its own dir
To prepare for future IRRT implementations, and to also make cargo
only have to watch a single directory.
2024-07-22 17:32:32 +08:00