Last change
on this file was 1392, checked in by bird, 21 years ago |
This commit was generated by cvs2svn to compensate for changes in r1391,
which included commits to RCS files with non-trunk default branches.
|
-
Property cvs2svn:cvs-rev
set to
1.1.1.2
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
201 bytes
|
Line | |
---|
1 | #include "f2c.h"
|
---|
2 |
|
---|
3 | #undef abs
|
---|
4 | #include "math.h"
|
---|
5 | void
|
---|
6 | z_exp (doublecomplex * r, doublecomplex * z)
|
---|
7 | {
|
---|
8 | double expx, zi = z->i;
|
---|
9 |
|
---|
10 | expx = exp (z->r);
|
---|
11 | r->r = expx * cos (zi);
|
---|
12 | r->i = expx * sin (zi);
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.