nac3/nac3core
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
..
irrt [core] codegen/ndarray: Reimplement np_array() 2024-12-24 15:19:00 +08:00
nac3core_derive [core_derive] Ignore doctest in example 2024-11-22 00:00:05 +08:00
src [core] codegen/ndarray: Reimplement np_array() 2024-12-24 15:19:00 +08:00
build.rs [meta] Cleanup from upgrading Rust version 2024-11-19 13:43:57 +08:00
Cargo.toml [core_derive] Initial implementation 2024-11-20 15:35:55 +08:00