|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hallo all
I looking for the function similar to ' Findfit ' of mathematica in C+ + ? Please can somebody me with this.. your much appreciated May |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Mayneord wrote:
> I looking for the function similar to ' Findfit ' of mathematica in > C+ + ? How the hell should we know what 'Findfit' is? > Please can somebody me with this.. Please ask a C++ language question. V -- Please remove capital 'A's when replying by e-mail I do not respond to top-posted replies, please don't ask |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Jan 16, 3:45pm, "Victor Bazarov" <v.Abaza...@comAcast.net> wrote:
> Mayneord wrote: > > I looking for the function similar to ' Findfit ' of mathematica in > > C+ + ? > > How the hell should we know what 'Findfit' is? > > > Please can somebody me with this.. > > Please ask a C++ language question. > > V > -- > Please remove capital 'A's when replying by e-mail > I do not respond to top-posted replies, please don't ask Sorry dude!! Findfit is a function similar to linear least square approximations Well, its similar to curve fitting, in addition getting the few parameters from the fit. Please tell me how can I do linear least square approximations in C+ + ? thanks May |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Mayneord wrote:
> On Jan 16, 3:45 pm, "Victor Bazarov" <v.Abaza...@comAcast.net> wrote: >> Mayneord wrote: >>> I looking for the function similar to ' Findfit ' of mathematica in >>> C+ + ? >> >> How the hell should we know what 'Findfit' is? >> >>> Please can somebody me with this.. >> >> Please ask a C++ language question. >> >> V >> -- >> Please remove capital 'A's when replying by e-mail >> I do not respond to top-posted replies, please don't ask > > Sorry dude!! > > Findfit is a function similar to linear least square approximations > Well, its similar to curve fitting, in addition getting the few > parameters from the fit. > Please tell me how can I do linear least square approximations in C+ > + ? No problem, dude!! There is no standard function that does "linear least square approximation". You need to either find a 3rd party library for that, or write your own. V -- Please remove capital 'A's when replying by e-mail I do not respond to top-posted replies, please don't ask |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
In article <7ce12717-203d-447b-9be7-840873dbfe47
@i12g2000prf.googlegroups.com>, xrayspectrum@googlemail.com says... > Hallo all > > I looking for the function similar to ' Findfit ' of mathematica in C+ > + ? > Please can somebody me with this.. Somebody almost certainly can. The best chance of finding somebody who can is probably a newsgroup where it's topical, like sci.stat.math. Given that you're searching for a really well-known algorithm, googling for something like "least squares linear regression algorithm" will almost certainly yield usable results as well. Once you know the basics of the algorithm you want to implement, this would be a good place to ask about details about how to implement it as well as possible in C++, such as deciding whether you want to use std::vector or std::valarray to store the data, and (since a linear regresion produces two outputs, a slope and a Y intercept) whether it would make sense to create a dedicated class for the result, or just put the numbers into an instantiation of std::pair. -- Later, Jerry. The universe is a figment of its own imagination. |
|
![]() |
| Outils de la discussion | |
|
|