SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | List of all members
MultiDim01 Interface Reference

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...
 

Detailed Description

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).

Member Function Documentation

◆ getCoordinate()

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.


The documentation for this interface was generated from the following file: