QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
LinearFcts< xContainer, bool > Class Template Reference

#include <ql/math/linearleastsquaresregression.hpp>

+ Collaboration diagram for LinearFcts< xContainer, bool >:

Public Types

typedef xContainer::value_type ArgumentType
 

Public Member Functions

 LinearFcts (const xContainer &x, Real intercept)
 
const std::vector< ext::function< Real(ArgumentType)> > & fcts ()
 

Private Attributes

std::vector< ext::function< Real(ArgumentType)> > v
 

Detailed Description

template<class xContainer, bool>
class QuantLib::details::LinearFcts< xContainer, bool >

Definition at line 64 of file linearleastsquaresregression.hpp.

Member Typedef Documentation

◆ ArgumentType

typedef xContainer::value_type ArgumentType

Definition at line 66 of file linearleastsquaresregression.hpp.

Constructor & Destructor Documentation

◆ LinearFcts()

LinearFcts ( const xContainer &  x,
Real  intercept 
)

Definition at line 67 of file linearleastsquaresregression.hpp.

Member Function Documentation

◆ fcts()

const std::vector< ext::function< Real(ArgumentType)> > & fcts ( )

Definition at line 73 of file linearleastsquaresregression.hpp.

Member Data Documentation

◆ v

std::vector< ext::function<Real(ArgumentType)> > v
private

Definition at line 78 of file linearleastsquaresregression.hpp.