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< X > Struct Template Reference

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

+ Collaboration diagram for DataTable< X >:

Public Member Functions

 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
 
const X & operator[] (Size n) const
 
X & operator[] (Size n)
 

Public Attributes

std::vector< X > data_table_
 

Detailed Description

template<class X>
struct QuantLib::detail::DataTable< X >

Definition at line 48 of file multicubicspline.hpp.

Constructor & Destructor Documentation

◆ DataTable() [1/3]

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

Definition at line 49 of file multicubicspline.hpp.

◆ DataTable() [2/3]

DataTable ( const SplineGrid::const_iterator &  i)

Definition at line 53 of file multicubicspline.hpp.

◆ DataTable() [3/3]

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

Definition at line 57 of file multicubicspline.hpp.

Member Function Documentation

◆ size()

Size size ( ) const

Definition at line 61 of file multicubicspline.hpp.

+ Here is the caller graph for this function:

◆ operator[]() [1/2]

const X & operator[] ( Size  n) const

Definition at line 64 of file multicubicspline.hpp.

◆ operator[]() [2/2]

X & operator[] ( Size  n)

Definition at line 65 of file multicubicspline.hpp.

Member Data Documentation

◆ data_table_

std::vector<X> data_table_

Definition at line 66 of file multicubicspline.hpp.