complexdots.c
Go to the documentation of this file.
1 /* This file has been modified to use the standard gfortran calling
2  convention, rather than the f2c calling convention.
3 
4  It does not require -ff2c when compiled with gfortran.
5 */
6 
7 /* complexdots.f -- translated by f2c (version 20100827).
8  You must link the resulting object file with libf2c:
9  on Microsoft Windows system, link with libf2c.lib;
10  on Linux or Unix systems, link with .../path/to/libf2c.a -lm
11  or, if you install libf2c.a in a standard place, with -lf2c -lm
12  -- in that order, at the end of the command line, as in
13  cc *.o -lf2c -lm
14  Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
15 
16  http://www.netlib.org/f2c/libf2c.zip
17 */
18 
19 #include "datatypes.h"
20 
22  *incx, complex *cy, integer *incy)
23 {
24  complex res;
25  extern /* Subroutine */ int cdotcw_(integer *, complex *, integer *,
26  complex *, integer *, complex *);
27 
28  /* Parameter adjustments */
29  --cy;
30  --cx;
31 
32  /* Function Body */
33  cdotcw_(n, &cx[1], incx, &cy[1], incy, &res);
34  return res;
35 } /* cdotc_ */
36 
38  *incx, complex *cy, integer *incy)
39 {
40  complex res;
41  extern /* Subroutine */ int cdotuw_(integer *, complex *, integer *,
42  complex *, integer *, complex *);
43 
44  /* Parameter adjustments */
45  --cy;
46  --cx;
47 
48  /* Function Body */
49  cdotuw_(n, &cx[1], incx, &cy[1], incy, &res);
50  return res;
51 } /* cdotu_ */
52 
55 {
57  extern /* Subroutine */ int zdotcw_(integer *, doublecomplex *, integer *,
59 
60  /* Parameter adjustments */
61  --cy;
62  --cx;
63 
64  /* Function Body */
65  zdotcw_(n, &cx[1], incx, &cy[1], incy, &res);
66  return res;
67 } /* zdotc_ */
68 
71 {
73  extern /* Subroutine */ int zdotuw_(integer *, doublecomplex *, integer *,
75 
76  /* Parameter adjustments */
77  --cy;
78  --cx;
79 
80  /* Function Body */
81  zdotuw_(n, &cx[1], incx, &cy[1], incy, &res);
82  return res;
83 } /* zdotu_ */
84 
cy
const double cy
Definition: testSmartStereoFactor_iSAM2.cpp:50
doublecomplex
Definition: datatypes.h:13
res
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
Definition: PartialRedux_count.cpp:3
datatypes.h
n
int n
Definition: BiCGSTAB_simple.cpp:1
cdotc_
complex cdotc_(integer *n, complex *cx, integer *incx, complex *cy, integer *incy)
Definition: complexdots.c:21
incy
int RealScalar int RealScalar int * incy
Definition: level1_cplx_impl.h:119
zdotu_
doublecomplex zdotu_(integer *n, doublecomplex *cx, integer *incx, doublecomplex *cy, integer *incy)
Definition: complexdots.c:69
incx
RealScalar RealScalar int * incx
Definition: level1_cplx_impl.h:29
integer
int integer
Definition: datatypes.h:8
zdotc_
doublecomplex zdotc_(integer *n, doublecomplex *cx, integer *incx, doublecomplex *cy, integer *incy)
Definition: complexdots.c:53
cdotu_
complex cdotu_(integer *n, complex *cx, integer *incx, complex *cy, integer *incy)
Definition: complexdots.c:37
cx
const double cx
Definition: testSmartStereoFactor_iSAM2.cpp:49
complex
Definition: datatypes.h:12


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:00