Hi. Le mer. 19 août 2020 à 08:38, Christoph Läubrich <[email protected]> a écrit : > > Im mostly using > > - math3.analysis
In view of the next major version of CM, it would be nice to refactor codes in that package using the JDK java.util.function package, e.g. replace o.a.c.m.analysis.UnivariateFunction with java.util.function.DoubleUnaryOperator and drop redundant utilities in o.a.c.m.analysis.FuncitonUtils > - math3.fitting > - math3.linear > - math3.fitting.leastsquares IMO, a way to modernize CM is to modularize it. A first step could consist in "fitting" and "linear" becoming (maven) modules. Regards, Gilles > And some of the common util/exception things that drip in when using the > above. > > Am 14.08.20 um 18:42 schrieb Gilles Sadowski: > > Le jeu. 13 août 2020 à 15:46, Christoph Läubrich > > <[email protected]> a écrit : > >> > >> Hi, > >> > >> thnaks for the information, I'm currently using the "old" commons-math3 > >> package, would it be possible to use erf with DerivativeStructure there? > > > > Technically, the issue could be that the tools in the "o.a.c.m.special" > > package were not designed as those in the "o.a.c.m.analysis.function" > > package. And IIUC, "DerivativeStructure" builds on the latter. > > But that doesn't mean it cannot be done (I've not used it personally). > > > > A lot of work has been done on the "master" branch; a 3.7 release > > would mean backporting everything; not a trivial task and (if at all > > possible) it would take more time (by a tall order) than anyone is > > willing to devote to that library. > > > > IMHO, it's about time that we release v4.0 (which has been delayed > > by more than 4 years, according to when the decision has been taken > > to start development on that next major version). > > > >> > We are looking for volunteer maintainers for the math tools available > >> > >> for commons math in general or for "commons-numbers"? > > > > Both and more: > > > > * Commons Geometry (spun off the "o.a.c.m.geometry" package) > > * Commons Statistics (intended to replace the "o.a.c.m.stat" package) > > * Commons RNG (replacement of the "o.a.c.m.random" package, and > > pretty feature-complete as of v1.3). > > > >> I must confess I have only recently noticed that there is development in > >> commons-math-4 and might be out of date with my knowledge a bit as an > >> "old" math3 user :-) > > > > Which classes/packages have you been using? > > > > Gilles > > > >> > >> Am 13.08.20 um 15:12 schrieb Gilles Sadowski: > >>> Hi. > >>> > >>> Le jeu. 13 août 2020 à 12:48, Christoph Läubrich > >>> <[email protected]> a écrit : > >>>> > >>>> I'd like to use the org.apache.commons.math3.special.Erf with a > >>>> DerivativeStructure but is seems there is no pre-defined function for > >>>> this (like exp()...). > >>>> > >>>> So the question is, can Erf transformed inside a DerivativeStructure > >>>> somehow or does the DerivativeStructure need to support that function > >>>> directly? > >>> > >>> Please note that "Erf" has been moved to the new "Commons Numbers" > >>> component[1], along with the other Gamma-related functions. > >>> The "DerivativeStructure" is one among several utilities that still need > >>> to > >>> be ported (and refactored) there.[2] > >>> > >>> We are looking for volunteer maintainers for the math tools available from > >>> the Commons libraries. The move to more focused, smaller, components > >>> should hopefully simplify development... > >>> > >>> Best, > >>> Gilles > >>> > >>> [1] > >>> https://gitbox.apache.org/repos/asf?p=commons-numbers.git;a=tree;f=commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma;h=cb95316a3be45ebfcf938eab63f362f59e590fca;hb=HEAD > >>> [2] https://issues.apache.org/jira/browse/NUMBERS-69 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
