classif.h
Go to the documentation of this file.00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047 #ifndef CLASSIF_H
00048 #define CLASSIF_H
00049
00050 #ifdef HAVE_CONFIG_H
00051 #include <config.h>
00052 #endif
00053
00055 #define _GNU_SOURCE
00056
00057 #ifdef HAVE_STDIO_H
00058 #include <stdio.h>
00059 #endif
00060 #ifdef HAVE_SYS_TYPES_H
00061 #include <sys/types.h>
00062 #endif
00063 #ifdef HAVE_SIGNAL_H
00064 #include <signal.h>
00065 #endif
00066
00067 #ifdef HAVE_STDLIB_H
00068 #include <stdlib.h>
00069 #endif
00070 #ifdef HAVE_MATH_H
00071 #include <math.h>
00072 #endif
00073 #ifdef HAVE_TIME_H
00074 #include <time.h>
00075 #endif
00076 #ifdef HAVE_STRING_H
00077 #include <string.h>
00078 #endif
00079
00080
00081 #include <gsl/gsl_rng.h>
00082 #include <gsl/gsl_randist.h>
00083 #include <gsl/gsl_statistics.h>
00084
00085
00086 #include <misc.h>
00087
00088
00089 void class_days_pc_clusters(int *days_class_cluster, double *pc_eof_days, double *eof_days_cluster, char *type,
00090 int neof, int ncluster, int ndays);
00091 int generate_clusters(double *clusters, double *pc_eof_days, char *type, int nclassif, int neof, int ncluster, int ndays);
00092 int best_clusters(double *best_clusters, double *pc_eof_days, char *type, int npart, int nclassif, int neof, int ncluster, int ndays);
00093 void mean_variance_dist_clusters(double *mean_dist, double *var_dist, double *pc, double *clusters, double *var_pc,
00094 double *var_pc_norm_all, int neof, int nclust, int ntime);
00095 void dist_clusters_normctrl(double *dist_pc, double *pc, double *clusters, double *var_pc,
00096 double *var_pc_norm_all, double *mean_ctrl, double *var_ctrl,
00097 int neof, int nclust, int ntime);
00098 #endif
00099