nac3/nac3core/src
lyken 1eb462a5c2 [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)`.
2024-12-24 15:19:00 +08:00
..
codegen [core] codegen/ndarray: Reimplement np_array() 2024-12-24 15:19:00 +08:00
toplevel [core] Refactor/Remove redundant and unused constructs 2024-12-23 22:42:11 +08:00
typecheck [core] Refactor/Remove redundant and unused constructs 2024-12-23 22:42:11 +08:00
lib.rs [core_derive] Initial implementation 2024-11-20 15:35:55 +08:00
symbol_resolver.rs [meta] Refactor itertools::{chain,enumerate,repeat_n} with std equiv 2024-12-18 10:47:15 +08:00