SyScSelection (version 1.0.1)

spheroid_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

spheroid_mesh(d, phi, normalize)

Arguments

d

The number of dimensions for the unit spheroid

phi

The scalar fineness of the mesh

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