/*****************************************************************/ /* */ /* Copyright (c) Quinn-Curtis, 1991, 1992 */ /* */ /* Filename: RTCURVEF.H */ /* Revision: 2.5 */ /* Date: 12/15/91 */ /* */ /* Description: -Routines for simultaneous equations */ /* -multiple regression */ /* -polynomial curvefitting */ /*****************************************************************/ #ifdef __cplusplus extern "C" { #endif #ifndef realtype #include "rtstdhdr.h" #endif void rtgaussjordan( matstruct *coefary, matstruct *constary, int numcol, matstruct *solcoef, matstruct *invary, realtype *det, int *error); void rtgetminmax(matstruct *dataset, int numdat, realtype *minval, realtype *maxval, realtype *range); void rtmatmean(matstruct *datary, int numrow, realtype *sumx, realtype *mean); void rtmatstd(matstruct *datary, realtype mean, int numrow, realtype *variance, realtype *stddev); void rtmultiplereg( matstruct *indvardat, matstruct *depvardat, int numiv, int numobs, int zflag, matstruct *regcoef, matstruct *yest, matstruct *resid, realtype *see, matstruct *coefsig, realtype *rsq, realtype *r, int *regerror); void rtpolycurvefit(matstruct *indvar, matstruct *depvar, int numobs, int order, int zerof, matstruct *coef, matstruct *yest, matstruct *resid, realtype *see, matstruct *coefsig, realtype *rsq, realtype *r, int *cferror); #ifdef __cplusplus } #endif