Changeset 1025 for trunk/yat


Ignore:
Timestamp:
Feb 1, 2008, 7:25:35 PM (14 years ago)
Author:
Peter
Message:

passing VectorBase? in regression::utility - refs #256

Location:
trunk/yat/statistics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/utility.cc

    r1000 r1025  
    4242  }
    4343
    44   double kurtosis(const utility::vector& v)
     44  double kurtosis(const utility::VectorBase& v)
    4545  {
    4646    const gsl_vector* gvp=v.gsl_vector_p();
     
    4949
    5050
    51   double skewness(const utility::vector& v)
     51  double skewness(const utility::VectorBase& v)
    5252  {
    5353    const gsl_vector* gvp=v.gsl_vector_p();
  • trunk/yat/statistics/utility.h

    r1000 r1025  
    3030#include "yat/classifier/DataLookupWeighted1D.h"
    3131#include "yat/classifier/Target.h"
    32 #include "yat/utility/vector.h"
     32#include "yat/utility/VectorBase.h"
    3333#include "yat/utility/yat_assert.h"
    3434
     
    9999  /// gaussian distribution.
    100100  ///
    101   double kurtosis(const utility::vector&);
     101  double kurtosis(const utility::VectorBase&);
    102102
    103103
     
    192192  /// distribution.
    193193  ///
    194   double skewness(const utility::vector&);
     194  double skewness(const utility::VectorBase&);
    195195 
    196196}}} // of namespace statistics, yat, and theplu
Note: See TracChangeset for help on using the changeset viewer.