Macros | Functions
cblas_idamax.c File Reference
#include "cblas.h"
#include "cblas_f77.h"

Go to the source code of this file.


#define F77_N   N
#define F77_incX   incX


CBLAS_INDEX cblas_idamax (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_idamax()

CBLAS_INDEX cblas_idamax ( const int  N,
const double X,
const int  incX 

Definition at line 12 of file cblas_idamax.c.

13 {
14  int iamax;
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_idamax_sub( &F77_N, X, &F77_incX, &iamax);
22  return iamax ? iamax-1 : 0;
23 }
void F77_idamax_sub(FINT, const double *, FINT, FINT2)
#define F77_N
#define F77_incX
const int N
Definition: speed_test.cpp:3