Add Guide

This commit is contained in:
Chris Cannam
2022-05-19 16:31:21 +01:00
parent 5584ccc059
commit cf602218f5
6 changed files with 228 additions and 60 deletions

View File

@@ -42,7 +42,7 @@ public:
// a value greater than the p nearest neighbours on each side. The
// array must have length n where n is the size passed the the
// constructor.
void findNearestAndNextPeaks(const T *const v,
void findNearestAndNextPeaks(const T *v,
int p,
int *nearest,
int *next = nullptr)
@@ -55,7 +55,7 @@ public:
// optionally next, starting to write at index rangeStart - so
// these arrays must have the full length even if rangeCount is
// shorter. Leave the rest of nearest and/or next unmodified.
void findNearestAndNextPeaks(const T *const v,
void findNearestAndNextPeaks(const T *v,
int rangeStart,
int rangeCount,
int p,