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
Data< std::vector< Real >, EmptyArg > Struct Reference

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

+ Collaboration diagram for Data< std::vector< Real >, EmptyArg >:

Public Member Functions

 Data ()=default
 
 Data (const SplineGrid::const_iterator &i)
 
 Data (const SplineGrid &v)
 
 Data (std::vector< Real > v)
 
void swap (Data< std::vector< Real >, EmptyArg > &d) noexcept
 
Real operator[] (Size n) const
 
Realoperator[] (Size n)
 

Public Attributes

std::vector< Realfirst
 
EmptyArg second
 

Detailed Description

Definition at line 104 of file multicubicspline.hpp.

Constructor & Destructor Documentation

◆ Data() [1/4]

Data ( )
default

◆ Data() [2/4]

Data ( const SplineGrid::const_iterator &  i)

Definition at line 106 of file multicubicspline.hpp.

◆ Data() [3/4]

Data ( const SplineGrid v)

Definition at line 108 of file multicubicspline.hpp.

◆ Data() [4/4]

Data ( std::vector< Real v)

Definition at line 110 of file multicubicspline.hpp.

Member Function Documentation

◆ swap()

void swap ( Data< std::vector< Real >, EmptyArg > &  d)
noexcept

Definition at line 111 of file multicubicspline.hpp.

◆ operator[]() [1/2]

Real operator[] ( Size  n) const

Definition at line 114 of file multicubicspline.hpp.

◆ operator[]() [2/2]

Real & operator[] ( Size  n)

Definition at line 115 of file multicubicspline.hpp.

Member Data Documentation

◆ first

std::vector<Real> first

Definition at line 116 of file multicubicspline.hpp.

◆ second

EmptyArg second

Definition at line 117 of file multicubicspline.hpp.