QuantLib_SampledCurve man page

SampledCurve — This class contains a sampled curve.

Synopsis

#include <ql/math/sampledcurve.hpp>

Public Member Functions

SampledCurve (Size gridSize=0)

SampledCurve (const Array &grid)

SampledCurve & operator= (const SampledCurve &)

inspectors

const Array & grid () const

Array & grid ()

const Array & values () const

Array & values ()

Real gridValue (Size i) const

Real & gridValue (Size i)

Real value (Size i) const

Real & value (Size i)

Size size () const

bool empty () const

modifiers

void setGrid (const Array &)

void setValues (const Array &)

template<class F > void sample (const F &f)

calculations

Real valueAtCenter () const

Real firstDerivativeAtCenter () const

Real secondDerivativeAtCenter () const

utilities

void swap (SampledCurve &)

void setLogGrid (Real min, Real max)

void regridLogGrid (Real min, Real max)

void shiftGrid (Real s)

void scaleGrid (Real s)

void regrid (const Array &new_grid)

template<class T > void regrid (const Array &new_grid, T func)

template<class T > const SampledCurve & transform (T x)

template<class T > const SampledCurve & transformGrid (T x)

Detailed Description

This class contains a sampled curve.

Initially the class will contain one indexed curve

Member Function Documentation

Real valueAtCenter () const

Real firstDerivativeAtCenter () const

Real secondDerivativeAtCenter () const

Author

Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

firstDerivativeAtCenter(3), gridValue(3), regrid(3), regridLogGrid(3), sample(3), SampledCurve(3), scaleGrid(3), secondDerivativeAtCenter(3), setGrid(3), setLogGrid(3), shiftGrid(3), transformGrid(3) and valueAtCenter(3) are aliases of QuantLib_SampledCurve(3).

Fri Sep 23 2016 Version 1.8.1 QuantLib