"Fossies" - the Fresh Open Source Software Archive

Member "statist-1.4.2/src/funcs.h" (22 Feb 2005, 2035 Bytes) of package /linux/privat/old/statist-1.4.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "funcs.h" see the Fossies "Dox" file reference documentation.

    1 /* This file is part of statist
    2 **
    3 ** It is distributed under the GNU General Public License.
    4 ** See the file COPYING for details.
    5 ** 
    6 ** (c) 1997 Dirk Melcher
    7 **  Doerper Damm 4
    8 **  49134 Wallenhorst
    9 **  GERMANY
   10 **  Tel. 05407/7636
   11 **  email: Dirk.Melcher@usf.Uni-Osnabrueck.DE
   12 **
   13 ***************************************************************/
   14 
   15 /* funcs.h fuer STATIST */
   16 
   17 typedef struct {
   18   short unsigned int *a, n;  
   19 } TUPEL;
   20 
   21 
   22 extern REAL  get_sum(REAL x[], int n);
   23 extern REAL  get_qsum(REAL x[], int n);
   24 extern REAL  get_xysum(REAL x[], REAL y[], int n);
   25 extern REAL  get_sdv(REAL x[], int n);
   26 extern REAL  get_mean(REAL x[], int n);
   27 extern REAL  get_max(REAL x[], int n);
   28 extern int   get_maxint(int x[], int n);
   29 extern REAL  get_min(REAL x[], int n);
   30 extern REAL  get_median(REAL x[], int n);
   31 extern REAL  get_rank_correlation(REAL x[], REAL y[], int n);
   32 extern int   get_round(REAL x);
   33 extern REAL  get_sgn(REAL x);
   34 extern REAL  get_norm_int(REAL x);
   35 extern REAL  get_norm_ord(REAL x);
   36 extern REAL  get_t_int(REAL t, int f);
   37 extern REAL  get_chi_int(REAL chi, int f);
   38 extern REAL  get_f_int(REAL f, int f1, int f2);
   39 extern REAL  rise(REAL x, int exp);
   40 extern REAL  get_z(REAL alpha);
   41 extern REAL  get_t(REAL alpha, int df);
   42 extern REAL  get_ln_0(REAL x);
   43 
   44 extern int  rank_compar(const void *x, const void *y);
   45 extern int  real_compar_down(const void *x, const void *y);
   46 extern int  real_compar_up(const void *x, const void *y);
   47 extern int  u_rank_compar(const void *x, const void *y);
   48 extern int  wilcoxon_rank_compar(const void *x, const void *y);
   49 extern BOOLEAN equal(REAL x, REAL y);
   50 extern int pks(REAL d, int n);
   51 extern REAL get_multiple_reg(REAL y[], PREAL x[], int nrow, int ncol,
   52                   REAL b[], REAL *sdv, REAL *f_calc);
   53 extern void copy_tupel(TUPEL* dest, const TUPEL* src);
   54 extern void print_tupel(TUPEL atupel);
   55 extern TUPEL* create_tupel(TUPEL *atupel, int ndata);
   56 extern BOOLEAN equal_tupel(TUPEL t1, TUPEL t2);
   57 extern REAL get_cross_validate(REAL y[], PREAL x[], int nrow, int ncol, 
   58             REAL ypred[]);
   59 
   60