poly_gen: An internal Rccp function as a polytope generator

View source: R/RcppExports.R

poly_genR Documentation

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)

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 Sept. 19, 2023, 5:08 p.m.