Mercurial > hg > qm-dsp
annotate maths/pca/pca.h @ 125:5351b5e9ad9f
Add gcd
author | Chris Cannam |
---|---|
date | Tue, 08 Oct 2013 17:23:17 +0100 |
parents | e5907ae6de17 |
children | 701233f8ed41 |
rev | line source |
---|---|
cannam@19 | 1 #ifndef _PCA_H |
cannam@19 | 2 #define _PCA_H |
cannam@19 | 3 |
cannam@20 | 4 #ifdef __cplusplus |
cannam@20 | 5 extern "C" { |
cannam@20 | 6 #endif |
cannam@20 | 7 |
cannam@19 | 8 /* |
cannam@19 | 9 * pca.h |
cannam@19 | 10 * |
cannam@19 | 11 * Created by Mark Levy on 08/02/2006. |
Chris@84 | 12 * Copyright 2006 Centre for Digital Music, Queen Mary, University of London. |
Chris@84 | 13 |
Chris@84 | 14 This program is free software; you can redistribute it and/or |
Chris@84 | 15 modify it under the terms of the GNU General Public License as |
Chris@84 | 16 published by the Free Software Foundation; either version 2 of the |
Chris@84 | 17 License, or (at your option) any later version. See the file |
Chris@84 | 18 COPYING included with this distribution for more information. |
cannam@19 | 19 * |
cannam@19 | 20 */ |
cannam@19 | 21 |
cannam@19 | 22 void pca_project(double** data, int n, int m, int ncomponents); |
cannam@19 | 23 |
cannam@20 | 24 #ifdef __cplusplus |
cannam@20 | 25 } |
cannam@20 | 26 #endif |
cannam@20 | 27 |
cannam@19 | 28 |
cannam@19 | 29 #endif |
cannam@19 | 30 |