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)));
  }
}

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 ) ) ) ; } }
calculate the function value for the input . for each output ( j ) , the function value is : c0 ( j ) + x ^ n * ( c1 ( j ) - c0 ( j ) )
