X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fctsupport.h;h=55c25d50c53f71be0616109e4f572d9db25083cd;hb=df761d2b3cac3d347f4ef0f9f69e88d3bb66b2fa;hp=cea4f14dc7e86e6211326f400aed3dc22be65030;hpb=fd1d136a94a6d20013f38d6a997bdfefad0f5e98;p=ctsim.git diff --git a/include/ctsupport.h b/include/ctsupport.h index cea4f14..55c25d5 100644 --- a/include/ctsupport.h +++ b/include/ctsupport.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ctsupport.h,v 1.15 2000/12/20 20:08:48 kevin Exp $ +** $Id: ctsupport.h,v 1.17 2000/12/27 20:09:19 kevin Exp $ ** ** ** This program is free software; you can redistribute it and/or modify @@ -64,6 +64,7 @@ /*----------------------------------------------------------------------*/ +#define ERR_TRACE -1 #define ERR_WARNING 0 #define ERR_SEVERE 1 #define ERR_FATAL 2 @@ -236,7 +237,7 @@ void scale2d (double x[], double y[], int pts, double xfact, double yfact); // mathfuncs.cpp double normalizeAngle (double theta); double integrateSimpson (const double xmin, const double xmax, const double *y, const int np); -void vectorNumericStatistics (std::vector vec, double& min, double& max, double& mean, double& mode, double& median, double& stddev); +void vectorNumericStatistics (std::vector vec, const int nPoints, double& min, double& max, double& mean, double& mode, double& median, double& stddev); /*----------------------------------------------------------------------*/