PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.cplus > Findind parameters from a equation
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Findind parameters from a equation

Réponse
 
LinkBack Outils de la discussion
Vieux 16/01/2008, 14h19   #1
Mayneord
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Findind parameters from a equation

Hallo all

I looking for the function similar to ' Findfit ' of mathematica in C+
+ ?
Please can somebody me with this..

your much appreciated

May
  Réponse avec citation
Vieux 16/01/2008, 14h45   #2
Victor Bazarov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Findind parameters from a equation

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


  Réponse avec citation
Vieux 16/01/2008, 15h55   #3
Mayneord
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Findind parameters from a equation

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



  Réponse avec citation
Vieux 16/01/2008, 16h06   #4
Victor Bazarov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Findind parameters from a equation

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


  Réponse avec citation
Vieux 19/01/2008, 18h35   #5
Jerry Coffin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Findind parameters from a equation

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.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h58.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12933 seconds with 13 queries