implement np.linspace and np.arange #543
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#543
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Does it have to be very in line with the numpy specification?
e.g. not sure if I can return an NDArray of either ints or floats, depending on the arguments; linspace especially can return either NDArray or a tuple of (NDArray, step); few arguments (like
device
) don't make sense within this context either.NAC3 supports generics and type variables.
https://git.m-labs.hk/M-Labs/nac3/src/branch/master/nac3standalone/demo/src/typevar.py