Learn R Programming

ResistorArray (version 1.0-7)

platonic: Adjacency of platonic solids

Description

Gives the adjacency indices of the five Platonic solids.

Usage

platonic(a)

Arguments

a
String containing name of one of the five Platonic solids, viz tetrahedron, cube, octahedron, dodecahedron, icosahedron

Details

Returns a two column matrix a, the rows of which show the two vertices of an edge. Because resistance is symmetric, only edges with a[i,1] are included.

For the dodecahedron and icosahedron, the nodes are numbered as per Maple's scheme.

See Also

cube

Examples

Run this code
platonic("octahedron")

Run the code above in your browser using DataLab