forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3core/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
..
irrt core/ndstrides: implement np_array() 2024-08-30 14:40:15 +08:00
irrt.cpp core/ndstrides: implement np_array() 2024-08-30 14:40:15 +08:00