batchlas::device::MatrixVectorOperand< T > Struct Template Reference

Overview

template<typename T>
struct batchlas::device::MatrixVectorOperand< T >

Operands of a matrix-vector operation: \( y := \alpha\,\mathrm{op}(A)\,x + \beta\,y \).

See also
make_matvec_operand()

Definition at line 80 of file group_blas_common.hh.

#include <batchlas/blas/device/detail/group_blas_common.hh>

Variables

◆ x

template<typename T>
VectorView<T> batchlas::device::MatrixVectorOperand< T >::x {}

input vector

Definition at line 81 of file group_blas_common.hh.

◆ y

template<typename T>
VectorView<T> batchlas::device::MatrixVectorOperand< T >::y {}

output vector; read (scaled by beta) and overwritten

Definition at line 82 of file group_blas_common.hh.

◆ alpha

template<typename T>
T batchlas::device::MatrixVectorOperand< T >::alpha = T(1)

scale of the product

Definition at line 83 of file group_blas_common.hh.

◆ beta

template<typename T>
T batchlas::device::MatrixVectorOperand< T >::beta = T(0)

scale of the input y; 0 still reads y

Definition at line 84 of file group_blas_common.hh.