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

Make JacobiKey public in PolynomialsUtils #322

Closed MaximeJo closed 8 months ago

MaximeJo commented 8 months ago

JacobiKey is a private inner class of PolynomialsUtils class.

I suggest to make it public or extract it in a dedicated class, so that it can be used elsewhere.

See for example this usage in Orekit where the class had to be duplicated.

maisonobe commented 8 months ago

A dedicated class seems appropriate.