diff options
author | Tim Murray <timmurray@google.com> | 2014-11-24 10:56:30 -0800 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2014-11-24 10:56:30 -0800 |
commit | 80cae358b000c87bba77414cdb36ddf55eced896 (patch) | |
tree | dc6d5050a9e5934d93b1e9ef41f02fc0630616cf /blas/f2c/r_cnjg.c | |
parent | 0efaff9b3b261daaa91baf8935ec7c4f5156a647 (diff) |
Adds a modified f2c-generated C implmentation for BLAS.
This adds an optional implementation for the BLAS library that does
not require the use of a FORTRAN compiler. It can be enabled with
EIGEN_USE_F2C_BLAS.
The C implementation uses the standard gfortran calling convention
and does not require the use of -ff2c when compiled with gfortran.
Diffstat (limited to 'blas/f2c/r_cnjg.c')
-rw-r--r-- | blas/f2c/r_cnjg.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/blas/f2c/r_cnjg.c b/blas/f2c/r_cnjg.c new file mode 100644 index 000000000..c08182f88 --- /dev/null +++ b/blas/f2c/r_cnjg.c @@ -0,0 +1,6 @@ +#include "datatypes.h" + +void r_cnjg(complex *r, complex *z) { + r->r = z->r; + r->i = -(z->i); +} |