00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020
00021
00022
00023 #ifndef EMBED_GRAPH_H_
00024 #define EMBED_GRAPH_H_
00025
00026 #ifdef __cplusplus
00027
00028 void embed_graph(vtx_data * graph, int n, int dim,
00029 DistType ** (&coords), int);
00030 void center_coordinate(DistType ** coords, int n, int dim);
00031 void PCA(DistType ** coords, int dim, int n, double **(&new_coords),
00032 int new_dim);
00033 void PCA(DistType ** coords, int dim, int n, double **(&new_coords),
00034 int dim1, int dim2, boolean recompute);
00035 void PCA_orthog(DistType ** coords, int dim, int n,
00036 double **(&new_coords), int new_dim, double *orthog);
00037 void iterativePCA(DistType ** coords, int dim, int n,
00038 double **(&new_coords));
00039
00040 #else
00041 #include <defs.h>
00042
00043 extern void embed_graph(vtx_data * graph, int n, int dim, DistType ***,
00044 int);
00045 extern void center_coordinate(DistType **, int, int);
00046
00047 #endif
00048
00049 #endif
00050
00051 #ifdef __cplusplus
00052 }
00053 #endif