v0.9.0
Macros | Functions
cblas_isamax.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

CBLAS_INDEX cblas_isamax (const int N, const float *X, const int incX)
 

Macro Definition Documentation

◆ F77_incX

#define F77_incX   incX

◆ F77_N

#define F77_N   N

Function Documentation

◆ cblas_isamax()

CBLAS_INDEX cblas_isamax ( const int  N,
const float *  X,
const int  incX 
)

Definition at line 12 of file cblas_isamax.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_isamax_sub( &F77_N, X, &F77_incX, &iamax);
22  return iamax ? iamax-1 : 0;
23 }
#define F77_N
#define F77_incX
const int N
Definition: speed_test.cpp:3
void F77_isamax_sub(FINT, const float *, FINT, FINT2)