-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[RFC]: Bray-Curtis distance between two strided arrays #834
Copy link
Copy link
Open
Labels
AcceptedRFC feature request which has been accepted.RFC feature request which has been accepted.FeatureIssue or pull request for adding a new feature.Issue or pull request for adding a new feature.Native AddonsIssue involves or relates to Node.js native add-ons.Issue involves or relates to Node.js native add-ons.RFCRequest for comments. Feature requests and proposed changes.Request for comments. Feature requests and proposed changes.
Metadata
Metadata
Assignees
Labels
AcceptedRFC feature request which has been accepted.RFC feature request which has been accepted.FeatureIssue or pull request for adding a new feature.Issue or pull request for adding a new feature.Native AddonsIssue involves or relates to Node.js native add-ons.Issue involves or relates to Node.js native add-ons.RFCRequest for comments. Feature requests and proposed changes.Request for comments. Feature requests and proposed changes.
Description
This RFC proposes adding a function to calculate the Bray-Curtis distance between two strided arrays.
Package:
@stdlib/math/strided/distances/braycurtisThe function should have the following signature
braycurtis( N, x, strideX, y, strideY ).The function should return the Bray-Curtis distance between the two arrays. It is calculated by
where
x_iandy_iare corresponding elements from the two arrays.References
Related Issues
None.
Questions
No.
Other
No.
Checklist
RFC:.