Re: [math] DerivativeStructure and erf/erfx

2020-10-02 Thread Christoph Läubrich
(as it is not ported yet), but of course this only makes sense if it will be released some day. Am 19.08.20 um 23:51 schrieb Gilles Sadowski: Hi. Le mer. 19 août 2020 à 08:38, Christoph Läubrich a écrit : Im mostly using - math3.analysis In view of the next major version of CM, it would be nice

Re: [math] DerivativeStructure and erf/erfx

2020-08-19 Thread Christoph Läubrich
Im mostly using - math3.analysis - math3.fitting - math3.linear - math3.fitting.leastsquares 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 a écrit : Hi

[math] Question about GaussianCurveFitter.ParameterGuesser

2020-05-24 Thread Christoph Läubrich
I'm currently looking into some curve-fitting and have examined the basicGuess(WeightedObservedPoint[]) in GaussianCurveFitter.ParameterGuesser, and there is one thing I don't really understand. in Line 301 [1] the "halfY" is computed by n (what is the maximal y value of the observation) +

[math] example for constrain parameters for Least squares

2020-08-10 Thread Christoph Läubrich
The userguide [1] mentions that it is currently not directly possible to contrain parameters directly but suggest one can use the ParameterValidator, is there any example code for both mentioned alternatives? For example GaussianCurveFitter uses LeastSquaresBuilder and I wan't to archive

Re: [math] example for constrain parameters for Least squares

2020-08-12 Thread Christoph Läubrich
bounds! Am 11.08.20 um 16:11 schrieb Gilles Sadowski: Hello. Le mar. 11 août 2020 à 12:08, Christoph Läubrich a écrit : Thanks for your patience, maybe a better/simpler example would be [1], I want to find the best fit using LSB "LSB" ? under the constraint that the height of the c

Re: [math] DerivativeStructure and erf/erfx

2020-08-13 Thread Christoph Läubrich
uot;? 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 :-) Am 13.08.20 um 15:12 schrieb Gilles Sadowski: Hi. Le jeu. 13 août 2020 à 12:48, Christoph Läub

[math] DerivativeStructure and erf/erfx

2020-08-13 Thread Christoph Läubrich
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

Re: [math] example for constrain parameters for Least squares

2020-08-11 Thread Christoph Läubrich
it is a little bit clearer. [1] https://ascelibrary.org/cms/asset/6ca2b016-1a4f-4eed-80da-71219777cac1/1.jpg Am 11.08.20 um 00:42 schrieb Gilles Sadowski: Hello. Le lun. 10 août 2020 à 17:09, Christoph Läubrich a écrit : The userguide [1] mentions that it is currently not directly possible to contrain

Re: [math] example for constrain parameters for Least squares

2020-08-11 Thread Christoph Läubrich
png?w=538=294 Am 11.08.20 um 11:18 schrieb Gilles Sadowski: Hi. 2020-08-11 8:51 UTC+02:00, Christoph Läubrich : Hi Gilles, Just to make clear I don't suspect any error with GausianCurveFitter, I just don't understand how the advice in the user-doc to restrict parameter (for general problems) cou

Re: [net] FTPClient doesn't download full images

2020-06-04 Thread Christoph Läubrich
Don't know if the code you have showed is your original one but in general its not a good idea to "catch and ignore" exceptions, yo either: - simply buble up to the caller - wrap into other exceptions if required by the API - explicitly handle/document I'm using comons-ftp for large files and

Re: [math] example for constrain parameters for Least squares

2021-06-08 Thread Christoph Läubrich
. Le mar. 11 août 2020 à 12:08, Christoph Läubrich a écrit : Thanks for your patience, maybe a better/simpler example would be [1], I want to find the best fit using LSB "LSB" ? under the constraint that the height of the curve never is above 0.7 (even though without constrains the

Re: [math] example for constrain parameters for Least squares

2021-06-08 Thread Christoph Läubrich
to the advanced user, that's really welcome :-) Am 08.06.21 um 15:23 schrieb Gilles Sadowski: Hello. Le mar. 8 juin 2021 à 08:14, Christoph Läubrich a écrit : Hi Gilles, I have used the the INFINITY approach for a while now and it works quite good. I just recently found a problem where I got very bad

Re: [math] 2D Line getOffset and natural orientation

2021-03-21 Thread Christoph Läubrich
Hi Matt, just some feedback on the AffineTransformMatrix2D in general I think it would be good to have methods that accept a plain array. for example I have an array of x and y values and like to transform them. Currently I need to first construct a Vector of each x/y pair, then apply the

Re: [math] AffineTransformMatrix2D

2021-03-22 Thread Christoph Läubrich
Y-116 ____ From: Christoph Läubrich Sent: Sunday, March 21, 2021 8:40 AM To: user@commons.apache.org Subject: Re: [math] 2D Line getOffset and natural orientation Hi Matt, just some feedback on the AffineTransformMatrix2D in general I think it would be good to have met

Re: [math] 2D Line getOffset and natural orientation

2021-03-20 Thread Christoph Läubrich
Hi Matt, I try to use the new package in an OSGi application but only the org.apache.commons.geometry.euclidean package is exported. Is thsi intentional? I'd like to use AffineTransformMatrix2D from the org.apache.commons.geometry.euclidean.twod package for example but don't understand how

Re: [math] 2D Line getOffset and natural orientation

2021-03-20 Thread Christoph Läubrich
Another thing I noted: DoubleFunction2N is used but resides in the org.apache.commons.geometry.core.internal package and thus is also not exported/useable in an OSGi environment this would give CNF exceptions if actually run inside one. Am 20.03.21 um 13:25 schrieb Matt Juntunen: It's

Re: [math] 2D Line getOffset and natural orientation

2021-03-20 Thread Christoph Läubrich
Taking a deeper look the whole package org.apache.commons.geometry.core.internal seems to be required elsewhere and should be public+exported. Is there any rationale to make this "internal"? Internal packages should really only be used in the module itself. If its proven to be usefull in

Re: [Compress] Modular Commons Compress and better NIO2 Path API support

2022-02-12 Thread Christoph Läubrich
> Oh, sorry, I don't have that idea. In the plan, I will maintain > this fork for a long time. Just from a users perspective: Such projects often tend to slowly dying over the time even if single developers are enthusiastic at first place. So you should really consider if it would be more