nac3/nac3core/irrt/irrt/ndarray
David Mak fadadd7505 [core] codegen/ndarray: Reimplement np_array()
Based on 8f0084ac: core/ndstrides: implement np_array()

It also checks for inconsistent dimensions if the input is a list.
e.g., rejecting `[[1.0, 2.0], [3.0]]`.

However, currently only `np_array(<input>, copy=False)` and `np_array
(<input>, copy=True)` are supported. In NumPy, copy could be false,
true, or None. Right now, NAC3's `np_array(<input>, copy=False)` behaves
like NumPy's `np.array(<input>, copy=None)`.
2025-01-03 13:58:47 +08:00
..
array.hpp [core] codegen/ndarray: Reimplement np_array() 2025-01-03 13:58:47 +08:00
basic.hpp [core] irrt: Minor cleanup 2024-12-30 14:13:48 +08:00
def.hpp [core] codegen/irrt: Add IRRT functions for strided-ndarray 2024-12-13 15:22:11 +08:00
indexing.hpp [core] irrt: Minor cleanup 2024-12-30 14:13:48 +08:00
iter.hpp [core] codegen: implement ndarray iterator NDIter 2024-12-13 15:23:31 +08:00