numericalMethods.function
Interface nmDoubleArrayValued

All Known Implementing Classes:
nmLineND

public interface nmDoubleArrayValued

Interface for objects that represent double array valued functions.


Method Summary
 void getDoubleArrayValue(double[] value, int offset)
          Writes the double array value into a double[].
 int getDoubleArrayValueLength()
          Get the length of the double array value.
 

Method Detail

getDoubleArrayValueLength

public int getDoubleArrayValueLength()
Get the length of the double array value.
Returns:
the length of the double array value.

getDoubleArrayValue

public void getDoubleArrayValue(double[] value,
                                int offset)
Writes the double array value into a double[]. When the method returns, value[offset,…,offset+len-1] contains the double array value, where len is the value returned by getDoubleArrayValueLength(). The other elements of value should not be changed.
Parameters:
value - a double[] whith length at least offset+len, into which the double array value is copied.
offset - the position in value where the double array value is copied to.