BLAS-Impl.h
Go to the documentation of this file.
42 ScalarType BLAS<ScalarType, VectorType, MatrixType>::Dot(const VectorType& a, const VectorType& b)
48 void BLAS<ScalarType, VectorType, MatrixType>::AXPlusY(ScalarType a, const VectorType& x, const VectorType& y, VectorType* result)
54 void BLAS<ScalarType, VectorType, MatrixType>::MVM(const MatrixType& m, const VectorType& v, VectorType* result)
60 void BLAS<ScalarType, VectorType, MatrixType>::Residual(const MatrixType& a, const VectorType& x, const VectorType& b, VectorType* result)
static ScalarType L2Norm(const VectorType &v)
Returns L2-norm of the given vector v.
Definition: BLAS-Impl.h:66
static void Residual(const MatrixType &a, const VectorType &x, const VectorType &b, VectorType *result)
Computes residual vector (b - ax).
Definition: BLAS-Impl.h:60
static ScalarType LInfNorm(const VectorType &v)
Returns L-inf-norm of the given vector v.
Definition: BLAS-Impl.h:72
Definition: pybind11Utils.h:24
static void MVM(const MatrixType &m, const VectorType &v, VectorType *result)
Performs matrix-vector multiplication.
Definition: BLAS-Impl.h:54
static void Set(ScalarType s, VectorType *result)
Sets entire element of given vector result with scalar s.
Definition: BLAS-Impl.h:18
static void AXPlusY(ScalarType a, const VectorType &x, const VectorType &y, VectorType *result)
Performs ax + y operation where a is a matrix and x and y are vectors.
Definition: BLAS-Impl.h:48
static ScalarType Dot(const VectorType &a, const VectorType &b)
Performs dot product with vector a and b.
Definition: BLAS-Impl.h:42