QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
DataTable< Real > Struct Reference

#include <ql/math/interpolations/multicubicspline.hpp>

+ Collaboration diagram for DataTable< Real >:

Public Member Functions

 DataTable (Size n)
 
 DataTable (const std::vector< Size >::const_iterator &i)
 
 DataTable (const SplineGrid::const_iterator &i)
 
template<class U >
 DataTable (const std::vector< U > &v)
 
Size size () const
 
Real operator[] (Size n) const
 
Realoperator[] (Size n)
 

Public Attributes

std::vector< Realdata_table_
 

Detailed Description

Definition at line 69 of file multicubicspline.hpp.

Constructor & Destructor Documentation

◆ DataTable() [1/4]

DataTable ( Size  n)

Definition at line 70 of file multicubicspline.hpp.

◆ DataTable() [2/4]

DataTable ( const std::vector< Size >::const_iterator &  i)

Definition at line 71 of file multicubicspline.hpp.

◆ DataTable() [3/4]

DataTable ( const SplineGrid::const_iterator &  i)

Definition at line 73 of file multicubicspline.hpp.

◆ DataTable() [4/4]

DataTable ( const std::vector< U > &  v)

Definition at line 75 of file multicubicspline.hpp.

Member Function Documentation

◆ size()

Size size ( ) const

Definition at line 79 of file multicubicspline.hpp.

◆ operator[]() [1/2]

Real operator[] ( Size  n) const

Definition at line 82 of file multicubicspline.hpp.

◆ operator[]() [2/2]

Real & operator[] ( Size  n)

Definition at line 83 of file multicubicspline.hpp.

Member Data Documentation

◆ data_table_

std::vector<Real> data_table_

Definition at line 84 of file multicubicspline.hpp.