Changeset 540 in Sophya for trunk/SophyaLib/NTools/linfit.cc


Ignore:
Timestamp:
Nov 3, 1999, 3:38:48 PM (26 years ago)
Author:
ansari
Message:

Transformation linfit en classe pour eviter probleme avec g++ - Reza 3/11/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/linfit.cc

    r524 r540  
    33#include "linfit.h"
    44
    5 double LinFit(const Vector& x, const Vector& y, int nf, double (*f)(int, double),
    6            Vector& c)
     5LinFitter::LinFitter()
     6{
     7}
     8
     9LinFitter::~LinFitter()
     10{
     11}
     12
     13double LinFitter::LinFit(const Vector& x, const Vector& y, int nf,
     14                         double (*f)(int, double), Vector& c)
    715{
    816  int n = x.NElts();
     
    1927
    2028
    21 double LinFit(const Matrix& fx, const Vector& y, Vector& c)
     29double LinFitter::LinFit(const Matrix& fx, const Vector& y, Vector& c)
    2230{
    2331  int n = y.NElts();
     
    5058
    5159
    52 double LinFit(const Vector& x, const Vector& y, const Vector& errY2, int nf,
    53            double (*f)(int, double), Vector& c, Vector& errC)
     60double LinFitter::LinFit(const Vector& x, const Vector& y, const Vector& errY2, int nf,
     61                         double (*f)(int, double), Vector& c, Vector& errC)
    5462{
    5563  int n = x.NElts();
     
    6573
    6674
    67 double LinFit(const Matrix& fx, const Vector& y, const Vector& errY2,
     75double LinFitter::LinFit(const Matrix& fx, const Vector& y, const Vector& errY2,
    6876           Vector& c, Vector& errC)
    6977{
Note: See TracChangeset for help on using the changeset viewer.