CVineStructure
- class CVineStructure(*args, **kwargs)
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
CVineStructureobjects inherit the methods and attributes ofRVineStructureobjects.Attributes
- Returns:
Gets the R-vine matrix representation.
- Returns:
- Returns:
Methods
- Parameters:
Instantiates as a D-vine for a given dimension.
Instantiates an RVineStructure from a JSON or CBOR file.
Instantiates from a JSON-like str object.
Instantiates an RVineStructure object from a matrix representing an R-vine array.
Instantiates as a D-vine with a given ordering of the variables.
Instantiates from the variable order (diagonal elements of the R-vine array) and a triangular structure array (elements above the diagonal).
Assemble an
RVineStructurefrom a list-of-trees decomposition.Extract structure array (all elements above the diagonal in the R-vine array).
Gets the list-of-trees representation of the structure.
Access elements of the minimum array.
Access elements of the needed_hfunc1 array.
Access elements of the needed_hfunc2 array.
Randomly sample a regular vine structure.
Accesses elements of the structure array.
Writes the structure into a JSON or CBOR file.
Converts the structure into a JSON-like str object.
Truncates the R-vine structure.