SenK
SenK is a C++ library for high-performance linear solvers.
senk_blas1.hpp File Reference

Level1 BLAS-style functions are written. More...

#include <cmath>
#include "senk_helper.hpp"
Include dependency graph for senk_blas1.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  senk
 The top-level namespace of SenK.
 
namespace  senk::blas1
 This namespace contains Level1 BLAS-style functions.
 

Functions

template<typename T >
void senk::blas1::Copy (T *x, T *y, int N)
 Copy x to y. More...
 
template<typename T >
void senk::blas1::Scal (T a, T *x, int N)
 Multiply x by a. More...
 
template<typename T >
void senk::blas1::Axpy (T a, T *x, T *y, int N)
 Compute y = a * x + y. More...
 
template<typename T >
void senk::blas1::Axpby (T a, T *x, T b, T *y, int N)
 Compute y = a * x + b * y. More...
 
template<typename T >
void senk::blas1::Axpyz (T a, T *x, T *y, T *z, int N)
 Compute z = a * x + y. More...
 
template<typename T >
senk::blas1::Dot (T *x, T *y, int N)
 Compute the dot product of x and y. More...
 
template<typename T >
senk::blas1::Nrm2 (T *x, int N)
 Compute the 2-norm of x. More...
 
template<typename T >
void senk::blas1::HadProd (T *x, T *y, int N)
 Compute the Hadamard product of x and y. More...
 
template<typename T >
void senk::blas1::HadDiv (T *x, T *y, int N)
 Compute the element-wise division of x and y. More...
 
template<typename T >
senk::blas1::Ggen (T a, T b, T *c, T *s)
 Generate a Gives rotation matrix. More...
 
template<typename T >
void senk::blas1::Grot (T c, T s, T *a, T *b)
 Compute the Gives rotation. More...
 

Detailed Description

Level1 BLAS-style functions are written.

Author
Kengo Suzuki
Date
5/8/2021

Definition in file senk_blas1.hpp.