coffee
Coronagraph Optimization For Fast Exoplanet Exploration
COREMOD_arith.h
Go to the documentation of this file.
1 #ifndef _ARITH_H
2 #define _ARITH_H
3 
4 
5 void __attribute__ ((constructor)) libinit_COREMOD_arith();
6 
8 
9 
10 
11 long arith_set_pixel(const char *ID_name, double value, long x, long y);
12 long arith_set_pixel_1Drange(const char *ID_name, double value, long x, long y);
13 
14 long arith_set_row(const char *ID_name, double value, long y);
15 
16 long arith_set_col(const char *ID_name, double value, long x);
17 
18 long arith_image_zero(const char *ID_name);
19 
20 int arith_image_crop(const char *ID_name, const char *ID_out, long *start, long *end, long cropdim);
21 
22 int arith_image_extract2D(const char *in_name, const char *out_name, long size_x, long size_y, long xstart, long ystart);
23 
24 int arith_image_extract3D(const char *in_name, const char *out_name, long size_x, long size_y, long size_z, long xstart, long ystart, long zstart);
25 
26 long arith_image_merge3D(const char *ID_name1, const char *ID_name2, const char *IDout_name);
27 
28 double arith_image_total(const char *ID_name);
29 double arith_image_mean(const char *ID_name);
30 double arith_image_min(const char *ID_name);
31 double arith_image_max(const char *ID_name);
32 
33 double arith_image_percentile(const char *ID_name, double fraction);
34 double arith_image_median(const char *ID_name);
35 
36 long arith_image_dx(const char *ID_name, const char *IDout_name);
37 long arith_image_dy(const char *ID_name, const char *IDout_name);
38 
39 
40 
41 /* ------------------------------------------------------------------------- */
42 /* image -> image */
43 /* ------------------------------------------------------------------------- */
44 
45 
46 
47 int arith_image_acos_byID(long ID, long IDout);
48 int arith_image_asin_byID(long ID, long IDout);
49 int arith_image_atan_byID(long ID, long IDout);
50 int arith_image_ceil_byID(long ID_name, long IDout);
51 int arith_image_cos_byID(long ID, long IDout);
52 int arith_image_cosh_byID(long ID, long IDout);
53 int arith_image_exp_byID(long ID, long IDout);
54 int arith_image_fabs_byID(long ID, long IDout);
55 int arith_image_floor_byID(long ID, long IDout);
56 int arith_image_ln_byID(long ID, long IDout);
57 int arith_image_log_byID(long ID, long IDout);
58 int arith_image_sqrt_byID(long ID, long IDout);
59 int arith_image_sin_byID(long ID, long IDout);
60 int arith_image_sinh_byID(long ID, long IDout);
61 int arith_image_tan_byID(long ID, long IDout);
62 int arith_image_tanh_byID(long ID, long IDout);
63 
64 int arith_image_acos(const char *ID_name, const char *ID_out);
65 int arith_image_asin(const char *ID_name, const char *ID_out);
66 int arith_image_atan(const char *ID_name, const char *ID_out);
67 int arith_image_ceil(const char *ID_name, const char *ID_out);
68 int arith_image_cos(const char *ID_name, const char *ID_out);
69 int arith_image_cosh(const char *ID_name, const char *ID_out);
70 int arith_image_exp(const char *ID_name, const char *ID_out);
71 int arith_image_fabs(const char *ID_name, const char *ID_out);
72 int arith_image_floor(const char *ID_name, const char *ID_out);
73 int arith_image_ln(const char *ID_name, const char *ID_out);
74 int arith_image_log(const char *ID_name, const char *ID_out);
75 int arith_image_sqrt(const char *ID_name, const char *ID_out);
76 int arith_image_sin(const char *ID_name, const char *ID_out);
77 int arith_image_sinh(const char *ID_name, const char *ID_out);
78 int arith_image_tan(const char *ID_name, const char *ID_out);
79 int arith_image_tanh(const char *ID_name, const char *ID_out);
80 
81 
82 
83 
84 
85 
90 int arith_image_cos_inplace_byID(long ID);
92 int arith_image_exp_inplace_byID(long ID);
95 int arith_image_ln_inplace_byID(long ID);
96 int arith_image_log_inplace_byID(long ID);
98 int arith_image_sin_inplace_byID(long ID);
100 int arith_image_tan_inplace_byID(long ID);
101 int arith_image_tanh_inplace_byID(long ID);
102 
103 int arith_image_acos_inplace(const char *ID_name);
104 int arith_image_asin_inplace(const char *ID_name);
105 int arith_image_atan_inplace(const char *ID_name);
106 int arith_image_ceil_inplace(const char *ID_name);
107 int arith_image_cos_inplace(const char *ID_name);
108 int arith_image_cosh_inplace(const char *ID_name);
109 int arith_image_exp_inplace(const char *ID_name);
110 int arith_image_fabs_inplace(const char *ID_name);
111 int arith_image_floor_inplace(const char *ID_name);
112 int arith_image_ln_inplace(const char *ID_name);
113 int arith_image_log_inplace(const char *ID_name);
114 int arith_image_sqrt_inplace(const char *ID_name);
115 int arith_image_sin_inplace(const char *ID_name);
116 int arith_image_sinh_inplace(const char *ID_name);
117 int arith_image_tan_inplace(const char *ID_name);
118 int arith_image_tanh_inplace(const char *ID_name);
119 
120 
121 
122 
123 /* Functions for bison / flex */
124 double Ppositive(double a);
125 double Ptrunc(double a, double b, double c);
126 int arith_image_function_im_im__d_d(const char *ID_name, const char *ID_out, double (*pt2function)(double));
127 int arith_image_function_imd_im__dd_d(const char *ID_name, double v0, const char *ID_out, double (*pt2function)(double, double));
128 int arith_image_function_imdd_im__ddd_d(const char *ID_name, double v0, double v1, const char *ID_out, double (*pt2function)(double, double, double));
129 
130 
131 /* ------------------------------------------------------------------------- */
132 /* predefined functions image, image -> image */
133 /* ------------------------------------------------------------------------- */
134 
135 
136 int arith_image_fmod_byID(long ID1, long ID2, long IDout);
137 int arith_image_pow_byID(long ID1, long ID2, const char *IDout);
138 int arith_image_add_byID(long ID1, long ID2, long IDout);
139 int arith_image_sub_byID(long ID1, long ID2, long IDout);
140 int arith_image_mult_byID(long ID1, long ID2, long IDout);
141 int arith_image_div_byID(long ID1, long ID2, long IDout);
142 int arith_image_minv_byID(long ID1, long ID2, long IDout);
143 int arith_image_maxv_byID(long ID1, long ID2, long IDout);
144 
145 int arith_image_fmod(const char *ID1_name, const char *ID2_name, const char *ID_out);
146 int arith_image_pow(const char *ID1_name, const char *ID2_name, const char *ID_out);
147 int arith_image_add(const char *ID1_name, const char *ID2_name, const char *ID_out);
148 int arith_image_sub(const char *ID1_name, const char *ID2_name, const char *ID_out);
149 int arith_image_mult(const char *ID1_name, const char *ID2_name, const char *ID_out);
150 int arith_image_div(const char *ID1_name, const char *ID2_name, const char *ID_out);
151 int arith_image_minv(const char *ID1_name, const char *ID2_name, const char *ID_out);
152 int arith_image_maxv(const char *ID1_name, const char *ID2_name, const char *ID_out);
153 
154 
155 
156 
157 int arith_image_fmod_inplace_byID(long ID1, long ID2);
158 int arith_image_pow_inplace_byID(long ID1, long ID2);
159 int arith_image_add_inplace_byID(long ID1, long ID2);
160 int arith_image_sub_inplace_byID(long ID1, long ID2);
161 int arith_image_mult_inplace_byID(long ID1, long ID2);
162 int arith_image_div_inplace_byID(long ID1, long ID2);
163 int arith_image_minv_inplace_byID(long ID1, long ID2);
164 int arith_image_maxv_inplace_byID(long ID1, long ID2);
165 
166 int arith_image_fmod_inplace(const char *ID1_name, const char *ID2_name); // ID1 is output
167 int arith_image_pow_inplace(const char *ID1_name, const char *ID2_name);
168 int arith_image_add_inplace(const char *ID1_name, const char *ID2_name);
169 int arith_image_sub_inplace(const char *ID1_name, const char *ID2_name);
170 int arith_image_mult_inplace(const char *ID1_name, const char *ID2_name);
171 int arith_image_div_inplace(const char *ID1_name, const char *ID2_name);
172 int arith_image_minv_inplace(const char *ID1_name, const char *ID2_name);
173 int arith_image_maxv_inplace(const char *ID1_name, const char *ID2_name);
174 
175 
176 
177 
178 
179 
180 
181 
182 /* ------------------------------------------------------------------------- */
183 /* complex image, complex image -> complex image */
184 /* ------------------------------------------------------------------------- */
185 
186 int arith_image_Cadd_byID(long ID1, long ID2, long IDout);
187 int arith_image_Csub_byID(long ID1, long ID2, long IDout);
188 int arith_image_Cmult_byID(long ID1, long ID2, long IDout);
189 int arith_image_Cdiv_byID(long ID1, long ID2, long IDout);
190 
191 int arith_image_Cadd(const char *ID1_name, const char *ID2_name, const char *ID_out);
192 int arith_image_Csub(const char *ID1_name, const char *ID2_name, const char *ID_out);
193 int arith_image_Cmult(const char *ID1_name, const char *ID2_name, const char *ID_out);
194 int arith_image_Cdiv(const char *ID1_name, const char *ID2_name, const char *ID_out);
195 
196 
197 
198 
199 
200 /* ------------------------------------------------------------------------- */
201 /* image, double -> image */
202 /* ------------------------------------------------------------------------- */
203 
204 int arith_image_cstfmod_byID(long ID, double f1, long IDout);
205 int arith_image_cstadd_byID(long ID, double f1, long IDout);
206 int arith_image_cstsub_byID(long ID, double f1, long IDout);
207 int arith_image_cstsubm_byID(long ID, double f1, long IDout);
208 int arith_image_cstmult_byID(long ID, double f1, long IDout);
209 int arith_image_cstdiv_byID(long ID, double f1, long IDout);
210 int arith_image_cstpow_byID(long ID, double f1, long IDout);
211 int arith_image_cstmaxv_byID(long ID, double f1, long IDout);
212 int arith_image_cstminv_byID(long ID, double f1, long IDout);
213 
214 int arith_image_cstfmod(const char *ID_name, double f1, const char *ID_out);
215 int arith_image_cstadd(const char *ID_name, double f1, const char *ID_out);
216 int arith_image_cstsub(const char *ID_name, double f1, const char *ID_out);
217 int arith_image_cstsubm(const char *ID_name, double f1, const char *ID_out);
218 int arith_image_cstmult(const char *ID_name, double f1, const char *ID_out);
219 int arith_image_cstdiv(const char *ID_name, double f1, const char *ID_out);
220 int arith_image_cstpow(const char *ID_name, double f1, const char *ID_out);
221 int arith_image_cstmaxv(const char *ID_name, double f1, const char *ID_out);
222 int arith_image_cstminv(const char *ID_name, double f1, const char *ID_out);
223 
224 
225 
226 int arith_image_cstfmod_inplace_byID(long ID, double f1);
227 int arith_image_cstadd_inplace_byID(long ID, double f1);
228 int arith_image_cstsub_inplace_byID(long ID, double f1);
229 int arith_image_cstmult_inplace_byID(long ID, double f1);
230 int arith_image_cstdiv_inplace_byID(long ID, double f1);
231 int arith_image_cstpow_inplace_byID(long ID, double f1);
232 int arith_image_cstmaxv_inplace_byID(long ID, double f1);
233 int arith_image_cstminv_inplace_byID(long ID, double f1);
234 
235 int arith_image_cstfmod_inplace(const char *ID_name, double f1);
236 int arith_image_cstadd_inplace(const char *ID_name, double f1);
237 int arith_image_cstsub_inplace(const char *ID_name, double f1);
238 int arith_image_cstmult_inplace(const char *ID_name, double f1);
239 int arith_image_cstdiv_inplace(const char *ID_name, double f1);
240 int arith_image_cstpow_inplace(const char *ID_name, double f1);
241 int arith_image_cstmaxv_inplace(const char *ID_name, double f1);
242 int arith_image_cstminv_inplace(const char *ID_name, double f1);
243 
244 
245 /* ------------------------------------------------------------------------- */
246 /* complex image, complex image -> complex image */
247 /* ------------------------------------------------------------------------- */
248 
249 int arith_image_trunc_byID(long ID, double f1, double f2, long IDout);
250 int arith_image_trunc_inplace_byID(long IDname, double f1, double f2);
251 
252 int arith_image_trunc(const char *ID_name, double f1, double f2, const char *ID_out);
253 int arith_image_trunc_inplace(const char *ID_name, double f1, double f2);
254 
255 long arith_make_slopexy(const char *ID_name, long l1,long l2, double sx, double sy);
256 
257 
258 
259 //int arith_image_translate(const char *ID_name, const char *ID_out, double xtransl, double ytransl);
260 
261 int execute_arith(const char *cmd);
262 
263 #endif
int arith_image_Cdiv(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2793
long arith_set_pixel(const char *ID_name, double value, long x, long y)
Definition: COREMOD_arith.c:226
int arith_image_mult_inplace(const char *ID1_name, const char *ID2_name)
Definition: COREMOD_arith.c:2534
int arith_image_crop(const char *ID_name, const char *ID_out, long *start, long *end, long cropdim)
Definition: COREMOD_arith.c:462
int arith_image_cosh_inplace_byID(long ID)
Definition: COREMOD_arith.c:1985
int arith_image_mult_byID(long ID1, long ID2, long IDout)
int arith_image_floor(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1963
int arith_image_fabs_inplace_byID(long ID)
Definition: COREMOD_arith.c:1987
int arith_image_minv(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2524
int arith_image_asin_inplace(const char *ID_name)
Definition: COREMOD_arith.c:1999
int arith_image_tanh_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1952
double arith_image_min(const char *ID_name)
Definition: COREMOD_arith.c:915
int arith_image_cstpow_inplace_byID(long ID, double f1)
Definition: COREMOD_arith.c:3065
int arith_image_tan(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1969
int arith_image_maxv_byID(long ID1, long ID2, long IDout)
int arith_image_cstsub_inplace_byID(long ID, double f1)
Definition: COREMOD_arith.c:3061
int arith_image_cos_inplace_byID(long ID)
Definition: COREMOD_arith.c:1984
int arith_image_ceil(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1958
int arith_image_trunc_inplace(const char *ID_name, double f1, double f2)
Definition: COREMOD_arith.c:3275
int arith_image_acos_inplace_byID(long ID)
Definition: COREMOD_arith.c:1980
int arith_image_cstmaxv_inplace(const char *ID_name, double f1)
Definition: COREMOD_arith.c:3054
int arith_image_trunc_inplace_byID(long IDname, double f1, double f2)
Definition: COREMOD_arith.c:3276
int arith_image_add_inplace_byID(long ID1, long ID2)
Definition: COREMOD_arith.c:2544
int arith_image_acos_inplace(const char *ID_name)
Definition: COREMOD_arith.c:1998
double arith_image_percentile(const char *ID_name, double fraction)
Definition: COREMOD_arith.c:1073
int arith_image_add_inplace(const char *ID1_name, const char *ID2_name)
Definition: COREMOD_arith.c:2532
int arith_image_atan(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1957
int arith_image_cos_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1941
int arith_image_sub_byID(long ID1, long ID2, long IDout)
int arith_image_ln_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2007
int arith_image_log_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1947
int arith_image_cosh_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1942
int arith_image_minv_byID(long ID1, long ID2, long IDout)
int arith_image_cstadd_byID(long ID, double f1, long IDout)
int arith_image_sub(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2521
int arith_image_exp_inplace_byID(long ID)
Definition: COREMOD_arith.c:1986
int arith_image_cstdiv(const char *ID_name, double f1, const char *ID_out)
Definition: COREMOD_arith.c:3039
int arith_image_fmod(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2518
int arith_image_cstminv_inplace_byID(long ID, double f1)
Definition: COREMOD_arith.c:3067
int arith_image_extract3D(const char *in_name, const char *out_name, long size_x, long size_y, long size_z, long xstart, long ystart, long zstart)
Definition: COREMOD_arith.c:762
int arith_image_cstdiv_inplace(const char *ID_name, double f1)
Definition: COREMOD_arith.c:3051
double Ptrunc(double a, double b, double c)
Definition: COREMOD_arith.c:3271
int execute_arith(const char *cmd)
Definition: COREMOD_arith.c:3479
int arith_image_cstsub_byID(long ID, double f1, long IDout)
int arith_image_cstmult_byID(long ID, double f1, long IDout)
int arith_image_floor_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2006
int arith_image_cstmult_inplace(const char *ID_name, double f1)
Definition: COREMOD_arith.c:3050
int arith_image_sin(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1967
int arith_image_ceil_inplace_byID(long ID)
Definition: COREMOD_arith.c:1983
double arith_image_total(const char *ID_name)
Definition: COREMOD_arith.c:850
int arith_image_asin(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1956
int arith_image_cstadd_inplace(const char *ID_name, double f1)
Definition: COREMOD_arith.c:3048
int arith_image_cstadd(const char *ID_name, double f1, const char *ID_out)
Definition: COREMOD_arith.c:3035
int arith_image_Cmult_byID(long ID1, long ID2, long IDout)
int arith_image_sqrt_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1948
int arith_image_atan_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1939
int arith_image_ln_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1946
int arith_image_asin_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1938
int init_COREMOD_arith()
Definition: COREMOD_arith.c:127
int arith_image_cstadd_inplace_byID(long ID, double f1)
Definition: COREMOD_arith.c:3060
int arith_image_cstmaxv_byID(long ID, double f1, long IDout)
int arith_image_fmod_byID(long ID1, long ID2, long IDout)
int arith_image_tan_inplace_byID(long ID)
Definition: COREMOD_arith.c:1994
int arith_image_cstpow_byID(long ID, double f1, long IDout)
int arith_image_cstminv(const char *ID_name, double f1, const char *ID_out)
Definition: COREMOD_arith.c:3043
int arith_image_cosh_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2003
void __attribute__((constructor)) libinit_COREMOD_arith()
Definition: 00CORE.c:87
int arith_image_log(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1965
int arith_image_maxv(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2525
int arith_image_fabs_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1944
double arith_image_median(const char *ID_name)
Definition: COREMOD_arith.c:1181
int arith_image_tan_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2012
int arith_image_exp_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2004
int arith_image_sqrt_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2009
long arith_image_dy(const char *ID_name, const char *IDout_name)
Definition: COREMOD_arith.c:1227
int arith_image_cstminv_byID(long ID, double f1, long IDout)
int arith_image_log_inplace_byID(long ID)
Definition: COREMOD_arith.c:1990
int arith_image_floor_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1945
int arith_image_mult(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2522
int arith_image_cstmult_inplace_byID(long ID, double f1)
Definition: COREMOD_arith.c:3062
int arith_image_floor_inplace_byID(long ID)
Definition: COREMOD_arith.c:1988
int arith_image_tanh_inplace_byID(long ID)
Definition: COREMOD_arith.c:1995
int arith_image_fmod_inplace_byID(long ID1, long ID2)
Definition: COREMOD_arith.c:2542
int arith_image_log_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2008
int arith_image_add_byID(long ID1, long ID2, long IDout)
int arith_image_cstminv_inplace(const char *ID_name, double f1)
Definition: COREMOD_arith.c:3055
int arith_image_add(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2520
int arith_image_trunc(const char *ID_name, double f1, double f2, const char *ID_out)
Definition: COREMOD_arith.c:3273
int arith_image_cstfmod_inplace(const char *ID_name, double f1)
Definition: COREMOD_arith.c:3047
int arith_image_fabs_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2005
int arith_image_div_inplace(const char *ID1_name, const char *ID2_name)
Definition: COREMOD_arith.c:2535
int arith_image_Cdiv_byID(long ID1, long ID2, long IDout)
int arith_image_atan_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2000
int arith_image_sqrt_inplace_byID(long ID)
Definition: COREMOD_arith.c:1991
int arith_image_sinh_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1950
int arith_image_minv_inplace(const char *ID1_name, const char *ID2_name)
Definition: COREMOD_arith.c:2536
double arith_image_max(const char *ID_name)
Definition: COREMOD_arith.c:993
int arith_image_asin_inplace_byID(long ID)
Definition: COREMOD_arith.c:1981
int arith_image_pow_byID(long ID1, long ID2, const char *IDout)
int arith_image_sin_inplace_byID(long ID)
Definition: COREMOD_arith.c:1992
int arith_image_sin_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1949
int arith_image_Cadd_byID(long ID1, long ID2, long IDout)
int arith_image_tanh_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2013
long arith_set_row(const char *ID_name, double value, long y)
Definition: COREMOD_arith.c:326
double Ppositive(double a)
Definition: COREMOD_arith.c:1928
int arith_image_fabs(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1962
int arith_image_extract2D(const char *in_name, const char *out_name, long size_x, long size_y, long xstart, long ystart)
Definition: COREMOD_arith.c:713
int arith_image_div(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2523
int arith_image_div_byID(long ID1, long ID2, long IDout)
int arith_image_mult_inplace_byID(long ID1, long ID2)
Definition: COREMOD_arith.c:2546
int arith_image_function_imd_im__dd_d(const char *ID_name, double v0, const char *ID_out, double(*pt2function)(double, double))
Definition: COREMOD_arith.c:1386
int arith_image_cosh(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1960
int arith_image_function_im_im__d_d(const char *ID_name, const char *ID_out, double(*pt2function)(double))
Definition: COREMOD_arith.c:1284
int arith_image_minv_inplace_byID(long ID1, long ID2)
Definition: COREMOD_arith.c:2548
int arith_image_Csub_byID(long ID1, long ID2, long IDout)
int arith_image_function_imdd_im__ddd_d(const char *ID_name, double v0, double v1, const char *ID_out, double(*pt2function)(double, double, double))
Definition: COREMOD_arith.c:1482
int arith_image_fmod_inplace(const char *ID1_name, const char *ID2_name)
Definition: COREMOD_arith.c:2530
int arith_image_cstpow_inplace(const char *ID_name, double f1)
Definition: COREMOD_arith.c:3053
int arith_image_cstdiv_byID(long ID, double f1, long IDout)
int arith_image_trunc_byID(long ID, double f1, double f2, long IDout)
int arith_image_cstmult(const char *ID_name, double f1, const char *ID_out)
Definition: COREMOD_arith.c:3038
int arith_image_tanh(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1970
long arith_make_slopexy(const char *ID_name, long l1, long l2, double sx, double sy)
Definition: COREMOD_arith.c:3431
long arith_set_col(const char *ID_name, double value, long x)
Definition: COREMOD_arith.c:369
int arith_image_sub_inplace_byID(long ID1, long ID2)
Definition: COREMOD_arith.c:2545
long arith_image_merge3D(const char *ID_name1, const char *ID_name2, const char *IDout_name)
Definition: COREMOD_arith.c:800
int arith_image_acos_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1937
int arith_image_Csub(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2743
int arith_image_exp_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1943
long arith_image_zero(const char *ID_name)
Definition: COREMOD_arith.c:414
long arith_image_dx(const char *ID_name, const char *IDout_name)
Definition: COREMOD_arith.c:1190
int arith_image_pow(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2519
int arith_image_exp(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1961
int arith_image_cstmaxv(const char *ID_name, double f1, const char *ID_out)
Definition: COREMOD_arith.c:3042
int arith_image_cstsubm_byID(long ID, double f1, long IDout)
int arith_image_ln(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1964
int arith_image_cstfmod_byID(long ID, double f1, long IDout)
int arith_image_div_inplace_byID(long ID1, long ID2)
Definition: COREMOD_arith.c:2547
int arith_image_cstpow(const char *ID_name, double f1, const char *ID_out)
Definition: COREMOD_arith.c:3041
int arith_image_pow_inplace(const char *ID1_name, const char *ID2_name)
Definition: COREMOD_arith.c:2531
int arith_image_cstfmod(const char *ID_name, double f1, const char *ID_out)
Definition: COREMOD_arith.c:3034
int arith_image_tan_byID(long ID, long IDout)
Definition: COREMOD_arith.c:1951
int arith_image_cstsub(const char *ID_name, double f1, const char *ID_out)
Definition: COREMOD_arith.c:3036
int arith_image_ln_inplace_byID(long ID)
Definition: COREMOD_arith.c:1989
int arith_image_Cmult(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2768
int arith_image_atan_inplace_byID(long ID)
Definition: COREMOD_arith.c:1982
int arith_image_cstdiv_inplace_byID(long ID, double f1)
Definition: COREMOD_arith.c:3063
long arith_set_pixel_1Drange(const char *ID_name, double value, long x, long y)
Definition: COREMOD_arith.c:267
int arith_image_sin_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2010
int arith_image_sinh(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1968
int arith_image_cos_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2002
int arith_image_sinh_inplace_byID(long ID)
Definition: COREMOD_arith.c:1993
int arith_image_pow_inplace_byID(long ID1, long ID2)
Definition: COREMOD_arith.c:2543
int arith_image_sinh_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2011
int arith_image_sub_inplace(const char *ID1_name, const char *ID2_name)
Definition: COREMOD_arith.c:2533
int arith_image_maxv_inplace_byID(long ID1, long ID2)
Definition: COREMOD_arith.c:2549
int arith_image_cstsub_inplace(const char *ID_name, double f1)
Definition: COREMOD_arith.c:3049
int arith_image_ceil_byID(long ID_name, long IDout)
Definition: COREMOD_arith.c:1940
int arith_image_cstfmod_inplace_byID(long ID, double f1)
Definition: COREMOD_arith.c:3059
int arith_image_maxv_inplace(const char *ID1_name, const char *ID2_name)
Definition: COREMOD_arith.c:2537
int arith_image_acos(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1955
int arith_image_cstmaxv_inplace_byID(long ID, double f1)
Definition: COREMOD_arith.c:3066
int arith_image_ceil_inplace(const char *ID_name)
Definition: COREMOD_arith.c:2001
double arith_image_mean(const char *ID_name)
Definition: COREMOD_arith.c:902
int arith_image_cstsubm(const char *ID_name, double f1, const char *ID_out)
Definition: COREMOD_arith.c:3037
int arith_image_sqrt(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1966
int arith_image_Cadd(const char *ID1_name, const char *ID2_name, const char *ID_out)
Definition: COREMOD_arith.c:2718
int arith_image_cos(const char *ID_name, const char *ID_out)
Definition: COREMOD_arith.c:1959