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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/regression/MultiDimensionalWeighted.cc

    r1009 r1022  
    5252
    5353  void MultiDimensionalWeighted::fit(const utility::matrix& x,
    54                                      const utility::vector& y,
    55                                      const utility::vector& w)
     54                                     const utility::VectorBase& y,
     55                                     const utility::VectorBase& w)
    5656  {
    5757    assert(y.size()==w.size());
     
    8686
    8787
    88   double MultiDimensionalWeighted::predict(const utility::vector& x) const
     88  double MultiDimensionalWeighted::predict(const utility::VectorBase& x) const
    8989  {
    9090    assert(x.size()==fit_parameters_.size());
     
    9393
    9494
    95   double MultiDimensionalWeighted::prediction_error2(const utility::vector& x,
     95  double MultiDimensionalWeighted::prediction_error2(const utility::VectorBase& x,
    9696                                                     const double w) const
    9797  {
     
    107107
    108108  double
    109   MultiDimensionalWeighted::standard_error2(const utility::vector& x) const
     109  MultiDimensionalWeighted::standard_error2(const utility::VectorBase& x) const
    110110  {
    111111    double c = 0;
Note: See TracChangeset for help on using the changeset viewer.