LAPACK
3.12.1
LAPACK: Linear Algebra PACKage
Toggle main menu visibility
Main Page
Related Pages
Routines
Modules
Modules List
Module Members
All
c
d
s
z
Functions/Subroutines
Variables
c
d
s
z
Data Types
Data Types List
Data Type Index
Data Fields
All
Functions/Subroutines
Variables
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
l
m
p
r
s
t
u
x
z
Functions/Subroutines
_
a
c
d
f
g
h
i
l
m
s
t
x
z
Variables
c
l
r
Typedefs
Enumerations
Enumerator
Macros
a
b
c
f
i
p
t
u
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
cblas_daxpy.c
Go to the documentation of this file.
1
/*
2
* cblas_daxpy.c
3
*
4
* The program is a C interface to daxpy.
5
*
6
* Written by Keita Teranishi. 2/11/1998
7
*
8
*/
9
#include "
cblas.h
"
10
#include "
cblas_f77.h
"
11
void
API_SUFFIX
(
cblas_daxpy
)(
const
CBLAS_INT
N,
const
double
alpha,
const
double
*X,
12
const
CBLAS_INT
incX,
double
*Y,
const
CBLAS_INT
incY)
13
{
14
#ifdef F77_INT
15
F77_INT
F77_N
=N,
F77_incX
=incX,
F77_incY
=incY;
16
#else
17
#define F77_N N
18
#define F77_incX incX
19
#define F77_incY incY
20
#endif
21
F77_daxpy
( &
F77_N
, &alpha, X, &
F77_incX
, Y, &
F77_incY
);
22
}
11
void
API_SUFFIX
(
cblas_daxpy
)(
const
CBLAS_INT
N,
const
double
alpha,
const
double
*X, {
…
}
API_SUFFIX
#define API_SUFFIX(a)
Definition
cblas.h:57
CBLAS_INT
#define CBLAS_INT
Definition
cblas.h:24
cblas.h
F77_incX
#define F77_incX
F77_incY
#define F77_incY
cblas_daxpy
void API_SUFFIX cblas_daxpy(const CBLAS_INT N, const double alpha, const double *X, const CBLAS_INT incX, double *Y, const CBLAS_INT incY)
Definition
cblas_daxpy.c:11
F77_N
#define F77_N
F77_INT
#define F77_INT
Definition
cblas_example2_64.c:4
F77_daxpy
#define F77_daxpy(...)
Definition
cblas_f77.h:258
cblas_f77.h
CBLAS
src
cblas_daxpy.c
Generated on Mon Jan 20 2025 17:18:06 for LAPACK by
1.11.0