public final class Space3D extends Space
| Modifier and Type | Method | Description |
|---|---|---|
int |
D() |
|
static Space3D |
getInstance() |
|
double[] |
makeArrayD(double d) |
|
int[] |
makeArrayD(int i) |
|
IOrientation |
makeOrientation() |
|
RotationTensor |
makeRotationTensor() |
|
Tensor |
makeTensor() |
|
Vector |
makeVector() |
|
double |
powerD(double a) |
|
int |
powerD(int n) |
|
static double |
r2(Vector3D u1,
Vector3D u2,
Boundary b) |
Computes the square of the magnitude of the difference of two vectors, subject
to a nearest image transformation.
|
static double |
r2(Vector3D u1,
Vector3D u2,
Boundary b,
Vector3D work) |
Computes the square of the magnitude of the difference of two vectors, subject
to a nearest image transformation.
|
double |
rootD(double a) |
Returns the cube root of the given value, a^(1/D) which is a^(1/3).
|
double |
sphereArea(double r) |
The surface "area" of the "sphere" defined in the D-dimensional space.
|
double |
sphereVolume(double r) |
The "volume" of the "sphere" defined in the D-dimensional space.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetD, getInstance, makeVector, makeVector, makeVector, makeVectorArraypublic static Space3D getInstance()
public final int powerD(int n)
public final double powerD(double a)
public double rootD(double a)
public int[] makeArrayD(int i)
makeArrayD in class Spacepublic double[] makeArrayD(double d)
makeArrayD in class Spacepublic double sphereVolume(double r)
SpacesphereVolume in class Spacer - the radiuspublic double sphereArea(double r)
SpacesphereArea in class Spacer - the sphere radiuspublic Vector makeVector()
makeVector in class Spacepublic IOrientation makeOrientation()
makeOrientation in class Spacepublic Tensor makeTensor()
makeTensor in class Spacepublic RotationTensor makeRotationTensor()
makeRotationTensor in class Spacepublic static final double r2(Vector3D u1, Vector3D u2, Boundary b)
public static final double r2(Vector3D u1, Vector3D u2, Boundary b, Vector3D work)
u1 - one of the vectors and is unchanged by the calculationu2 - the other vector and is unchanged by the calculationb - a nearest image transformationwork - a work vector used for the calculation.