Doxygen Source Code Documentation
        
Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search   
c_exp.c
Go to the documentation of this file.00001 #include "f2c.h"
00002 
00003 #ifdef KR_headers
00004 extern double exp(), cos(), sin();
00005 
00006  VOID c_exp(r, z) complex *r, *z;
00007 #else
00008 #undef abs
00009 #include "mathh.h"
00010 
00011 void c_exp(complex *r, complex *z)
00012 #endif
00013 {
00014 double expx;
00015 
00016 expx = exp(z->r);
00017 r->r = expx * cos(z->i);
00018 r->i = expx * sin(z->i);
00019 }