BLAS-Impl.hpp
Go to the documentation of this file.
static ScalarType L2Norm(const VectorType &v)
Returns L2-norm of the given vector v.
Definition: BLAS-Impl.hpp:80
static void Residual(const MatrixType &a, const VectorType &x, const VectorType &b, VectorType *result)
Computes residual vector (b - ax).
Definition: BLAS-Impl.hpp:71
static ScalarType LInfNorm(const VectorType &v)
Returns L-inf-norm of the given vector v.
Definition: BLAS-Impl.hpp:86
Definition: pybind11Utils.hpp:20
static void MVM(const MatrixType &m, const VectorType &v, VectorType *result)
Performs matrix-vector multiplication.
Definition: BLAS-Impl.hpp:63
static void Set(ScalarType s, VectorType *result)
Sets entire element of given vector result with scalar s.
Definition: BLAS-Impl.hpp:19
static void AXPlusY(ScalarType a, const VectorType &x, const VectorType &y, VectorType *result)
Definition: BLAS-Impl.hpp:54
static ScalarType Dot(const VectorType &a, const VectorType &b)
Performs dot product with vector a and b.
Definition: BLAS-Impl.hpp:47