|
com.rychlik.jode
Class VectorField
java.lang.Object
|
+--com.rychlik.jode.VectorField
- public class VectorField
- extends java.lang.Object
Constructor Summary |
VectorField(int dim,
int[] gridSizes)
|
Method Summary |
double[] |
elementAt(int[] index)
|
void |
setElementAt(int[] index,
double[] vector)
Sets element with a given multiindex to a given vector. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorField
public VectorField(int dim,
int[] gridSizes)
- Parameters:
dim - Dimension
elementAt
public double[] elementAt(int[] index)
- Parameters:
index - Multiindex of the vector field entry
- Returns:
- Vector corresponding to the index
setElementAt
public void setElementAt(int[] index,
double[] vector)
- Sets element with a given multiindex to a given vector.
- Parameters:
index - Multiindex of the vector field entry.vector - The value to set to.
|