Changeset 540 in Sophya for trunk/SophyaLib/NTools/linfit.cc
- Timestamp:
- Nov 3, 1999, 3:38:48 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/linfit.cc
r524 r540 3 3 #include "linfit.h" 4 4 5 double LinFit(const Vector& x, const Vector& y, int nf, double (*f)(int, double), 6 Vector& c) 5 LinFitter::LinFitter() 6 { 7 } 8 9 LinFitter::~LinFitter() 10 { 11 } 12 13 double LinFitter::LinFit(const Vector& x, const Vector& y, int nf, 14 double (*f)(int, double), Vector& c) 7 15 { 8 16 int n = x.NElts(); … … 19 27 20 28 21 double LinFit (const Matrix& fx, const Vector& y, Vector& c)29 double LinFitter::LinFit(const Matrix& fx, const Vector& y, Vector& c) 22 30 { 23 31 int n = y.NElts(); … … 50 58 51 59 52 double LinFit (const Vector& x, const Vector& y, const Vector& errY2, int nf,53 double (*f)(int, double), Vector& c, Vector& errC)60 double LinFitter::LinFit(const Vector& x, const Vector& y, const Vector& errY2, int nf, 61 double (*f)(int, double), Vector& c, Vector& errC) 54 62 { 55 63 int n = x.NElts(); … … 65 73 66 74 67 double LinFit (const Matrix& fx, const Vector& y, const Vector& errY2,75 double LinFitter::LinFit(const Matrix& fx, const Vector& y, const Vector& errY2, 68 76 Vector& c, Vector& errC) 69 77 {
Note:
See TracChangeset
for help on using the changeset viewer.