# Volume Approximation and Sampling of Convex Polytopes

## Documentation for package ‘volesti’ version 1.1.1

- DESCRIPTION file.

## Help Pages

$-method | An 'Rcpp' class to represent spectrahedra, exposed to 'R' via modules.
$<--method | An 'Rcpp' class to represent spectrahedra, exposed to 'R' via modules.
compute_indicators | Compute an indicator for each time period that describes the state of a market.
copula | Construct a copula using uniform sampling from the unit simplex
direct_sampling | Sample perfect uniformly distributed points from well known convex bodies: (a) the unit simplex, (b) the canonical simplex, (c) the boundary of a hypersphere or (d) the interior of a hypersphere.
exact_vol | Compute the exact volume of (a) a zonotope (b) an arbitrary simplex in V-representation or (c) if the volume is known and declared by the input object.
filepaths<--method | An 'Rcpp' class to represent spectrahedra, exposed to 'R' via modules.
file_to_polytope | function to get an ine or an ext file and returns the corresponding polytope
frustum_of_simplex | Compute the percentage of the volume of the simplex that is contained in the intersection of a half-space and the simplex.
gen_cross | Generator function for cross polytopes
gen_cube | Generator function for hypercubes
gen_prod_simplex | Generator function for product of simplices
gen_rand_hpoly | Generator function for random H-polytopes
gen_rand_vpoly | Generator function for random V-polytopes
gen_rand_zonotope | Generator function for zonotopes
gen_simplex | Generator function for simplices
gen_skinny_cube | Generator function for skinny hypercubes
Hpolytope | An 'R' class to represent H-polytopes.
inner_ball | Compute an inscribed ball of a convex polytope
loadSdpaFormatFile | Read a SDPA format file
Rcpp_Spectrahedron-class | An 'Rcpp' class to represent spectrahedra, exposed to 'R' via modules.
readSdpaFormatFile | Read a SDPA format file
rotate_polytope | Apply a random rotation to a convex polytope (H-polytope, V-polytope, zonotope or intersection of two V-polytopes)
round_polytope | Apply rounding to a convex polytope (H-polytope, V-polytope or a zonotope)
sample_points | Sample uniformly or normally distributed points from a convex Polytope (H-polytope, V-polytope, zonotope or intersection of two V-polytopes).
Spectrahedron | An 'R' class to represent spectrahedra.
volume | The main function for volume approximation of a convex Polytope (H-polytope, V-polytope, zonotope or intersection of two V-polytopes)
Vpolytope | An 'R' class to represent V-polytopes.
VpolytopeIntersection | An 'R' class to represent the intersection of two V-polytopes.
writeSdpaFormatFile | Write a SDPA format file
Zonotope | An 'R' class to represent zonotopes.
zonotope_approximation | A function to over-approximate a zonotope with PCA method and to evaluate the approximation by computing a ratio of fitness.
[-method | An 'Rcpp' class to represent spectrahedra, exposed to 'R' via modules.