allvertices: Vertices of an hypercube

Description Usage Arguments Value Author(s) Examples

View source: R/allvertices.R

Description

Builds the 2^d vertices of an hypercube

Usage

1
allvertices(d, lower = NULL, upper = NULL)

Arguments

d

dimension of the hypercube

lower

Array of size d containing the lower bound of the domain in each dimension.

upper

Array of size d containing the upper bound of the domain in each dimension.

Value

A matrix with 2^d rows and d columns containing all the vertices.

Author(s)

Clement Chevalier clement.chevalier@unine.ch

Examples

1
allvertices(d=3,lower=c(0,-10,10),upper=c(100,0,1000))

IRSN/RobustInv documentation built on Nov. 20, 2019, 10:46 p.m.