Hello.


I'm getting a NaN value after call evaluate method from
PolynomialFunctionLagrangeForm class.

Code:

double[]x={0.0 , 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 , 9.0 ,
10.0, ...}
//x.length=3540
double[]y={0.0 , 0.500213 , 4.3E-5 , 0.015038 , 0.237525 , 0.024837 ,
0.262735,...}
//y.length=3540.

So, calling System.out.println(PolynomialFunctionLagrangeForm.evaluate(x,
y, 0)) is returning NaN.
What's this value means?

May I post this to developers list?

This could be a bug, so, yes; but please create a test case that
demonstrates the problem (i.e. a minimal code that compiles and
runs).

Regards,
Gilles


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to