Learn R Programming

volesti (version 1.1.2)

gen_skinny_cube: Generator function for skinny hypercubes

Description

This function generates a \(d\)-dimensional skinny hypercube \([-1,1]^{d-1}\times [-100,100]\).

Usage

gen_skinny_cube(dimension)

Arguments

dimension

The dimension of the skinny hypercube.

Value

A polytope class representing the \(d\)-dimensional skinny hypercube in H-representation.

Examples

Run this code
# NOT RUN {
# generate a 10-dimensional skinny hypercube.
P = gen_skinny_cube(10)
# }

Run the code above in your browser using DataLab