SyScSelection (version 1.0.1)

make_edges: Fills a mesh with d-dimensional points representing all non-corner edge points of a d-dimensional cube encompassing a d-dimensional unit spheroid.

Description

Fills a mesh with d-dimensional points representing all non-corner edge points of a d-dimensional cube encompassing a d-dimensional unit spheroid.

Usage

make_edges(d, phi, normalize)

Arguments

d

The number of dimensions for the unit spheroid

phi

Fineness of the mesh along the edge (i.e., the total number of points, "including" the corners)

normalize

Whether to scale the corner points onto the sphere or not

Value

A d x d*2^(d-1)*(phi-2) array of edge points