forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3core/irrt/irrt
lyken d222236492
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)`.
2024-08-30 14:40:15 +08:00
..
ndarray core/ndstrides: implement np_array() 2024-08-30 14:40:15 +08:00
cslice.hpp [core] Use quoted include paths instead of angled brackets 2024-08-28 16:37:03 +08:00
debug.hpp core/irrt: add exceptions and debug utils 2024-08-27 22:55:22 +08:00
exception.hpp core/irrt: fix exception.hpp C++ castings 2024-08-30 13:15:07 +08:00
int_types.hpp core/irrt: rename NDIndex to NDIndexInt 2024-08-30 14:00:19 +08:00
list.hpp core/irrt: add List 2024-08-30 14:20:19 +08:00
math.hpp core/irrt: split into headers 2024-08-27 22:55:22 +08:00
math_util.hpp core/irrt: split into headers 2024-08-27 22:55:22 +08:00
ndarray.hpp core/irrt: rename NDIndex to NDIndexInt 2024-08-30 14:00:19 +08:00
range.hpp core/irrt: add Slice and Range 2024-08-30 13:57:10 +08:00
slice.hpp core/irrt: add Slice and Range 2024-08-30 13:57:10 +08:00