GRASS 8 Programmer's Manual 8.6.0dev(2026)-5f4f7ad06c
Loading...
Searching...
No Matches
defs/calc.h
Go to the documentation of this file.
1#ifndef GRASS_CALCDEFS_H
2#define GRASS_CALCDEFS_H
3
4extern void calc_init(int);
5extern void pre_exec(void);
6extern void post_exec(void);
7
8extern func_t f_add;
9extern func_t f_sub;
10extern func_t f_mul;
11extern func_t f_div;
12extern func_t f_mod;
13extern func_t f_pow;
14extern args_t c_binop;
15
16extern func_t f_neg;
17extern func_t f_abs;
18extern func_t f_ceil;
19extern func_t f_floor;
20extern args_t c_unop;
21
22extern func_t f_gt;
23extern func_t f_ge;
24extern func_t f_lt;
25extern func_t f_le;
26extern func_t f_eq;
27extern func_t f_ne;
28extern args_t c_cmpop;
29
30extern func_t f_and;
31extern func_t f_or;
32extern func_t f_and2;
33extern func_t f_or2;
34extern func_t f_bitand;
35extern func_t f_bitor;
36extern func_t f_bitxor;
37extern args_t c_logop;
38
39extern func_t f_shiftl;
40extern func_t f_shiftr;
41extern func_t f_shiftru;
42extern args_t c_shiftop;
43
44extern func_t f_not;
45extern func_t f_bitnot;
46extern args_t c_not;
47
48extern func_t f_sqrt;
49extern func_t f_sin;
50extern func_t f_cos;
51extern func_t f_tan;
52extern func_t f_acos;
53extern func_t f_asin;
54extern args_t c_double1;
55
56extern func_t f_exp;
57extern func_t f_log;
58extern func_t f_atan;
59extern args_t c_double12;
60
61extern func_t f_int;
62extern args_t c_int;
63
64extern func_t f_float;
65extern args_t c_float;
66
67extern func_t f_double;
68extern args_t c_double;
69
70extern func_t f_round;
71extern args_t c_round;
72
73extern func_t f_eval;
74extern args_t c_eval;
75
76extern func_t f_if;
77extern args_t c_if;
78
79extern func_t f_isnull;
80extern args_t c_isnull;
81
82extern func_t f_graph;
83extern func_t f_graph2;
84extern args_t c_graph;
85
86extern func_t f_min;
87extern func_t f_max;
88extern func_t f_nmin;
89extern func_t f_nmax;
90extern args_t c_varop;
91
92extern func_t f_median;
93extern func_t f_nmedian;
94extern args_t c_median;
95
96extern func_t f_mode;
97extern func_t f_nmode;
98extern args_t c_mode;
99
100extern func_t f_rand;
102
103extern func_t f_null;
104extern args_t c_int0;
105
106extern args_t c_double0;
107
108#endif
int args_t(int argc, int *argt)
Definition calc.h:8
int func_t(int argc, const int *argt, void **args)
Definition calc.h:7
args_t c_isnull
func_t f_gt
func_t f_add
args_t c_int0
func_t f_div
func_t f_if
func_t f_and2
args_t c_varop
func_t f_mul
func_t f_ne
func_t f_bitnot
func_t f_nmin
func_t f_shiftl
func_t f_nmedian
func_t f_null
func_t f_graph
func_t f_lt
func_t f_mod
func_t f_float
func_t f_acos
args_t c_round
func_t f_nmax
args_t c_shiftop
func_t f_le
func_t f_rand
args_t c_graph
func_t f_eval
void calc_init(int)
Definition calc.c:55
func_t f_tan
func_t f_log
func_t f_round
func_t f_isnull
args_t c_double0
func_t f_sin
func_t f_and
args_t c_double1
func_t f_sqrt
func_t f_max
func_t f_graph2
args_t c_median
func_t f_min
func_t f_median
args_t c_unop
func_t f_sub
void pre_exec(void)
Definition calc.c:21
func_t f_or
func_t f_nmode
func_t f_int
func_t f_not
args_t c_mode
args_t c_logop
func_t f_shiftru
args_t c_cmpop
args_t c_not
void post_exec(void)
Definition calc.c:38
func_t f_bitand
func_t f_atan
func_t f_ceil
args_t c_int
func_t f_double
func_t f_bitor
func_t f_pow
func_t f_mode
func_t f_asin
func_t f_eq
args_t c_if
func_t f_neg
func_t f_abs
args_t c_binop
Definition defs/calc.h:101
func_t f_exp
args_t c_double
func_t f_or2
func_t f_bitxor
args_t c_float
func_t f_ge
args_t c_eval
func_t f_floor
func_t f_cos
args_t c_double12
func_t f_shiftr