Lines Matching refs:VECTOR
21 #include <vector>
31 void read_xy_file(const string & filename, vector<int> & tab_sizes, vector<double> & tab_mflops);
32 void write_xy_file(const string & filename, vector<int> & tab_sizes, vector<double> & tab_mflops);
33 void smooth_curve(const vector<double> & tab_mflops, vector<double> & smooth_tab_mflops,int window_half_width);
34 void centered_smooth_curve(const vector<double> & tab_mflops, vector<double> & smooth_tab_mflops,int window_half_width);
57 vector<int> tab_sizes;
58 vector<double> tab_mflops;
64 vector<double> smooth_tab_mflops;
78 template<class VECTOR>
79 double weighted_mean(const VECTOR & data)
100 void smooth_curve(const vector<double> & tab_mflops, vector<double> & smooth_tab_mflops,int window_half_width){
106 vector<double> sample(window_width);
125 void centered_smooth_curve(const vector<double> & tab_mflops, vector<double> & smooth_tab_mflops,int window_half_width){
144 if ((before>=0)&&(after<size)) // inside of the vector
160 void write_xy_file(const string & filename, vector<int> & tab_sizes, vector<double> & tab_mflops){
176 void read_xy_file(const string & filename, vector<int> & tab_sizes, vector<double> & tab_mflops){