Changeset 508 in Sophya for trunk/SophyaLib/NTools/linfit.h


Ignore:
Timestamp:
Oct 25, 1999, 12:36:22 PM (26 years ago)
Author:
ansari
Message:

Vector/Matrix OVector/OMatrix cmv 25/10/99

File:
1 edited

Legend:

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

    r494 r508  
    11// This may look like C code, but it is really -*- C++ -*-
    22//
    3 // $Id: linfit.h,v 1.2 1999-10-21 18:45:46 ansari Exp $
     3// $Id: linfit.h,v 1.3 1999-10-25 10:36:08 ansari Exp $
    44//
    55
     
    1010
    1111#include "machdefs.h"
    12 class Matrix;
    13 class Vector;
     12class OMatrix;
     13class OVector;
    1414
    15 double LinFit(const Vector& x, const Vector& y, int nf,
    16            double (*f)(int, double), Vector& c);
     15double LinFit(const OVector& x, const OVector& y, int nf,
     16           double (*f)(int, double), OVector& c);
    1717// fit lineaire des y en tant que somme de c(i)f(i,x), i=0..nf-1;
    1818
    1919
    20 double LinFit(const Matrix& fx, const Vector& y, Vector& c);
     20double LinFit(const OMatrix& fx, const OVector& y, OVector& c);
    2121// fit lineaire des y en tant que somme de c(i)f(i,x), i=0..nf-1,
    2222// la matrice fx contient les valeurs des f:
     
    2424                     
    2525
    26 double LinFit(const Vector& x, const Vector& y, const Vector& errY2, int nf,
    27            double (*f)(int, double), Vector& c, Vector& errC);
     26double LinFit(const OVector& x, const OVector& y, const OVector& errY2, int nf,
     27           double (*f)(int, double), OVector& c, OVector& errC);
    2828// fit lineaire des y en tant que somme de c(i)f(i,x), i=0..nf-1,
    2929// errY2 contient les carres des erreurs sur les Y.
     
    3131
    3232
    33 double LinFit(const Matrix& fx, const Vector& y, const Vector& errY2,
    34            Vector& c, Vector& errC);
     33double LinFit(const OMatrix& fx, const OVector& y, const OVector& errY2,
     34           OVector& c, OVector& errC);
    3535// fit lineaire des y en tant que somme de c(i)f(i,x), i=0..nf-1,
    3636// la matrice fx contient les valeurs des f:
Note: See TracChangeset for help on using the changeset viewer.