Math 302, Differential Equations JHU


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
 

Constructor Detail

VectorField

public VectorField(int dim,
                   int[] gridSizes)
Parameters:
dim - Dimension
Method Detail

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.



This page last modified Sun Sep 12 12:31:13 2004
Questions? Comments? Please send feedback to jason howald