pca-in-c/include/matio.h
Ethan Smith-Coss 9fb5cefa08
C implementation of KLT
The committed files are a fully functioning implementation of the
Karhunen–Loève transform (KLT) as defined on Wikipedia, and verified
using multiple languages - Python, R and MATLAB. Note. It may be common
for libraries to call this algorithm 'covariance', 'eig' or similar to
distiguish from the SVD alogrithm or otherwise.

The source code is built entirely on the GNU GSL (2.7) library, to
utilise BLAS optimised functionality.
2025-05-30 23:30:35 +01:00

20 lines
286 B
C

#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#ifndef MATIO_H
#define MATIO_H
void
print_matrix ( gsl_matrix *matrix );
void
print_matrix_complex ( gsl_matrix_complex *matrix );
void
print_vector ( gsl_vector *vec );
void
print_flatten ( gsl_matrix *matrix );
#endif