SSJ
3.2.1
Stochastic Simulation in Java
|
This interface represents a point or array of \(d\) dimensions in a unit hypercube \([0, 1)^d\). More...
Public Member Functions | |
int | dimension () |
This method returns the number dimensions of this point. | |
double [] | getPoint () |
Returns the \(d\) coordinates of this point. | |
double | getCoordinate (int j) |
Returns the value of \(j\)th coordinate (or dimension). More... | |
This interface represents a point or array of \(d\) dimensions in a unit hypercube \([0, 1)^d\).
The value of the \(j\)th dimension can be accessed with the method getCoordinate(j).
double getCoordinate | ( | int | j | ) |
Returns the value of \(j\)th coordinate (or dimension).
This value should be in the interval \([0, 1)\). If \(j\) is outside the range \(\{0,…,d-1\}\), this method should throw an IllegalArgumentException.