36#ifndef NEKTAR_LIB_UTILITIES_LINEAR_ALGEBRA_BLASARRAY_HPP
37#define NEKTAR_LIB_UTILITIES_LINEAR_ALGEBRA_BLASARRAY_HPP
49 void F77NAME(
daxpy)(
const int &n,
const double &alpha,
const double *x,
50 const int &incx,
const double *y,
const int &incy);
54static inline void Daxpy(
const int &n,
const double &alpha,
60 ASSERTL1(
static_cast<unsigned int>(n * incx) <= x.size() + x.GetOffset(),
61 "Array out of bounds");
62 ASSERTL1(
static_cast<unsigned int>(n * incy) <= y.size() + y.GetOffset(),
63 "Array out of bounds");
#define ASSERTL1(condition, msg)
Assert Level 1 – Debugging which is used whether in FULLDEBUG or DEBUG compilation mode....
#define F77NAME(x)
Fortran routines need an underscore.
void F77NAME() daxpy(const int &n, const double &alpha, const double *x, const int &incx, const double *y, const int &incy)
static void Daxpy(const int &n, const double &alpha, const double *x, const int &incx, const double *y, const int &incy)
BLAS level 1: y = alpha x plus y.