Real shortRate(Time t, Real x) const { return std::exp(x + fitting_(t)); }
virtual Rate shortRate(Time t, Real x, Real y) const { return fitting_(t) + x + y; }
Real variable(Time t, Rate r) const { return std::log(r) - fitting_(t); }