STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
complex.h
Go to the documentation of this file.
1 /***
2 *complex.h - definitions and declarations for complex math library
3 *
4 * Copyright (c) Microsoft Corporation. All rights reserved.
5 *
6 *Purpose:
7 * This file contains constant definitions and external subroutine
8 * declarations for the complex math subroutine library.
9 *
10 * [Public]
11 *
12 ****/
13 
14 #pragma once
15 
16 #ifndef _COMPLEX
17 #define _COMPLEX
18 
19 #include <crtdefs.h>
20 
21 /*
22  * Currently, all MS C compilers for Win32 platforms default to 8 byte
23  * alignment.
24  */
25 #pragma pack(push,_CRT_PACKING)
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif /* __cplusplus */
30 
31 #define _DCOMPLEX_(re, im) _Cbuild(re, im)
32 #define _FCOMPLEX_(re, im) _FCbuild(re, im)
33 #define _LCOMPLEX_(re, im) _LCbuild(re, im)
34 
35 #ifndef _C_COMPLEX_T
36 #define _C_COMPLEX_T
37 
38 typedef struct _C_double_complex
39 { /* double complex */
40  double _Val[2];
42 
43 typedef struct _C_float_complex
44 { /* float complex */
45  float _Val[2];
47 
48 typedef struct _C_ldouble_complex
49 { /* long double complex */
50  long double _Val[2];
52 
53 #endif /* _C_COMPLEX_T */
54 
58 
59 #define _Complex_I _FCbuild(0.0F, 1.0F)
60 
61 _CRTIMP double __cdecl cimag(_In_ _Dcomplex _Z);
62 _CRTIMP double __cdecl creal(_In_ _Dcomplex _Z);
63 _CRTIMP float __cdecl cimagf(_In_ _Fcomplex _Z);
64 _CRTIMP float __cdecl crealf(_In_ _Fcomplex _Z);
65 _CRTIMP long double __cdecl cimagl(_In_ _Lcomplex _Z);
66 _CRTIMP long double __cdecl creall(_In_ _Lcomplex _Z);
67 
68 /* MACROS */
69 
70 #define I _Complex_I
71 
72 /* FUNCTIONS */
73 _CRTIMP double __cdecl cabs(_In_ _Dcomplex _Z);
74 _CRTIMP _Dcomplex __cdecl cacos(_In_ _Dcomplex _Z);
75 _CRTIMP _Dcomplex __cdecl cacosh(_In_ _Dcomplex _Z);
76 _CRTIMP double __cdecl carg(_In_ _Dcomplex _Z);
77 _CRTIMP _Dcomplex __cdecl casin(_In_ _Dcomplex _Z);
78 _CRTIMP _Dcomplex __cdecl casinh(_In_ _Dcomplex _Z);
79 _CRTIMP _Dcomplex __cdecl catan(_In_ _Dcomplex _Z);
80 _CRTIMP _Dcomplex __cdecl catanh(_In_ _Dcomplex _Z);
81 _CRTIMP _Dcomplex __cdecl ccos(_In_ _Dcomplex _Z);
82 _CRTIMP _Dcomplex __cdecl ccosh(_In_ _Dcomplex _Z);
83 _CRTIMP _Dcomplex __cdecl cexp(_In_ _Dcomplex _Z);
84 _CRTIMP double __cdecl cimag(_In_ _Dcomplex _Z);
85 _CRTIMP _Dcomplex __cdecl clog(_In_ _Dcomplex _Z);
86 _CRTIMP _Dcomplex __cdecl clog10(_In_ _Dcomplex _Z);
87 _CRTIMP _Dcomplex __cdecl conj(_In_ _Dcomplex _Z);
88 _CRTIMP _Dcomplex __cdecl cpow(_In_ _Dcomplex _X, _In_ _Dcomplex _Y);
89 _CRTIMP _Dcomplex __cdecl cproj(_In_ _Dcomplex _Z);
90 _CRTIMP double __cdecl creal(_In_ _Dcomplex _Z);
91 _CRTIMP _Dcomplex __cdecl csin(_In_ _Dcomplex _Z);
92 _CRTIMP _Dcomplex __cdecl csinh(_In_ _Dcomplex _Z);
93 _CRTIMP _Dcomplex __cdecl csqrt(_In_ _Dcomplex _Z);
94 _CRTIMP _Dcomplex __cdecl ctan(_In_ _Dcomplex _Z);
95 _CRTIMP _Dcomplex __cdecl ctanh(_In_ _Dcomplex _Z);
96 _CRTIMP double __cdecl norm(_In_ _Dcomplex _Z);
97 
98 _CRTIMP float __cdecl cabsf(_In_ _Fcomplex _Z);
99 _CRTIMP _Fcomplex __cdecl cacosf(_In_ _Fcomplex _Z);
100 _CRTIMP _Fcomplex __cdecl cacoshf(_In_ _Fcomplex _Z);
101 _CRTIMP float __cdecl cargf(_In_ _Fcomplex _Z);
102 _CRTIMP _Fcomplex __cdecl casinf(_In_ _Fcomplex _Z);
103 _CRTIMP _Fcomplex __cdecl casinhf(_In_ _Fcomplex _Z);
104 _CRTIMP _Fcomplex __cdecl catanf(_In_ _Fcomplex _Z);
105 _CRTIMP _Fcomplex __cdecl catanhf(_In_ _Fcomplex _Z);
106 _CRTIMP _Fcomplex __cdecl ccosf(_In_ _Fcomplex _Z);
107 _CRTIMP _Fcomplex __cdecl ccoshf(_In_ _Fcomplex _Z);
108 _CRTIMP _Fcomplex __cdecl cexpf(_In_ _Fcomplex _Z);
109 _CRTIMP float __cdecl cimagf(_In_ _Fcomplex _Z);
110 _CRTIMP _Fcomplex __cdecl clogf(_In_ _Fcomplex _Z);
111 _CRTIMP _Fcomplex __cdecl clog10f(_In_ _Fcomplex _Z);
112 _CRTIMP _Fcomplex __cdecl conjf(_In_ _Fcomplex _Z);
113 _CRTIMP _Fcomplex __cdecl cpowf(_In_ _Fcomplex _X, _In_ _Fcomplex _Y);
114 _CRTIMP _Fcomplex __cdecl cprojf(_In_ _Fcomplex _Z);
115 _CRTIMP float __cdecl crealf(_In_ _Fcomplex _Z);
116 _CRTIMP _Fcomplex __cdecl csinf(_In_ _Fcomplex _Z);
117 _CRTIMP _Fcomplex __cdecl csinhf(_In_ _Fcomplex _Z);
118 _CRTIMP _Fcomplex __cdecl csqrtf(_In_ _Fcomplex _Z);
119 _CRTIMP _Fcomplex __cdecl ctanf(_In_ _Fcomplex _Z);
120 _CRTIMP _Fcomplex __cdecl ctanhf(_In_ _Fcomplex _Z);
121 _CRTIMP float __cdecl normf(_In_ _Fcomplex _Z);
122 
123 _CRTIMP long double __cdecl cabsl(_In_ _Lcomplex _Z);
124 _CRTIMP _Lcomplex __cdecl cacosl(_In_ _Lcomplex _Z);
125 _CRTIMP _Lcomplex __cdecl cacoshl(_In_ _Lcomplex _Z);
126 _CRTIMP long double __cdecl cargl(_In_ _Lcomplex _Z);
127 _CRTIMP _Lcomplex __cdecl casinl(_In_ _Lcomplex _Z);
128 _CRTIMP _Lcomplex __cdecl casinhl(_In_ _Lcomplex _Z);
129 _CRTIMP _Lcomplex __cdecl catanl(_In_ _Lcomplex _Z);
130 _CRTIMP _Lcomplex __cdecl catanhl(_In_ _Lcomplex _Z);
131 _CRTIMP _Lcomplex __cdecl ccosl(_In_ _Lcomplex _Z);
132 _CRTIMP _Lcomplex __cdecl ccoshl(_In_ _Lcomplex _Z);
133 _CRTIMP _Lcomplex __cdecl cexpl(_In_ _Lcomplex _Z);
134 _CRTIMP long double __cdecl cimagl(_In_ _Lcomplex _Z);
135 _CRTIMP _Lcomplex __cdecl clogl(_In_ _Lcomplex _Z);
136 _CRTIMP _Lcomplex __cdecl clog10l(_In_ _Lcomplex _Z);
137 _CRTIMP _Lcomplex __cdecl conjl(_In_ _Lcomplex _Z);
138 _CRTIMP _Lcomplex __cdecl cpowl(_In_ _Lcomplex _X, _In_ _Lcomplex _Y);
139 _CRTIMP _Lcomplex __cdecl cprojl(_In_ _Lcomplex _Z);
140 _CRTIMP long double __cdecl creall(_In_ _Lcomplex _Z);
141 _CRTIMP _Lcomplex __cdecl csinl(_In_ _Lcomplex _Z);
142 _CRTIMP _Lcomplex __cdecl csinhl(_In_ _Lcomplex _Z);
143 _CRTIMP _Lcomplex __cdecl csqrtl(_In_ _Lcomplex _Z);
144 _CRTIMP _Lcomplex __cdecl ctanl(_In_ _Lcomplex _Z);
145 _CRTIMP _Lcomplex __cdecl ctanhl(_In_ _Lcomplex _Z);
146 _CRTIMP long double __cdecl norml(_In_ _Lcomplex _Z);
147 
148 _CRTIMP _Dcomplex __cdecl _Cbuild(_In_ double _Re, _In_ double _Im);
149 _CRTIMP _Dcomplex __cdecl _Cmulcc(_In_ _Dcomplex _X, _In_ _Dcomplex _Y);
150 _CRTIMP _Dcomplex __cdecl _Cmulcr(_In_ _Dcomplex _X, _In_ double _Y);
151 
152 _CRTIMP _Fcomplex __cdecl _FCbuild(_In_ float _Re, _In_ float _Im);
153 _CRTIMP _Fcomplex __cdecl _FCmulcc(_In_ _Fcomplex _X, _In_ _Fcomplex _Y);
154 _CRTIMP _Fcomplex __cdecl _FCmulcr(_In_ _Fcomplex _X, _In_ float _Y);
155 
156 _CRTIMP _Lcomplex __cdecl _LCbuild(_In_ long double _Re, _In_ long double _Im);
157 _CRTIMP _Lcomplex __cdecl _LCmulcc(_In_ _Lcomplex _X, _In_ _Lcomplex _Y);
158 _CRTIMP _Lcomplex __cdecl _LCmulcr(_In_ _Lcomplex _X, _In_ long double _Y);
159 
160 #ifdef __cplusplus
161 }
162 
163 extern "C++"
164 {
165  // double complex OVERLOADS
166  inline _Dcomplex __CRTDECL acos(_In_ _Dcomplex _X) throw()
167  { // compute cacos
168  return (cacos(_X));
169  }
170 
171  inline _Dcomplex __CRTDECL acosh(_In_ _Dcomplex _X) throw()
172  { // compute cacosh
173  return (cacosh(_X));
174  }
175 
176  inline _Dcomplex __CRTDECL asin(_In_ _Dcomplex _X) throw()
177  { // compute casin
178  return (casin(_X));
179  }
180 
181  inline _Dcomplex __CRTDECL asinh(_In_ _Dcomplex _X) throw()
182  { // compute casinh
183  return (casinh(_X));
184  }
185 
186  inline _Dcomplex __CRTDECL atan(_In_ _Dcomplex _X) throw()
187  { // compute catan
188  return (catan(_X));
189  }
190 
191  inline _Dcomplex __CRTDECL atanh(_In_ _Dcomplex _X) throw()
192  { // compute catanh
193  return (catanh(_X));
194  }
195 
196  inline _Dcomplex __CRTDECL cos(_In_ _Dcomplex _X) throw()
197  { // compute ccos
198  return (ccos(_X));
199  }
200 
201  inline _Dcomplex __CRTDECL cosh(_In_ _Dcomplex _X) throw()
202  { // compute ccosh
203  return (ccosh(_X));
204  }
205 
206  inline _Dcomplex __CRTDECL proj(_In_ _Dcomplex _X) throw()
207  { // compute cproj
208  return (cproj(_X));
209  }
210 
211  inline _Dcomplex __CRTDECL exp(_In_ _Dcomplex _X) throw()
212  { // compute cexp
213  return (cexp(_X));
214  }
215 
216  inline _Dcomplex __CRTDECL log(_In_ _Dcomplex _X) throw()
217  { // compute clog
218  return (clog(_X));
219  }
220 
221  inline _Dcomplex __CRTDECL log10(_In_ _Dcomplex _X) throw()
222  { // compute clog10
223  return (clog10(_X));
224  }
225 
226  inline _Dcomplex __CRTDECL pow(_In_ _Dcomplex _X, _In_ _Dcomplex _Y) throw()
227  { // compute cpow
228  return (cpow(_X, _Y));
229  }
230 
231  inline _Dcomplex __CRTDECL sin(_In_ _Dcomplex _X) throw()
232  { // compute csin
233  return (csin(_X));
234  }
235 
236  inline _Dcomplex __CRTDECL sinh(_In_ _Dcomplex _X) throw()
237  { // compute csinh
238  return (csinh(_X));
239  }
240 
241  inline _Dcomplex __CRTDECL sqrt(_In_ _Dcomplex _X) throw()
242  { // compute csqrt
243  return (csqrt(_X));
244  }
245 
246  inline _Dcomplex __CRTDECL tan(_In_ _Dcomplex _X) throw()
247  { // compute ctan
248  return (ctan(_X));
249  }
250 
251  inline _Dcomplex __CRTDECL tanh(_In_ _Dcomplex _X) throw()
252  { // compute ctanh
253  return (ctanh(_X));
254  }
255 
256  inline double __CRTDECL abs(_In_ _Dcomplex _X) throw()
257  { // compute cabs
258  return (cabs(_X));
259  }
260 
261  inline double __CRTDECL arg(_In_ _Dcomplex _X) throw()
262  { // compute carg
263  return (carg(_X));
264  }
265 
266  inline double __CRTDECL imag(_In_ _Dcomplex _X) throw()
267  { // compute cimag
268  return (cimag(_X));
269  }
270 
271  inline double __CRTDECL real(_In_ _Dcomplex _X) throw()
272  { // compute creal
273  return (creal(_X));
274  }
275 
276  // float complex OVERLOADS
277  inline _Fcomplex __CRTDECL acos(_In_ _Fcomplex _X) throw()
278  { // compute cacos
279  return (cacosf(_X));
280  }
281 
282  inline _Fcomplex __CRTDECL acosh(_In_ _Fcomplex _X) throw()
283  { // compute cacosh
284  return (cacoshf(_X));
285  }
286 
287  inline _Fcomplex __CRTDECL asin(_In_ _Fcomplex _X) throw()
288  { // compute casin
289  return (casinf(_X));
290  }
291 
292  inline _Fcomplex __CRTDECL asinh(_In_ _Fcomplex _X) throw()
293  { // compute casinh
294  return (casinhf(_X));
295  }
296 
297  inline _Fcomplex __CRTDECL atan(_In_ _Fcomplex _X) throw()
298  { // compute catan
299  return (catanf(_X));
300  }
301 
302  inline _Fcomplex __CRTDECL atanh(_In_ _Fcomplex _X) throw()
303  { // compute catanh
304  return (catanhf(_X));
305  }
306 
307  inline _Fcomplex __CRTDECL conj(_In_ _Fcomplex _X) throw()
308  { // compute conj
309  return (conjf(_X));
310  }
311 
312  inline _Fcomplex __CRTDECL cos(_In_ _Fcomplex _X) throw()
313  { // compute ccos
314  return (ccosf(_X));
315  }
316 
317  inline _Fcomplex __CRTDECL cosh(_In_ _Fcomplex _X) throw()
318  { // compute ccosh
319  return (ccoshf(_X));
320  }
321 
322  inline _Fcomplex __CRTDECL cproj(_In_ _Fcomplex _X) throw()
323  { // compute cproj
324  return (cprojf(_X));
325  }
326 
327  inline _Fcomplex __CRTDECL proj(_In_ _Fcomplex _X) throw()
328  { // compute cproj
329  return (cprojf(_X));
330  }
331 
332  inline _Fcomplex __CRTDECL exp(_In_ _Fcomplex _X) throw()
333  { // compute cexp
334  return (cexpf(_X));
335  }
336 
337  inline _Fcomplex __CRTDECL log(_In_ _Fcomplex _X) throw()
338  { // compute clog
339  return (clogf(_X));
340  }
341 
342  inline _Fcomplex __CRTDECL log10(_In_ _Fcomplex _X) throw()
343  { // compute clog10
344  return (clog10f(_X));
345  }
346 
347  inline float __CRTDECL norm(_In_ _Fcomplex _X) throw()
348  { // compute norm
349  return (normf(_X));
350  }
351 
352  inline _Fcomplex __CRTDECL pow(_In_ _Fcomplex _X, _In_ _Fcomplex _Y) throw()
353  { // compute cpow
354  return (cpowf(_X, _Y));
355  }
356 
357  inline _Fcomplex __CRTDECL sin(_In_ _Fcomplex _X) throw()
358  { // compute csin
359  return (csinf(_X));
360  }
361 
362  inline _Fcomplex __CRTDECL sinh(_In_ _Fcomplex _X) throw()
363  { // compute csinh
364  return (csinhf(_X));
365  }
366 
367  inline _Fcomplex __CRTDECL sqrt(_In_ _Fcomplex _X) throw()
368  { // compute csqrt
369  return (csqrtf(_X));
370  }
371 
372  inline _Fcomplex __CRTDECL tan(_In_ _Fcomplex _X) throw()
373  { // compute ctan
374  return (ctanf(_X));
375  }
376 
377  inline _Fcomplex __CRTDECL tanh(_In_ _Fcomplex _X) throw()
378  { // compute ctanh
379  return (ctanhf(_X));
380  }
381 
382  inline float __CRTDECL abs(_In_ _Fcomplex _X) throw()
383  { // compute cabs
384  return (cabsf(_X));
385  }
386 
387  inline float __CRTDECL arg(_In_ _Fcomplex _X) throw()
388  { // compute carg
389  return (cargf(_X));
390  }
391 
392  inline float __CRTDECL carg(_In_ _Fcomplex _X) throw()
393  { // compute carg
394  return (cargf(_X));
395  }
396 
397  inline float __CRTDECL cimag(_In_ _Fcomplex _X) throw()
398  { // compute cimag
399  return (cimagf(_X));
400  }
401 
402  inline float __CRTDECL creal(_In_ _Fcomplex _X) throw()
403  { // compute creal
404  return (crealf(_X));
405  }
406 
407  inline float __CRTDECL imag(_In_ _Fcomplex _X) throw()
408  { // compute cimag
409  return (cimagf(_X));
410  }
411 
412  inline float __CRTDECL real(_In_ _Fcomplex _X) throw()
413  { // compute creal
414  return (crealf(_X));
415  }
416 
417  // long double complex OVERLOADS
418  inline _Lcomplex __CRTDECL acos(_In_ _Lcomplex _X) throw()
419  { // compute cacos
420  return (cacosl(_X));
421  }
422 
423  inline _Lcomplex __CRTDECL acosh(_In_ _Lcomplex _X) throw()
424  { // compute cacosh
425  return (cacoshl(_X));
426  }
427 
428  inline _Lcomplex __CRTDECL asin(_In_ _Lcomplex _X) throw()
429  { // compute casin
430  return (casinl(_X));
431  }
432 
433  inline _Lcomplex __CRTDECL asinh(_In_ _Lcomplex _X) throw()
434  { // compute casinh
435  return (casinhl(_X));
436  }
437 
438  inline _Lcomplex __CRTDECL atan(_In_ _Lcomplex _X) throw()
439  { // compute catan
440  return (catanl(_X));
441  }
442 
443  inline _Lcomplex __CRTDECL atanh(_In_ _Lcomplex _X) throw()
444  { // compute catanh
445  return (catanhl(_X));
446  }
447 
448  inline _Lcomplex __CRTDECL conj(_In_ _Lcomplex _X) throw()
449  { // compute conj
450  return (conjl(_X));
451  }
452 
453  inline _Lcomplex __CRTDECL cos(_In_ _Lcomplex _X) throw()
454  { // compute ccos
455  return (ccosl(_X));
456  }
457 
458  inline _Lcomplex __CRTDECL cosh(_In_ _Lcomplex _X) throw()
459  { // compute ccosh
460  return (ccoshl(_X));
461  }
462 
463  inline _Lcomplex __CRTDECL cproj(_In_ _Lcomplex _X) throw()
464  { // compute cproj
465  return (cprojl(_X));
466  }
467 
468  inline _Lcomplex __CRTDECL proj(_In_ _Lcomplex _X) throw()
469  { // compute cproj
470  return (cprojl(_X));
471  }
472 
473  inline _Lcomplex __CRTDECL exp(_In_ _Lcomplex _X) throw()
474  { // compute cexp
475  return (cexpl(_X));
476  }
477 
478  inline _Lcomplex __CRTDECL log(_In_ _Lcomplex _X) throw()
479  { // compute clog
480  return (clogl(_X));
481  }
482 
483  inline _Lcomplex __CRTDECL log10(_In_ _Lcomplex _X) throw()
484  { // compute clog10
485  return (clog10l(_X));
486  }
487 
488  inline long double __CRTDECL norm(_In_ _Lcomplex _X) throw()
489  { // compute norm
490  return (norml(_X));
491  }
492 
493  inline _Lcomplex __CRTDECL pow(_In_ _Lcomplex _X, _In_ _Lcomplex _Y) throw()
494  { // compute cpow
495  return (cpowl(_X, _Y));
496  }
497 
498  inline _Lcomplex __CRTDECL sin(_In_ _Lcomplex _X) throw()
499  { // compute csin
500  return (csinl(_X));
501  }
502 
503  inline _Lcomplex __CRTDECL sinh(_In_ _Lcomplex _X) throw()
504  { // compute csinh
505  return (csinhl(_X));
506  }
507 
508  inline _Lcomplex __CRTDECL sqrt(_In_ _Lcomplex _X) throw()
509  { // compute csqrt
510  return (csqrtl(_X));
511  }
512 
513  inline _Lcomplex __CRTDECL tan(_In_ _Lcomplex _X) throw()
514  { // compute ctan
515  return (ctanl(_X));
516  }
517 
518  inline _Lcomplex __CRTDECL tanh(_In_ _Lcomplex _X) throw()
519  { // compute ctanh
520  return (ctanhl(_X));
521  }
522 
523  inline long double __CRTDECL abs(_In_ _Lcomplex _X) throw()
524  { // compute cabs
525  return (cabsl(_X));
526  }
527 
528  inline long double __CRTDECL arg(_In_ _Lcomplex _X) throw()
529  { // compute carg
530  return (cargl(_X));
531  }
532 
533  inline long double __CRTDECL carg(_In_ _Lcomplex _X) throw()
534  { // compute carg
535  return (cargl(_X));
536  }
537 
538  inline long double __CRTDECL cimag(_In_ _Lcomplex _X) throw()
539  { // compute cimag
540  return (cimagl(_X));
541  }
542 
543  inline long double __CRTDECL creal(_In_ _Lcomplex _X) throw()
544  { // compute creal
545  return (creall(_X));
546  }
547 
548  inline long double __CRTDECL imag(_In_ _Lcomplex _X) throw()
549  { // compute cimag
550  return (cimagl(_X));
551  }
552 
553  inline long double __CRTDECL real(_In_ _Lcomplex _X) throw()
554  { // compute creal
555  return (creall(_X));
556  }
557 } // extern "C++"
558 #endif /* __cplusplus */
559 
560 #pragma pack(pop)
561 
562 #endif /* _COMPLEX */
float atan(float _X) __GPU_ONLY
Calculates the arctangent of the argument
Definition: amp_math.h:325
_CRTIMP _Lcomplex __cdecl clogl(_In_ _Lcomplex _Z)
_CRTIMP _Lcomplex __cdecl csqrtl(_In_ _Lcomplex _Z)
_CRTIMP _Fcomplex __cdecl conjf(_In_ _Fcomplex _Z)
_CRTIMP _Lcomplex __cdecl cacosl(_In_ _Lcomplex _Z)
_CRTIMP _Lcomplex __cdecl _LCmulcc(_In_ _Lcomplex _X, _In_ _Lcomplex _Y)
_CRTIMP _Lcomplex __cdecl ccosl(_In_ _Lcomplex _Z)
_CRTIMP _Lcomplex __cdecl ccoshl(_In_ _Lcomplex _Z)
_CRTIMP _Dcomplex __cdecl clog10(_In_ _Dcomplex _Z)
_CRTIMP _Fcomplex __cdecl csqrtf(_In_ _Fcomplex _Z)
_CRTIMP _Dcomplex __cdecl cexp(_In_ _Dcomplex _Z)
_CRTIMP float __cdecl cabsf(_In_ _Fcomplex _Z)
struct _C_double_complex _C_double_complex
_CRTIMP _Lcomplex __cdecl casinl(_In_ _Lcomplex _Z)
float sqrt(float _X) __GPU_ONLY
Calculates the squre root of the argument
Definition: amp_math.h:1100
_CRTIMP _Dcomplex __cdecl catan(_In_ _Dcomplex _Z)
#define _CRTIMP
Definition: crtdefs.h:23
_CRTIMP _Fcomplex __cdecl ctanf(_In_ _Fcomplex _Z)
_CRTIMP _Dcomplex __cdecl catanh(_In_ _Dcomplex _Z)
_CRTIMP _Dcomplex __cdecl ctan(_In_ _Dcomplex _Z)
_CRTIMP _Lcomplex __cdecl csinhl(_In_ _Lcomplex _Z)
Definition: complex:32
float cosh(float _X) __GPU_ONLY
Calculates the hyperbolic cosine value of the argument
Definition: amp_math.h:443
_CRTIMP _Dcomplex __cdecl conj(_In_ _Dcomplex _Z)
float sin(float _X) __GPU_ONLY
Calculates the sine value of the argument
Definition: amp_math.h:1010
_CRTIMP _Fcomplex __cdecl cexpf(_In_ _Fcomplex _Z)
_CRTIMP _Fcomplex __cdecl csinf(_In_ _Fcomplex _Z)
_CRTIMP _Lcomplex __cdecl casinhl(_In_ _Lcomplex _Z)
_CRTIMP _Lcomplex __cdecl catanl(_In_ _Lcomplex _Z)
float exp(float _X) __GPU_ONLY
Calculates the base-e exponential of the argument
Definition: amp_math.h:471
_CRTIMP _Lcomplex __cdecl clog10l(_In_ _Lcomplex _Z)
_CRTIMP _Fcomplex __cdecl casinhf(_In_ _Fcomplex _Z)
_Tmp imag(_Tmp.imag()*_Right)
float tanh(float _X) __GPU_ONLY
Calculates the hyperbolic tangent value of the argument
Definition: amp_math.h:1155
_CRTIMP _Fcomplex __cdecl ctanhf(_In_ _Fcomplex _Z)
_CRTIMP double __cdecl cimag(_In_ _Dcomplex _Z)
_CRTIMP float __cdecl crealf(_In_ _Fcomplex _Z)
_CRTIMP double __cdecl atanh(_In_ double _X)
_CRTIMP _Dcomplex __cdecl casin(_In_ _Dcomplex _Z)
_CRTIMP float __cdecl cargf(_In_ _Fcomplex _Z)
_CRTIMP _Dcomplex __cdecl csin(_In_ _Dcomplex _Z)
float sinh(float _X) __GPU_ONLY
Calculates the hyperbolic sine value of the argument
Definition: amp_math.h:1072
_CRTIMP _Dcomplex __cdecl csinh(_In_ _Dcomplex _Z)
struct _C_float_complex _C_float_complex
_CRTIMP _Dcomplex __cdecl cacosh(_In_ _Dcomplex _Z)
float log(float _X) __GPU_ONLY
Calculates the base-e logarithm of the argument
Definition: amp_math.h:774
_CRTIMP _Fcomplex __cdecl _FCbuild(_In_ float _Re, _In_ float _Im)
double _Val[2]
Definition: complex:24
_CRTIMP _Dcomplex __cdecl _Cmulcr(_In_ _Dcomplex _X, _In_ double _Y)
_CRTIMP double __cdecl norm(_In_ _Dcomplex _Z)
_CRTIMP _Dcomplex __cdecl ctanh(_In_ _Dcomplex _Z)
_CRTIMP _Lcomplex __cdecl conjl(_In_ _Lcomplex _Z)
_CRTIMP _Fcomplex __cdecl catanhf(_In_ _Fcomplex _Z)
#define _In_
Definition: sal.h:314
_CRTIMP _Dcomplex __cdecl ccosh(_In_ _Dcomplex _Z)
_CRTIMP _Lcomplex __cdecl cexpl(_In_ _Lcomplex _Z)
_CRTIMP _Fcomplex __cdecl _FCmulcr(_In_ _Fcomplex _X, _In_ float _Y)
_CRTIMP _Fcomplex __cdecl ccosf(_In_ _Fcomplex _Z)
_CRTIMP _Dcomplex __cdecl clog(_In_ _Dcomplex _Z)
float acos(float _X) __GPU_ONLY
Calculates the arccosine of the argument
Definition: amp_math.h:269
_Tmp real(_Tmp.real()+_Right)
float asin(float _X) __GPU_ONLY
Calculates the arcsine of the argument
Definition: amp_math.h:297
_In_ double _Y
Definition: math.h:999
_CRTIMP long double __cdecl cargl(_In_ _Lcomplex _Z)
_CRTIMP long double __cdecl cimagl(_In_ _Lcomplex _Z)
_CRTIMP _Lcomplex __cdecl _LCbuild(_In_ long double _Re, _In_ long double _Im)
_C_double_complex _Dcomplex
Definition: complex.h:55
_CRTIMP _Fcomplex __cdecl _FCmulcc(_In_ _Fcomplex _X, _In_ _Fcomplex _Y)
_CRTIMP float __cdecl cimagf(_In_ _Fcomplex _Z)
_CRTIMP _Lcomplex __cdecl cpowl(_In_ _Lcomplex _X, _In_ _Lcomplex _Y)
_CRTIMP _Dcomplex __cdecl csqrt(_In_ _Dcomplex _Z)
long double _Val[2]
Definition: complex:34
_CRTIMP _Fcomplex __cdecl cacosf(_In_ _Fcomplex _Z)
_CRTIMP double __cdecl cabs(_In_ _Dcomplex _Z)
_CRTIMP _Fcomplex __cdecl cprojf(_In_ _Fcomplex _Z)
_CRTIMP _Dcomplex __cdecl _Cbuild(_In_ double _Re, _In_ double _Im)
float log10(float _X) __GPU_ONLY
Calculates the base-10 logarithm of the argument
Definition: amp_math.h:802
_CRTIMP _Lcomplex __cdecl cprojl(_In_ _Lcomplex _Z)
_CRTIMP _Fcomplex __cdecl catanf(_In_ _Fcomplex _Z)
int abs(int _X) __GPU_ONLY
Returns the absolute value of the argument
Definition: amp.h:7189
_CRTIMP _Fcomplex __cdecl cpowf(_In_ _Fcomplex _X, _In_ _Fcomplex _Y)
_CRTIMP double __cdecl asinh(_In_ double _X)
_CRTIMP long double __cdecl cabsl(_In_ _Lcomplex _Z)
Definition: complex:27
#define __CRTDECL
Definition: crtdefs.h:622
float cos(float _X) __GPU_ONLY
Calculates the cosine of the argument
Definition: amp_math.h:415
_CRTIMP _Fcomplex __cdecl cacoshf(_In_ _Fcomplex _Z)
_CRTIMP _Lcomplex __cdecl _LCmulcr(_In_ _Lcomplex _X, _In_ long double _Y)
_CRTIMP _Dcomplex __cdecl _Cmulcc(_In_ _Dcomplex _X, _In_ _Dcomplex _Y)
Definition: complex:22
_CRTIMP _Lcomplex __cdecl catanhl(_In_ _Lcomplex _Z)
_CRTIMP _Dcomplex __cdecl cpow(_In_ _Dcomplex _X, _In_ _Dcomplex _Y)
_CRTIMP double __cdecl carg(_In_ _Dcomplex _Z)
struct _C_ldouble_complex _C_ldouble_complex
_CRTIMP _Dcomplex __cdecl ccos(_In_ _Dcomplex _Z)
_CRTIMP float __cdecl normf(_In_ _Fcomplex _Z)
_CRTIMP long double __cdecl creall(_In_ _Lcomplex _Z)
_CRTIMP double __cdecl acosh(_In_ double _X)
float _Val[2]
Definition: complex:29
_C_ldouble_complex _Lcomplex
Definition: complex.h:57
_CRTIMP _Lcomplex __cdecl cacoshl(_In_ _Lcomplex _Z)
_CRTIMP _Lcomplex __cdecl csinl(_In_ _Lcomplex _Z)
_CRTIMP long double __cdecl norml(_In_ _Lcomplex _Z)
_CRTIMP _Lcomplex __cdecl ctanhl(_In_ _Lcomplex _Z)
_C_float_complex _Fcomplex
Definition: complex.h:56
float tan(float _X) __GPU_ONLY
Calculates the tangent value of the argument
Definition: amp_math.h:1128
_CRTIMP _Fcomplex __cdecl clog10f(_In_ _Fcomplex _Z)
_CRTIMP _Fcomplex __cdecl csinhf(_In_ _Fcomplex _Z)
_CRTIMP _Dcomplex __cdecl cacos(_In_ _Dcomplex _Z)
float pow(float _X, float _Y) __GPU_ONLY
Calculates _X raised to the power of _Y
Definition: amp_math.h:898
_CRTIMP _Fcomplex __cdecl clogf(_In_ _Fcomplex _Z)
_CRTIMP _Fcomplex __cdecl ccoshf(_In_ _Fcomplex _Z)
_CRTIMP _Fcomplex __cdecl casinf(_In_ _Fcomplex _Z)
_CRTIMP _Lcomplex __cdecl ctanl(_In_ _Lcomplex _Z)
_CRTIMP _Dcomplex __cdecl cproj(_In_ _Dcomplex _Z)
_CRTIMP double __cdecl creal(_In_ _Dcomplex _Z)
_CRTIMP _Dcomplex __cdecl casinh(_In_ _Dcomplex _Z)