TDesignLib:
Filter:
SphericalDesign/Classes (extension) | Math

TDesignLib
ExtensionExtension

A library to load and search t-designs in support the TDesign class.

Description

A library to support the TDesign class which loads t -designs from the quark's library, which can then be introspected.

The T-Designs found here are from the work of:
McLaren's Improved Snub Cube and Other New Spherical Designs in Three Dimensions, R. H. Hardin and N. J. A. Sloane, Discrete and Computational Geometry, 15 (1996), pp. 429-441.
and are downloaded directly from their site:
http://neilsloane.com/sphdesigns/

Class Methods

.getDesign

Return an Array of designs matching the criteria.

Arguments:

numPoints

(describe argument here)

t

Fundamental parameter t. Can be nil, but the returned Array will contain multiple matches if the library contains more than one design matching numPoints.

dim

Currently all designs are dimension 3.

.availableDesigns

Post a list of designs available in the library.

.lib

Return the library: a List of Dictionary objects each with key/value pairs of the \numPoints, \t, and \dim of the design.

.path

Return the path which holds the t-design files. Defaults to -defaultPath if not set.

.defaultPath

Return the default path which holds the t-design files.

.initLib

Initialize the library (load from disk). Most other methods call this internally so you likely won't need to do this directly.

.downloadAll

Download all of the t-designs and save them to savePath, creating the directory as needed if makeDir is true.

NOTE: The t-design library is included in this quark, so a normal installation of this quark shouldn't require use of this method.