SyScSelection (version 1.0.1)

hypercube_mesh: Generates a Cartesian mesh of d-dimensional scenarios based on the given ellipsoid. This function does not assume that the ellipsoid is centered at the origin.

Description

Generates a Cartesian mesh of d-dimensional scenarios based on the given ellipsoid. This function does not assume that the ellipsoid is centered at the origin.

Usage

hypercube_mesh(phi, hellip, normalize)

Arguments

phi

The scalar fineness of the mesh

hellip

The basis for the shocks; it must have measurable width in every dimension

normalize

Whether to normalize points from the cube onto the sphere or not (TRUE/FALSE)

Value

A d x N array, with each column a scenario

Examples

Run this code
# NOT RUN {
hellip <- hyperellipsoid()
hypercube_mesh(3,hellip,TRUE)
# }

Run the code above in your browser using DataLab