MyraMath
Classes
axpy.h File Reference

BLAS1 vector-vector add. More...

#include <myramath/utility/Number.h>
#include <myramath/MYRAMATH_EXPORT.h>
Include dependency graph for axpy.h:

Go to the source code of this file.

Classes

class  myra::CVectorRange< Number >
 Represents a const VectorRange. More...
 
class  myra::VectorRange< Number >
 Represents a mutable VectorRange. More...
 

Functions

void myra::axpy (int n, NumberS alpha, const NumberS *x, int ix, NumberS *y, int iy)
 Performs y += alpha * x. Note: Identical signature as BLAS, allows nonuniform increment.
 
void myra::axpy (int n, NumberD alpha, const NumberD *x, int ix, NumberD *y, int iy)
 Performs y += alpha * x. Note: Identical signature as BLAS, allows nonuniform increment.
 
void myra::axpy (int n, NumberC alpha, const NumberC *x, int ix, NumberC *y, int iy)
 Performs y += alpha * x. Note: Identical signature as BLAS, allows nonuniform increment.
 
void myra::axpy (int n, NumberZ alpha, const NumberZ *x, int ix, NumberZ *y, int iy)
 Performs y += alpha * x. Note: Identical signature as BLAS, allows nonuniform increment.
 
void myra::axpy (NumberS alpha, const CVectorRange< NumberS > &x, const VectorRange< NumberS > &y)
 Performs y += alpha * x.
 
void myra::axpy (NumberD alpha, const CVectorRange< NumberD > &x, const VectorRange< NumberD > &y)
 Performs y += alpha * x.
 
void myra::axpy (NumberC alpha, const CVectorRange< NumberC > &x, const VectorRange< NumberC > &y)
 Performs y += alpha * x.
 
void myra::axpy (NumberZ alpha, const CVectorRange< NumberZ > &x, const VectorRange< NumberZ > &y)
 Performs y += alpha * x.
 

Detailed Description

BLAS1 vector-vector add.