User Tools

Site Tools


c:complex.h:cexp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:complex.h:cexp [2013/02/03 19:13]
127.0.0.1 external edit
c:complex.h:cexp [2013/02/04 01:34] (current)
158.181.88.241
Line 1: Line 1:
 ====== cexp ====== ====== cexp ======
 <code c> <code c>
 +double complex cexp(double complex z);
 </code> </code>
  
 ==== description of cexp ==== ==== description of cexp ====
-cexp is in work by code-reference.com \\  +calculate the complex exponential
-if you are faster... don't hasitate and add it+
  
 <code c> <code c>
-no example at the moment+#include <stdio.h> 
 +#include <complex.h> 
 + 
 +int main( void ) 
 +
 + 
 +   double complex z=4.2424 + I*(-2.41231); 
 +   double result; 
 +   result = cexp(z); 
 +   printf("cexp(%f + (%f)*I) = %f + (%f)*I\n",creal(z), cimag(z),creal(result),cimag(result)); 
 +   return 0; 
 +
 </code> </code>
  
 ===== output of cexp c example ===== ===== output of cexp c example =====
-    no example at the moment+    cexp(4.242400 + (-2.412310)*I) = -51.878503 + (0.000000)*I
  
advertising
c/complex.h/cexp.txt · Last modified: 2013/02/04 01:34 by 158.181.88.241

Impressum Datenschutz