3#ifndef TETL_LINALG_BLAS2_MATRIX_VECTOR_PRODUCT_HPP
4#define TETL_LINALG_BLAS2_MATRIX_VECTOR_PRODUCT_HPP
13template <in_matrix InMat, in_vector InVec, out_vector OutVec>
19 using size_type = detail::common_size_type_t<InMat, InVec, OutVec>;
22 y(i) =
typename OutVec::element_type{};
24 y(i) += a(i, j) * x(j);
#define TETL_PRECONDITION(...)
Definition check.hpp:16
constexpr auto matrix_vector_product(InMat a, InVec x, OutVec y) noexcept -> void
Definition blas2_matrix_vector_product.hpp:14
constexpr auto cmp_less(T t, U u) noexcept -> bool
Compare the values of two integers t and u. Unlike builtin comparison operators, negative signed inte...
Definition cmp_less.hpp:21
Definition accessor_conjugate.hpp:12