-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
API extensionAdds new functions or objects to the API.Adds new functions or objects to the API.
Description
It would be useful to have some gradient implementation in the spec. Possibly starting with np.gradient.
Though it is worth noting that np.gradient returns separate arrays in a list, but this can be an issue if users want them combined (since this entails a copy of potentially large arrays). To alleviate this, it would be helpful to have some option to return them pre-stacked. Usually it is pretty trivial to split them up later if needed list(a_g).
Edit: Another possible option would be an out parameter. Though this may need some clarification given the current list behavior.
Metadata
Metadata
Assignees
Labels
API extensionAdds new functions or objects to the API.Adds new functions or objects to the API.