-
Notifications
You must be signed in to change notification settings - Fork 0
/
opers.h
56 lines (41 loc) · 1.53 KB
/
opers.h
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* opers.h
*
* HISTORY:
* quick and dirty hack Linas Vepstas October 1989
* more hacks ever since -- Linas
*/
#ifndef OPERS_H
#define OPERS_H
/*-------------------------------------------------------------------*/
extern void absolval (float glob[],
unsigned int sizex, unsigned int sizey);
extern void fix (float glob[],
unsigned int sizex, unsigned int sizey);
extern double avg (float glob[],
unsigned int sizex, unsigned int sizey);
extern double sqdev (float glob[],
unsigned int sizex, unsigned int sizey);
extern void rescale (float glob[],
unsigned int sizex, unsigned int sizey,
float scale_factor);
extern void expand (float glob[],
unsigned int sizex, unsigned int sizey,
float scale_factor, float offset);
extern void recip (float glob[],
unsigned int sizex, unsigned int sizey);
extern void takelog (float glob[],
unsigned int sizex, unsigned int sizey);
extern void takeroot (float glob[],
unsigned int sizex, unsigned int sizey,
float scale_factor);
extern void fakelog (float glob[],
unsigned int sizex, unsigned int sizey,
float scale_factor);
extern void clamp (float glob[],
unsigned int sizex, unsigned int sizey,
float scale_factor, float offset);
extern void dump (float glob[],
unsigned int sizex, unsigned int sizey);
#endif /* OPERS_H */
/* --------------- END OF FILE ------------------------- */