Ignore:
Timestamp:
Dec 26, 2006, 10:56:26 AM (15 years ago)
Author:
Jari Häkkinen
Message:

Addresses #170.

File:
1 edited

Legend:

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

    r703 r718  
    4242  Local::~Local(void)
    4343  {
     44  }
     45
     46  void Local::add(const double x, const double y)
     47  {
     48    data_.push_back(std::make_pair(x,y));
    4449  }
    4550
     
    114119  }
    115120
     121  const utility::vector& Local::x(void) const
     122  {
     123    return x_;
     124  }
     125
     126  const utility::vector& Local::y_predicted(void) const
     127  {
     128    return y_predicted_;
     129  }
     130
     131  const utility::vector& Local::y_err(void) const
     132  {
     133    return y_err_;
     134  }
     135
    116136  std::ostream& operator<<(std::ostream& os, const Local& r)
    117137  {
Note: See TracChangeset for help on using the changeset viewer.