poly_gen: An internal Rccp function as a polytope generator

Description Usage Arguments Value

View source: R/RcppExports.R

Description

An internal Rccp function as a polytope generator

Usage

1
poly_gen(kind_gen, Vpoly_gen, Zono_gen, dim_gen, m_gen, seed = NULL)

Arguments

kind_gen

An integer to declare the type of the polytope.

Vpoly_gen

A boolean parameter to declare if the requested polytope has to be in V-representation.

Zono_gen

A boolean parameter to declare if the requested polytope has to be a zonotope.

dim_gen

An integer to declare the dimension of the requested polytope.

m_gen

An integer to declare the number of generators for the requested random zonotope or the number of vertices for a V-polytope.

seed

Optional. A fixed seed for the random polytope generator.

Value

A numerical matrix describing the requested polytope


volesti documentation built on July 14, 2021, 5:11 p.m.