All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
blas.h File Reference

Header definitions for the standard BLAS library. More...

#include "simple.h"
#include "def_external.h"

Macros

#define _GMX_BLAS_H_
 

Functions

double PLUMED_BLAS_F77_FUNC (dasum, DASUM)(int *n
 
void PLUMED_BLAS_F77_FUNC (daxpy, DAXPY)(int *n
 
void PLUMED_BLAS_F77_FUNC (dcopy, DCOPY)(int *n
 
double PLUMED_BLAS_F77_FUNC (ddot, DDOT)(int *n
 
void PLUMED_BLAS_F77_FUNC (dgemm, DGEMM)(const char *transa
 
void PLUMED_BLAS_F77_FUNC (dgemv, DGEMV)(const char *trans
 
void PLUMED_BLAS_F77_FUNC (dger, DGER)(int *m
 
double PLUMED_BLAS_F77_FUNC (dnrm2, DNRM2)(int *n
 
void PLUMED_BLAS_F77_FUNC (drot, DROT)(int *n
 
void PLUMED_BLAS_F77_FUNC (dscal, DSCAL)(int *n
 
void PLUMED_BLAS_F77_FUNC (dswap, DSWAP)(int *n
 
void PLUMED_BLAS_F77_FUNC (dsymv, DSYMV)(const char *uplo
 
void PLUMED_BLAS_F77_FUNC (dsyr2, DSYR2)(const char *uplo
 
void PLUMED_BLAS_F77_FUNC (dsyr2k, DSYR2K)(const char *uplo
 
void PLUMED_BLAS_F77_FUNC (dtrmm, DTRMM)(const char *side
 
void PLUMED_BLAS_F77_FUNC (dtrmv, DTRMV)(const char *uplo
 
void PLUMED_BLAS_F77_FUNC (dtrsm, DTRSM)(const char *side
 
int PLUMED_BLAS_F77_FUNC (idamax, IDAMAX)(int *n
 
float PLUMED_BLAS_F77_FUNC (sasum, SASUM)(int *n
 
void PLUMED_BLAS_F77_FUNC (saxpy, SAXPY)(int *n
 
void PLUMED_BLAS_F77_FUNC (scopy, SCOPY)(int *n
 
float PLUMED_BLAS_F77_FUNC (sdot, SDOT)(int *n
 
void PLUMED_BLAS_F77_FUNC (sgemm, SGEMM)(const char *transa
 
void PLUMED_BLAS_F77_FUNC (sgemv, SGEMV)(const char *trans
 
void PLUMED_BLAS_F77_FUNC (sger, SGER)(int *m
 
float PLUMED_BLAS_F77_FUNC (snrm2, SNRM2)(int *n
 
void PLUMED_BLAS_F77_FUNC (srot, SROT)(int *n
 
void PLUMED_BLAS_F77_FUNC (sscal, SSCAL)(int *n
 
void PLUMED_BLAS_F77_FUNC (sswap, SSWAP)(int *n
 
void PLUMED_BLAS_F77_FUNC (ssymv, SSYMV)(const char *uplo
 
void PLUMED_BLAS_F77_FUNC (ssyr2, SSYR2)(const char *uplo
 
void PLUMED_BLAS_F77_FUNC (ssyr2k, SSYR2K)(const char *uplo
 
void PLUMED_BLAS_F77_FUNC (strmm, STRMM)(const char *side
 
void PLUMED_BLAS_F77_FUNC (strmv, STRMV)(const char *uplo
 
void PLUMED_BLAS_F77_FUNC (strsm, STRSM)(const char *side
 
int PLUMED_BLAS_F77_FUNC (isamax, ISAMAX)(int *n
 

Variables

double double * dx
 
double double int * incx
 
void double * da
 
void double double int double * dy
 
void double double int double int * incy
 
void const char * transb
 
void const char int * m
 
void const char int int * n
 
void const char int int int * k
 
void const char int int int
double * 
alpha
 
void const char int int int
double double * 
a
 
void const char int int int
double double int * 
lda
 
void const char int int int
double double int double * 
b
 
void const char int int int
double double int double int * 
ldb
 
void const char int int int
double double int double int
double * 
beta
 
void const char int int int
double double int double int
double double * 
c
 
void const char int int int
double double int double int
double double int * 
ldc
 
void int int double double int
double * 
x
 
void int int double double int
double int double double * 
y
 
void double int double int
double double * 
s
 
void double * fact
 
void const char * trans
 
void const char * uplo
 
void const char const char * transa
 
void const char const char
const char * 
diag
 

Detailed Description

Header definitions for the standard BLAS library.

This is the subset of BLAS routines used for the linear algebra operations in Gromacs. Do NOT use this for other purposes - we only provide this as a simple fallback/reference implementation when no optimized BLAS is present. If you need an implementation for your own code there are several much faster versions out there.

All routines are compatible with the BLAS reference implementation, meaning they assume fortran-style matrix row/column organization.

There is plenty of documentation for these routines available at http://www.netlib.org/blas , so there is no point in repeating it here.

Macro Definition Documentation

#define _GMX_BLAS_H_

Function Documentation

double PLUMED_BLAS_F77_FUNC ( dasum  ,
DASUM   
)
void PLUMED_BLAS_F77_FUNC ( daxpy  ,
DAXPY   
)
void PLUMED_BLAS_F77_FUNC ( dcopy  ,
DCOPY   
)
double PLUMED_BLAS_F77_FUNC ( ddot  ,
DDOT   
)
void PLUMED_BLAS_F77_FUNC ( dgemm  ,
DGEMM   
) const
void PLUMED_BLAS_F77_FUNC ( dgemv  ,
DGEMV   
) const
void PLUMED_BLAS_F77_FUNC ( dger  ,
DGER   
)
double PLUMED_BLAS_F77_FUNC ( dnrm2  ,
DNRM2   
)
void PLUMED_BLAS_F77_FUNC ( drot  ,
DROT   
)
void PLUMED_BLAS_F77_FUNC ( dscal  ,
DSCAL   
)
void PLUMED_BLAS_F77_FUNC ( dswap  ,
DSWAP   
)
void PLUMED_BLAS_F77_FUNC ( dsymv  ,
DSYMV   
) const
void PLUMED_BLAS_F77_FUNC ( dsyr2  ,
DSYR2   
) const
void PLUMED_BLAS_F77_FUNC ( dsyr2k  ,
DSYR2K   
) const
void PLUMED_BLAS_F77_FUNC ( dtrmm  ,
DTRMM   
) const
void PLUMED_BLAS_F77_FUNC ( dtrmv  ,
DTRMV   
) const
void PLUMED_BLAS_F77_FUNC ( dtrsm  ,
DTRSM   
) const
int PLUMED_BLAS_F77_FUNC ( idamax  ,
IDAMAX   
)
float PLUMED_BLAS_F77_FUNC ( sasum  ,
SASUM   
)
void PLUMED_BLAS_F77_FUNC ( saxpy  ,
SAXPY   
)
void PLUMED_BLAS_F77_FUNC ( scopy  ,
SCOPY   
)
float PLUMED_BLAS_F77_FUNC ( sdot  ,
SDOT   
)
void PLUMED_BLAS_F77_FUNC ( sgemm  ,
SGEMM   
) const
void PLUMED_BLAS_F77_FUNC ( sgemv  ,
SGEMV   
) const
void PLUMED_BLAS_F77_FUNC ( sger  ,
SGER   
)
float PLUMED_BLAS_F77_FUNC ( snrm2  ,
SNRM2   
)
void PLUMED_BLAS_F77_FUNC ( srot  ,
SROT   
)
void PLUMED_BLAS_F77_FUNC ( sscal  ,
SSCAL   
)
void PLUMED_BLAS_F77_FUNC ( sswap  ,
SSWAP   
)
void PLUMED_BLAS_F77_FUNC ( ssymv  ,
SSYMV   
) const
void PLUMED_BLAS_F77_FUNC ( ssyr2  ,
SSYR2   
) const
void PLUMED_BLAS_F77_FUNC ( ssyr2k  ,
SSYR2K   
) const
void PLUMED_BLAS_F77_FUNC ( strmm  ,
STRMM   
) const
void PLUMED_BLAS_F77_FUNC ( strmv  ,
STRMV   
) const
void PLUMED_BLAS_F77_FUNC ( strsm  ,
STRSM   
) const
int PLUMED_BLAS_F77_FUNC ( isamax  ,
ISAMAX   
)

Variable Documentation

void int float * a
void float * alpha
void float float float * b
void int int int int float float float float float float float float float * beta
void float float float float * c
void float * da
void const char * diag
int float * dx
void float int float * dy
void float * fact
void float float int * incx
void int float float int float int * incy
void int int int int * k
void int float int * lda
void int int float int float int * ldb
void const char int int int float int float float int * ldc
void const char int * m
void int * n
void int int int int float float float float float float float float float float int int int int int int int float int float float * s
void const char * trans
void const char const char * transa
void const char * transb
GMX_LIBGMX_EXPORT void const char const char * uplo
void float float * x
void int float float float float int float * y