Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ICopula.h File Reference

Abstract interface for multivariate copulas. More...

#include "Math.h"
Include dependency graph for ICopula.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LogDensityDiff
 
class  ICopula
 

Detailed Description

Abstract interface for multivariate copulas.

A copula models the dependence structure between random variables independently of their marginal distributions.

Implementations of this interface are expected to work on the unit cube:

  • sampling returns vectors in $[0,1]^d$,
  • density evaluation is performed on pseudo-observations / uniforms.

Typical workflow:

std::unique_ptr<ICopula> cop = ...;
std::vector<double> u = cop->sample_u();
double logc = cop->log_density(u);
See also
GaussianCopula
StudentTCopula

Definition in file ICopula.h.