public class ParameterMap
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INDEX |
Constructor and Description |
---|
ParameterMap()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addParameter(double value)
This method does the same than addParameter(index1, index2, vec) except it is for a no-index implementation.
|
protected void |
addParameter(int index2,
double value)
This method does the same than addParameter(index1, index2, vec) except it is for a one-index implementation.
|
protected void |
addParameter(int index1,
int index2,
double value)
This method stores a double in the map at the specified indices.
|
Matrix |
get()
This method returns the same than get(index1, index2) in case of no index implementation.
|
Matrix |
get(int index2)
This method returns the same than get(index1, index2) in case of a single index implementation.
|
Matrix |
get(int index1,
int index2)
This method returns a Matrix instance from the list of double that were stored in the map according to the
two indices.
|
public Matrix get(int index1, int index2)
index1
- first indexindex2
- second indexpublic Matrix get(int index2)
index2
- the indexpublic Matrix get()
protected void addParameter(int index1, int index2, double value)
index1
- the first indexindex2
- the second indexvalue
- a doubleprotected void addParameter(int index2, double value)
index2
- the indexvalue
- a doubleprotected void addParameter(double value)
value
- a double