numericalMethods.function
Interface FloatArrayParametrized


public interface FloatArrayParametrized

Interface for objects that represent functions of a float array parameter.


Method Summary
 int getFloatArrayParameterLength()
          Get the length of the float array parameter.
 void setFloatArrayParameter(float[] p, int offset)
          Set the float array parameter by the values in a float[].
 

Method Detail

getFloatArrayParameterLength

public int getFloatArrayParameterLength()
Get the length of the float array parameter.
Returns:
the length of the float array parameter.

setFloatArrayParameter

public void setFloatArrayParameter(float[] p,
                                   int offset)
Set the float array parameter by the values in a float[]. The values for the float array parameter are read from p[offset,…,offset + len - 1], where len is the value returned by getFloatArrayParameterLength(). The parameter p should not be changed.
Parameters:
p - a float[] whith length at least offset+len holding the values to which the float array parameter is set.
offset - the position in p where the float array parameter is read from.