SyScSelection (version 1.0.1)

make_corners: Fills a mesh (corn_mesh) with d-dimensional points representing all corners of a d-dimensional cube encompassing a d-dimensional unit spheroid.

Description

Fills a mesh (corn_mesh) with d-dimensional points representing all corners of a d-dimensional cube encompassing a d-dimensional unit spheroid.

Usage

make_corners(d, normalize)

Arguments

d

The number of dimensions for the unit spheroid

normalize

Whether to scale the corner points onto the sphere or not

Value

A d x 2^d array of corner points