Mercurial > hg > nnls-chroma
diff nnls.c @ 35:cf8898a0174c matthiasm-plugin
* Split out NNLSChroma plugin into three plugins (chroma, chordino, tuning) with a common base class.
There's still quite a lot of duplication between the getRemainingFeatures functions.
Also add copyright / copying headers, etc.
author | Chris Cannam |
---|---|
date | Fri, 22 Oct 2010 11:30:21 +0100 |
parents | da3195577172 |
children | 259ef0f4622b |
line wrap: on
line diff
--- a/nnls.c Fri Oct 22 16:19:40 2010 +0900 +++ b/nnls.c Fri Oct 22 11:30:21 2010 +0100 @@ -1,5 +1,16 @@ #include "nnls.h" +/* + NNLS-Chroma / Chordino + + This file is converted from the Netlib FORTRAN code NNLS.FOR, + developed by Charles L. Lawson and Richard J. Hanson at Jet + Propulsion Laboratory 1973 JUN 15, and published in the book + "SOLVING LEAST SQUARES PROBLEMS", Prentice-Hall, 1974. + + Refer to nnls.f for the original code and comments. +*/ + #include <math.h> #define nnls_max(a,b) ((a) >= (b) ? (a) : (b))