Changeset 681 for trunk


Ignore:
Timestamp:
Oct 11, 2006, 11:38:46 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Moved namespace regression up one level (leaving namespace statistics).

Location:
trunk/yat/statistics
Files:
26 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/Kernel.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_kernel_
    2 #define _theplu_yat_statistics_kernel_
     1#ifndef _theplu_yat_regression_kernel_
     2#define _theplu_yat_regression_kernel_
    33
    44// $Id$
     
    2727namespace theplu {
    2828namespace yat {
    29 namespace statistics {
    3029namespace regression {
     30
    3131  ///
    3232  /// Abstract Base Class for calculating the weights in a more
    3333  /// general way than classical rectangular windows.
    3434  ///
    35 
    3635  class Kernel
    3736  {
     
    5150  };
    5251
    53 }}}} // of namespaces regression, statisitcs, yat, and theplu
     52}}} // of namespaces regression, yat, and theplu
    5453
    5554#endif
  • trunk/yat/statistics/KernelBox.cc

    r680 r681  
    2626namespace theplu {
    2727namespace yat {
    28 namespace statistics {
    2928namespace regression {
    3029
     
    4241  }
    4342
    44 }}}} // of namespaces regression, statisitcs, yat, and theplu
     43}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/KernelBox.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_kernel_box_
    2 #define _theplu_yat_statistics_regression_kernel_box_
     1#ifndef _theplu_yat_regression_kernelbox_
     2#define _theplu_yat_regression_kernelbox_
    33
    44// $Id$
     
    2929namespace theplu {
    3030namespace yat {
    31 namespace statistics {
    32 namespace regression{
     31namespace regression {
    3332
    3433  ///
     
    5352  };
    5453
    55 }}}} // of namespaces regression, statisitcs, yat, and theplu
     54}}} // of namespaces regression, yat, and theplu
    5655
    5756#endif
  • trunk/yat/statistics/KernelTriCube.cc

    r680 r681  
    2929namespace theplu {
    3030namespace yat {
    31 namespace statistics {
    3231namespace regression {
    3332
     
    4544  }
    4645
    47 }}}} // of namespaces regression, statisitcs, yat, and theplu
     46}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/KernelTriCube.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_kernel_tricube_
    2 #define _theplu_yat_statistics_kernel_tricube_
     1#ifndef _theplu_yat_regression_kerneltricube_
     2#define _theplu_yat_regression_kerneltricube_
    33
    44// $Id$
     
    2929namespace theplu {
    3030namespace yat {
    31 namespace statistics {
    3231namespace regression {
    3332
     
    5352  };
    5453
    55 }}}} // of namespaces regression, statisitcs, yat, and theplu
     54}}} // of namespaces regression, yat, and theplu
    5655
    5756#endif
  • trunk/yat/statistics/Linear.cc

    r680 r681  
    2828#include <gsl/gsl_fit.h>
    2929
    30 
    3130namespace theplu {
    3231namespace yat {
    33 namespace statistics {
    3432namespace regression {
    35 
    3633
    3734  void Linear::fit(const utility::vector& x, const utility::vector& y)
     
    6865  }
    6966
    70 }}}} // of namespaces regression, statisitcs, yat, and theplu
     67}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/Linear.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_linear_
    2 #define _theplu_yat_statistics_regression_linear_
     1#ifndef _theplu_yat_regression_linear_
     2#define _theplu_yat_regression_linear_
    33
    44// $Id$
     
    3434    class vector;
    3535  }
    36 namespace statistics { 
    3736namespace regression {
    3837
     
    122121  };
    123122
    124 }}}} // of namespaces regression,, yat statisitcs thep
     123}}} // of namespaces regression, yat, and theplu
    125124
    126125#endif
  • trunk/yat/statistics/LinearWeighted.cc

    r680 r681  
    3030namespace theplu {
    3131namespace yat {
    32 namespace statistics {
    3332namespace regression {
    34 
    3533
    3634  void LinearWeighted::fit(const utility::vector& x,
     
    6563  }
    6664
    67 
    68 }}}} // of namespaces regression,, yat statisitcs thep
     65}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/LinearWeighted.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_linear_weighted_
    2 #define _theplu_yat_statistics_regression_linear_weighted_
     1#ifndef _theplu_yat_regression_linearweighted_
     2#define _theplu_yat_regression_linearweighted_
    33
    44// $Id$
     
    3434    class vector;
    3535  }
    36 namespace statistics {
    3736namespace regression {
    3837
     
    130129  };
    131130
    132 }}}} // of namespaces regression,, yat statisitcs thep
     131}}} // of namespaces regression, yat, and theplu
    133132
    134133#endif
  • trunk/yat/statistics/Local.cc

    r680 r681  
    3333namespace theplu {
    3434namespace yat {
    35 namespace statistics {
    3635namespace regression {
    37 
    3836
    3937  void Local::fit(const size_t step_size, const size_t nof_points)
     
    4139    if (step_size==0 || nof_points<3){
    4240      // Peter to Jari, throw exception?
    43       std::cerr << "theplu::statistics::regression::Local "
     41      std::cerr << "theplu::regression::Local "
    4442                << "Parameters invalid. Fitting ignored." << std::endl;
    4543      return;
     
    120118    return os;
    121119  }
    122 }}}} // of namespaces regression,, yat statisitcs thep
     120
     121}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/Local.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_local_
    2 #define _theplu_yat_statistics_regression_local_
     1#ifndef _theplu_yat_regression_local_
     2#define _theplu_yat_regression_local_
    33
    44// $Id$
     
    3333namespace theplu {
    3434namespace yat {
    35 namespace statistics {
    3635namespace regression {
    3736
     
    111110  std::ostream& operator<<(std::ostream&, const Local& );
    112111
    113 
    114 }}}} // of namespaces regression,, yat statistics thep
     112}}} // of namespaces regression, yat, and theplu
    115113
    116114#endif
  • trunk/yat/statistics/MultiDimensional.cc

    r680 r681  
    2828namespace theplu {
    2929namespace yat {
    30 namespace statistics {
    3130namespace regression {
    3231
     
    6867  }
    6968
    70 }}}} // of namespaces regression,, yat statisitcs thep
     69}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/MultiDimensional.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_multidimensional_
    2 #define _theplu_yat_statistics_regression_multidimensional_
     1#ifndef _theplu_yat_regression_multidimensional_
     2#define _theplu_yat_regression_multidimensional_
    33
    44// $Id$
     
    3232namespace theplu {
    3333namespace yat {
    34 namespace statistics {
    3534namespace regression {
    3635
     
    8786  };
    8887
    89 
    90 }}}} // of namespaces regression,, yat statisitcs thep
     88}}} // of namespaces regression, yat, and theplu
    9189
    9290#endif
  • trunk/yat/statistics/MultiDimensionalWeighted.cc

    r680 r681  
    3030namespace theplu {
    3131namespace yat {
    32 namespace statistics {
    3332namespace regression {
    34 
    3533
    3634  void MultiDimensionalWeighted::fit(const utility::matrix& x,
     
    7573  }
    7674
    77 }}}} // of namespaces regression,, yat statisitcs thep
     75}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/MultiDimensionalWeighted.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_multidimensional_weighted_
    2 #define _theplu_yat_statistics_regression_multidimensional_weighted_
     1#ifndef _theplu_yat_regression_multidimensionalweighted_
     2#define _theplu_yat_regression_multidimensionalweighted_
    33
    44// $Id$
     
    3232namespace theplu {
    3333namespace yat {
    34 namespace statistics {
    3534namespace regression {
    3635
     
    8887  };
    8988
    90 
    91 }}}} // of namespaces regression,, yat statisitcs thep
     89}}} // of namespaces regression, yat, and theplu
    9290
    9391#endif
  • trunk/yat/statistics/Naive.cc

    r680 r681  
    3333namespace theplu {
    3434namespace yat {
    35 namespace statistics {
    3635namespace regression {
    37 
    3836
    3937  void Naive::fit(const utility::vector& x, const utility::vector& y)
     
    5957  }
    6058
    61 
    62 }}}} // of namespaces regression,, yat statisitcs thep
     59}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/Naive.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_naive_
    2 #define _theplu_yat_statistics_regression_naive_
     1#ifndef _theplu_yat_regression_naive_
     2#define _theplu_yat_regression_naive_
    33
    44// $Id$
     
    3535    class vector;
    3636  }
    37 namespace statistics {
    3837namespace regression {
    3938
     
    9392  };
    9493
    95 
    96 }}}} // of namespaces regression,, yat statisitcs thep
     94}}} // of namespaces regression, yat, and theplu
    9795
    9896#endif
  • trunk/yat/statistics/NaiveWeighted.cc

    r680 r681  
    2929namespace theplu {
    3030namespace yat {
    31 namespace statistics {
    3231namespace regression {
    3332
    34 
    3533  void NaiveWeighted::fit(const utility::vector& x,
    36                   const utility::vector& y,
    37                   const utility::vector& w)
     34                          const utility::vector& y,
     35                          const utility::vector& w)
    3836  {
    3937    AveragerWeighted a;
     
    4543  }
    4644
    47 
    48 }}}} // of namespaces regression,, yat statisitcs thep
     45}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/NaiveWeighted.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_naive_weighted_
    2 #define _theplu_yat_statistics_regression_naive_weighted_
     1#ifndef _theplu_yat_regression_naiveweighted_
     2#define _theplu_yat_regression_naiveweighted_
    33
    44// $Id$
     
    3636    class vector;
    3737  }
    38 namespace statistics {
    3938namespace regression {
    4039
     
    9998  };
    10099
    101 
    102 }}}} // of namespaces regression,, yat statisitcs thep
     100}}} // of namespaces regression, yat, and theplu
    103101
    104102#endif
  • trunk/yat/statistics/OneDimensional.cc

    r680 r681  
    2626namespace theplu {
    2727namespace yat {
    28 namespace statistics {
    2928namespace regression {
    3029
     
    4847  }
    4948
    50 }}}} // of namespaces regression,, yat statisitcs thep
     49}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/OneDimensional.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_onedimensioanl_
    2 #define _theplu_yat_statistics_regression_onedimensioanl_
     1#ifndef _theplu_yat_regression_onedimensional_
     2#define _theplu_yat_regression_onedimensional_
    33
    44// $Id$
     
    3434  class vector;
    3535}
    36 
    37 namespace statistics {
    3836namespace regression {
    3937 
     
    9795  };
    9896
    99 }}}} // of namespaces regression,, yat statisitcs thep
     97}}} // of namespaces regression, yat, and theplu
    10098
    10199#endif
  • trunk/yat/statistics/OneDimensionalWeighted.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_onedimensioanlweighted_
    2 #define _theplu_yat_statistics_regression_onedimensioanlweighted_
     1#ifndef _theplu_yat_regression_onedimensioanlweighted_
     2#define _theplu_yat_regression_onedimensioanlweighted_
    33
    44// $Id$
     
    3232  class vector;
    3333}
    34 
    35 namespace statistics {
    3634namespace regression {
    3735 
     
    9088  };
    9189
    92 }}}} // of namespaces regression,, yat statisitcs thep
     90}}} // of namespaces regression, yat, and theplu
    9391
    9492#endif
  • trunk/yat/statistics/Polynomial.cc

    r680 r681  
    2828namespace theplu {
    2929namespace yat {
    30 namespace statistics {
    3130namespace regression {
    32 
    3331
    3432  void Polynomial::fit(const utility::vector& x, const utility::vector& y)
     
    6563  }
    6664
    67 }}}} // of namespaces regression,, yat statisitcs thep
     65}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/Polynomial.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_polynomial_
    2 #define _theplu_yat_statistics_regression_polynomial_
     1#ifndef _theplu_yat_regression_polynomial_
     2#define _theplu_yat_regression_polynomial_
    33
    44// $Id$
     
    3535namespace theplu {
    3636namespace yat {
    37 namespace statistics {
    3837namespace regression {
    3938
     
    8887  };
    8988
    90 
    91 }}}} // of namespaces regression,, yat statisitcs thep
     89}}} // of namespaces regression, yat, and theplu
    9290
    9391#endif
  • trunk/yat/statistics/PolynomialWeighted.cc

    r680 r681  
    3030namespace theplu {
    3131namespace yat {
    32 namespace statistics {
    3332namespace regression {
    34 
    3533
    3634  void PolynomialWeighted::fit(const utility::vector& x,
     
    7270  }
    7371
    74 }}}} // of namespaces regression,, yat statisitcs thep
     72}}} // of namespaces regression, yat, and theplu
  • trunk/yat/statistics/PolynomialWeighted.h

    r680 r681  
    1 #ifndef _theplu_yat_statistics_regression_polynomial_weighted_
    2 #define _theplu_yat_statistics_regression_polynomial_weighted_
     1#ifndef _theplu_yat_regression_polynomialweighted_
     2#define _theplu_yat_regression_polynomialweighted_
    33
    44// $Id$
     
    3333namespace theplu {
    3434namespace yat {
    35 namespace statistics {
    3635namespace regression {
    3736
     
    9190  };
    9291
    93 
    94 }}}} // of namespaces regression,, yat statisitcs thep
     92}}} // of namespaces regression, yat, and theplu
    9593
    9694#endif
Note: See TracChangeset for help on using the changeset viewer.