Re: Linear Interpolation Class

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Linear-Interpolation-Class-tp3946p3947.html

On 07/27/2005 04:31:54 PM, sami jamjam wrote:

> Hello,
>
> I want use the linear interpolation class to interpolate my discount  
> factors. So I defined the interpolation function as follows :
>
> QuantLib::Handle<Interpolation> interpolations_;
>
>    interpolations_ = Handle<Interpolation>(
>
>                      new LinearInterpolation(xBegin, xEnd, yBegin));

Sami,
        what QuantLib version are you using?

Later,
        Luigi

----------------------------------------

There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the
other way is to make it so complicated that there are no obvious
deficiencies.
-- C. A. R. Hoare