-
Notifications
You must be signed in to change notification settings - Fork 192
Closed
Labels
APIDiscussion on a specific API for a proposal (exploratory)Discussion on a specific API for a proposal (exploratory)ideaProposition of an idea and opening an issue to discuss itProposition of an idea and opening an issue to discuss it
Description
Motivation
Here are some questions about the diff
procedure:
- Is it worth introducing
diff
procedure? - API of
diff
procecure?
Function? Subroutine? - Return value:
allocatbable
array orautomatic
array?
#605 is about the submission of diff
, it seems that the efficiency of this implementation needs to be improved. Its API needs to be discussed and reached a consensus.
@gareth-nx has some suggestions in #605. (see here )
- Efficiency
- API
- User-oriented
Prior Art
Y = diff(X)
Y = diff(X,n)
Y = diff(X,n,dim)
Y = numpy.diff(a, n=1, axis=-1, prepend=<no value>, append=<no value>)
Note:
prepend, append: array_like, optional
: New in numpy version 1.16.0.
Additional Information
No response
LKedward
Metadata
Metadata
Assignees
Labels
APIDiscussion on a specific API for a proposal (exploratory)Discussion on a specific API for a proposal (exploratory)ideaProposition of an idea and opening an issue to discuss itProposition of an idea and opening an issue to discuss it