blob: 0f4cd71bd5a411b88a5b671d98139af234ac2b78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "f2c.h"
#undef abs
#include "math.h"
void
z_cos (doublecomplex * r, doublecomplex * z)
{
double zi = z->i, zr = z->r;
r->r = cos (zr) * cosh (zi);
r->i = -sin (zr) * sinh (zi);
}
|