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