| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"Mayneord" |
| Date: |
16 Jan 2008 08:19:46 AM |
| Object: |
Findind parameters from a equation |
Hallo all
I looking for the function similar to ' Findfit ' of mathematica in C+
+ ?
Please can somebody help me with this..
your help much appreciated
May
.
|
|
| User: "Jerry Coffin" |
|
| Title: Re: Findind parameters from a equation |
19 Jan 2008 12:35:13 PM |
|
|
In article <7ce12717-203d-447b-9be7-840873dbfe47
@i12g2000prf.googlegroups.com>, says...
Hallo all
I looking for the function similar to ' Findfit ' of mathematica in C+
+ ?
Please can somebody help 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.
.
|
|
|
|
| User: "Victor Bazarov" |
|
| Title: Re: Findind parameters from a equation |
16 Jan 2008 08:45:33 AM |
|
|
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 help 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
.
|
|
|
| User: "Mayneord" |
|
| Title: Re: Findind parameters from a equation |
16 Jan 2008 09:55:58 AM |
|
|
On Jan 16, 3:45=A0pm, "Victor Bazarov" <v.Abaza...@comAcast.net> wrote:
Mayneord wrote:
I looking for the function similar to ' Findfit ' of =A0mathematica in
C+ + ?
How the hell should we know what 'Findfit' is?
Please can somebody help 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
.
|
|
|
| User: "Victor Bazarov" |
|
| Title: Re: Findind parameters from a equation |
16 Jan 2008 10:06:30 AM |
|
|
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 help 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
.
|
|
|
|
|
|

|
Related Articles |
|
|