File: util.h

package info (click to toggle)
spooles 2.2-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 18,824 kB
  • ctags: 3,665
  • sloc: ansic: 146,828; csh: 3,615; makefile: 2,045; perl: 70
file content (34 lines) | stat: -rw-r--r-- 1,053 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*  util.h  */

/*--------------------------------------------------------------------*/
/*
   --------------------------------------------------------------------
   sort and count observations of two integers.

   input
      nobs -- # of observations
      x[]  -- vector of first components of observations
      y[]  -- vector of second components of observations

   output
      pndistinct -- pointer to hold # of distinct observations
      pxdistinct -- pointer to hold first components of the
                    distinct observations
      pydistinct -- pointer to hold second components of the
                    distinct observations
      pcounts    -- pointer to hold counts of the distinct observations

   created -- 95sep30, cca
   --------------------------------------------------------------------
*/
void
IV2sortAndCount (
   int   nobs,
   int   x[],
   int   y[],
   int   *pndistinct,
   int   **pxdistinct,
   int   **pydistinct,
   int   **pcounts
) ;
/*--------------------------------------------------------------------*/