QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
FrankCopulaRng< RNG > Class Template Reference

Frank copula random-number generator. More...

#include <frankcopularng.hpp>

+ Collaboration diagram for FrankCopulaRng< RNG >:

Public Types

typedef Sample< std::vector< Real > > sample_type
 
typedef RNG urng_type
 

Public Member Functions

 FrankCopulaRng (const RNG &uniformGenerator, Real theta)
 
sample_type next () const
 

Private Attributes

Real theta_
 
RNG uniformGenerator_
 

Detailed Description

template<class RNG>
class QuantLib::FrankCopulaRng< RNG >

Frank copula random-number generator.

Definition at line 36 of file frankcopularng.hpp.

Member Typedef Documentation

◆ sample_type

typedef Sample<std::vector<Real> > sample_type

Definition at line 38 of file frankcopularng.hpp.

◆ urng_type

typedef RNG urng_type

Definition at line 39 of file frankcopularng.hpp.

Constructor & Destructor Documentation

◆ FrankCopulaRng()

FrankCopulaRng ( const RNG &  uniformGenerator,
Real  theta 
)
explicit

Definition at line 48 of file frankcopularng.hpp.

Member Function Documentation

◆ next()

Definition at line 56 of file frankcopularng.hpp.

Member Data Documentation

◆ theta_

Real theta_
private

Definition at line 43 of file frankcopularng.hpp.

◆ uniformGenerator_

RNG uniformGenerator_
private

Definition at line 44 of file frankcopularng.hpp.