Learn R Programming

volesti (version 1.1.2-9)

poly_gen: An internal Rccp function as a polytope generator

Description

An internal Rccp function as a polytope generator

Usage

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

Value

A numerical matrix describing the requested polytope

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.