question: protected void doFunction ( float [ ] inputs , int inputOffset , float [ ] outputs , int outputOffset ) { float input = inputs [ inputOffset ] ; for ( int i = 0 ; i < getNumOutputs ( ) ; i ++ ) { outputs [ i + outputOffset ] = getC0 ( i ) + ( float ) ( Math . pow ( input , getN ( ) ) * ( getC1 ( i ) - getC0 ( i ) ) ) ; } }
target:  Calculate the function value for the input.  For each output (j), the function value is: C0(j) + x^N * (C1(j) - C0(j))