numericalMethods.function
Interface IntegerArrayValued


public interface IntegerArrayValued

Interface for objects that represent integer array valued functions.


Method Summary
 void getIntegerArrayValue(int[] value, int offset)
          Writes the integer array value into an int[].
 int getIntegerArrayValueLength()
          Get the length of the integer array value.
 

Method Detail

getIntegerArrayValueLength

public int getIntegerArrayValueLength()
Get the length of the integer array value.
Returns:
the length of the integer array value.

getIntegerArrayValue

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