r22: Code cleaning
[ctsim.git] / include / kmath.h
index 636339a33483a97495b76f910f7758d56a12a16c..b7cc5feb99a670c751a61a84df56e337af17da53 100644 (file)
@@ -1,3 +1,26 @@
+/*****************************************************************************
+**  This is part of the CTSim program
+**  Copyright (C) 1983-2000 Kevin Rosenberg
+**
+**  $Id: kmath.h,v 1.3 2000/04/28 14:14:16 kevin Exp $
+**  $Log: kmath.h,v $
+**  Revision 1.3  2000/04/28 14:14:16  kevin
+**  *** empty log message ***
+**
+**
+**  This program is free software; you can redistribute it and/or modify
+**  it under the terms of the GNU General Public License (version 2) as
+**  published by the Free Software Foundation.
+**
+**  This program is distributed in the hope that it will be useful,
+**  but WITHOUT ANY WARRANTY; without even the implied warranty of
+**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+**  GNU General Public License for more details.
+**
+**  You should have received a copy of the GNU General Public License
+**  along with this program; if not, write to the Free Software
+**  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+******************************************************************************/
 /******************************************************************************
  *
  * FILE IDENTIFICATION
@@ -139,18 +162,8 @@ typedef struct matrix_st *MTXP;
 */
 
 
-/* calc_x.c */
-int calc_x(double *x, const double xmin, const double xmax, const int n);
-/* calcpoly.c */
-void calcpoly(const double *a, const int degree, const double *x, double *y, const int n);
-/* gauss.c */
-int gauss(double **a, double *b, double *x, const int num);
 /* lnearest.c */
 long int lnearest(double x);
-/* lsfit.c */
-int lsfit(double *x, double *y, int n, int degree, double *coeff, FILE *fp);
-/* matprt.c */
-void matprt(const double **m, const int row, const int col, FILE *fp);
 /* mtx_disp.c */
 void mtx_show(const MTX *mtx);
 void mtx_prt(const MTX *mtx, FILE *fp);
@@ -168,21 +181,7 @@ int mtx_elem_size(const int dt);
 int mtx_check(const MTX *mtx, const char *func_name);
 /* norm_ang.c */
 double norm_ang(double theta);
-/* pntprt.c */
-void pntprt(const double *x, const double *y, const int n, FILE *fp);
-/* pntread.c */
-int pntread(double *x, double *y, int *num, const int maxn, FILE *fp);
-/* poly.c */
-double poly(const double *a, const int degree, const double x);
 /* simpson.c */
 double simpson(const double xmin, const double xmax, const double *y, const int np);
-/* stddev.c */
-double stddev(const double *y1, const double *y2, const int n, const int df_lost);
-/* vectprt.c */
-void vectprt(const double *v, const int n, FILE *fp);
-/* vectread.c */
-int vectread(double *v, int *n, const int maxn, FILE *fp);
-/* vectsort.c */
-int vectsort(int num_vec, const int dtype, const int num_pts, char *vec1, char *vec2, char *vec3);
 
 #endif