Re: Polynomial fitting routines?



In article <dmi258$3p5$1@xxxxxxxxxx>,
"FX" <coudert@xxxxxxxxxxxxx> writes:
>> I'm looking for an algorithm that will fit a polynomial to log(x) for
>> 0.25 <= x <= 2 with at least 64-bit precision.
>
> Are you looking for a polynomial, or for a fast way to evaluate this
> expression ? In the later case, you can look at glibc sources if the GPL
> is acceptable to you :)
>

The GPL is unacceptable for this code. The intent is
to have an implementation of logl suitable for FreeBSD,
so I will use the 2-clause BSD license.

Not to mention, glibc's math functions may not be very
good. See csqrt :-)

--
Steve
http://troutmask.apl.washington.edu/~kargl/
.



Relevant Pages

  • Re: How much requirement documentation up front?
    ... provide a best fit for a particular product. ... where there is no historical data or products where consumer habits ... fitting analysis again and selects a new algorithm. ... The fact that the software product itself makes it very convenient to ...
    (comp.object)
  • Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
    ... On Thursday 14 June 2007 16:42:44 Alexandre Oliva wrote: ... you see fit. ... I just expect you to give back in kind: source code for ... The the GPL doesn't do that. ...
    (Linux-Kernel)
  • Re: C++: why 80 charachters??
    ... I guess if the result of your editor's word-wrapping algorithm is ... to be able to fit more than about 130 characters on my ... print utility to do ...
    (comp.lang.cpp)
  • Re: random model
    ... My GA algorithm is in fact searching for coefficients to fit a dataset. ... > thinking of are inherent in the GA itself, whatever you're modeling; ...
    (sci.math)
  • Re: algorithm to sum run time of simultaenous jobs?
    ... jobs are a match for the size of the objects you're trying to fit into ... the 5 bins? ... then my understanding is that there is no algorithm outside of ...
    (rec.puzzles)