struct PCA *ff_pca_init(int n);
void ff_pca_free(struct PCA *pca);
-void ff_pca_add(struct PCA *pca, double *v);
+void ff_pca_add(struct PCA *pca, const double *v);
int ff_pca(struct PCA *pca, double *eigenvector, double *eigenvalue);
#endif /* AVUTIL_PCA_H */