Ignore:
Timestamp:
Feb 22, 2008, 12:18:41 AM (14 years ago)
Author:
Peter
Message:

vector is now Vector

File:
1 edited

Legend:

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

    r1049 r1120  
    2626#include "Kernel.h"
    2727#include "OneDimensionalWeighted.h"
    28 #include "yat/utility/vector.h"
     28#include "yat/utility/Vector.h"
    2929#include "yat/utility/VectorView.h"
    3030
     
    6868
    6969    size_t nof_fits=data_.size()/step_size;
    70     x_ = utility::vector(nof_fits);
    71     y_predicted_ = utility::vector(x_.size());
    72     y_err_ = utility::vector(x_.size());
     70    x_ = utility::Vector(nof_fits);
     71    y_predicted_ = utility::Vector(x_.size());
     72    y_err_ = utility::Vector(x_.size());
    7373    sort(data_.begin(), data_.end());
    7474
    7575    // coying data to 2 utility vectors ONCE to use views from
    76     utility::vector x(data_.size());
    77     utility::vector y(data_.size());
     76    utility::Vector x(data_.size());
     77    utility::Vector y(data_.size());
    7878    for (size_t j=0; j<x.size(); j++){
    7979      x(j)=data_[j].first;
     
    115115
    116116      // calculating weights
    117       utility::vector w(max_index-min_index+1);
     117      utility::Vector w(max_index-min_index+1);
    118118      for (size_t j=0; j<w.size(); j++)
    119119        w(j) = (*kernel_)( (x_local(j)- x_mid)/width );
     
    128128  }
    129129
    130   const utility::vector& Local::x(void) const
     130  const utility::Vector& Local::x(void) const
    131131  {
    132132    return x_;
    133133  }
    134134
    135   const utility::vector& Local::y_predicted(void) const
     135  const utility::Vector& Local::y_predicted(void) const
    136136  {
    137137    return y_predicted_;
    138138  }
    139139
    140   const utility::vector& Local::y_err(void) const
     140  const utility::Vector& Local::y_err(void) const
    141141  {
    142142    return y_err_;
Note: See TracChangeset for help on using the changeset viewer.