vinecopulib::CVineStructure class

A class for C-vine structures.

C-vines are a special class of R-vines where each tree is a star. A C-vine structure is determined entirely by the order of variables. For example, if the order is {1, 2, 3, 4}, the first tree in the vine connects variable 4 with all others, the second tree connects variable 3 with all others, etc.

Note that CVineStructure objects inherit the methods and attributes of RVineStructure objects.

Base classes

class RVineStructure
A class for R-vine structures.

Constructors, destructors, conversion operators

CVineStructure(const std::vector<size_t>& order) explicit
CVineStructure(const std::vector<size_t>& order, size_t trunc_lvl)

Function documentation

vinecopulib::CVineStructure::CVineStructure(const std::vector<size_t>& order) explicit

Parameters
order The order of variables in the C-vine (diagonal entries in the R-vine array); must be a permutation of 1, ..., d.

vinecopulib::CVineStructure::CVineStructure(const std::vector<size_t>& order, size_t trunc_lvl)

Parameters
order The order of variables in the C-vine (diagonal entries in the R-vine array); must be a permutation of 1, ..., d.
trunc_lvl The truncation level.