numericalMethods.function
Interface FloatArrayValued


public interface FloatArrayValued

Interface for objects that represent float array valued functions.


Method Summary
 void getFloatArrayValue(float[] value, int offset)
          Writes the float array value into a float[].
 int getFloatArrayValueLength()
          Get the length of the float array value.
 

Method Detail

getFloatArrayValueLength

public int getFloatArrayValueLength()
Get the length of the float array value.
Returns:
the length of the float array value.

getFloatArrayValue

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