Commit Graph

11 Commits

Author SHA1 Message Date
lyken 0360c42351
core/codegen: implement genereal ndarray indexing
`...`, `none` are now also supported.
2024-08-20 20:05:15 +08:00
lyken 247cc73377
core/irrt: rename NDIndex to NDIndexInt
The name `NDIndex` is used in later commits.
2024-08-20 17:03:51 +08:00
lyken 49b5c92f15
core/irrt: add Slice and ResolvedSlice
Needed for implementing general ndarray indexing
2024-08-20 17:03:51 +08:00
lyken 5113c12b8b
core/ndstrides: add ndarray iterator 2024-08-20 17:03:51 +08:00
lyken 51740c6c90
core/ndstrides: add basic ndarray utilities 2024-08-20 17:03:51 +08:00
lyken f090b3b4d2
core/ndstrides: define ndarray with strides 2024-08-20 17:03:51 +08:00
lyken eb1dee81d0
core/irrt/exceptions: add debug utils with exceptions 2024-08-20 15:35:47 +08:00
lyken 61ecbb4e47
core/irrt/exceptions: allow irrt to raise exceptions 2024-08-20 15:35:47 +08:00
lyken dcd9010dd1
core/irrt: split irrt.cpp into headers 2024-08-20 15:35:47 +08:00
lyken 290e6b97d2
core/irrt: reformat 2024-08-20 15:35:47 +08:00
lyken 9b3790631d
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-08-20 15:35:47 +08:00