v0.9.0
Macros | Functions
cblas_dnrm2.c File Reference
#include "cblas.h"
#include "cblas_f77.h"

Go to the source code of this file.

Macros

#define F77_N   N
 
#define F77_incX   incX
 

Functions

double cblas_dnrm2 (const int N, const double *X, const int incX)
 

Macro Definition Documentation

◆ F77_incX

#define F77_incX   incX

◆ F77_N

#define F77_N   N

Function Documentation

◆ cblas_dnrm2()

double cblas_dnrm2 ( const int  N,
const double X,
const int  incX 
)

Definition at line 12 of file cblas_dnrm2.c.

13 {
14  double nrm2;
15 #ifdef F77_INT
16  F77_INT F77_N=N, F77_incX=incX;
17 #else
18  #define F77_N N
19  #define F77_incX incX
20 #endif
21  F77_dnrm2_sub( &F77_N, X, &F77_incX, &nrm2);
22  return nrm2;
23 }
void F77_dnrm2_sub(FINT, const double *, FINT, double *)
#define F77_incX
#define F77_N
const int N
Definition: speed_test.cpp:3