HC = { x in R^n | -1< x_i < 1}
Note that the HyperCube is open.
NAO/HyprCube.hand link against library
libNAOBase.aThe following constructors are provided:
| NAHyperCube(dim ); | |||
| Creates a hyper cube | |||
|
The following member functions are available in addition to those provided
by the abstract interface NARegion:
getBaseSpaceDimension and isitinChart member
functions. Both are trivial.
getDimension() returns this->n.
isitinChart(x) returns foreach i<this->n, fabs(x.i) < 1
The bounding box is the hypercube itself.
All BoundingBoxMin's are -1, and BoundingBoxMax's
are +1. The BoundingBoxScale is set to .2.
#include<NAO/HyprCube.h> NAManifold *HC=new NAHyperCube(5);
See also the HyperCube example in the Examples document.
Siblings of this class:
[Comments | NAO home page ]
[ IBM home page | Order | Privacy | ContactIBM | Legal ]