Hipparchus-Math / hipparchus

An efficient, general-purpose mathematics components library in the Java programming language
Apache License 2.0
143 stars 42 forks source link

Allow variable arguments to build PolynomialFunction #327

Closed maisonobe closed 8 months ago

maisonobe commented 8 months ago

The constructor for PolynomialFunction only accepts coefficients as a regular array, it should be possible to use variable arguments that build the array on the fly.