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