This function performs the matrix-vector multiplication : y = α * op(A)x + β * y
Type : polymorphic.
A : class, 2D tensor of dimension N x M.
x : class, 1D tensor of dimension M.
y : class, 1D tensor of dimension N. The default is an N-element vector with all elements equal to 0.
Op(A) : enum, operation that is non- or transpose.
- CUBLAS_OP_N : the non-transpose operation is selected
- CUBLAS_OP_T : the transpose operation is selected
- CUBLAS_OP_H : the conjugate transpose operation is selected
α : float, scalar used for multiplication.
β : float, scalar used for multiplication, if beta==0 then y does not have to be a valid input.
y : class, 1D tensor of dimension N.
All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install PERRINE library to run it).