[/ 

THIS FILE IS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT!

]

[section gemv]

[heading Prototype]
There are two prototypes of `gemv` available, please see below.
``
gemv( const Scalar >, const MatrixA& a, const VectorX& x,
        const Scalar >, VectorY& y );
``

``
gemv( const Scalar alpha, const MatrixA& a, const VectorX& x,
        const Scalar beta, VectorY& y );
``


[heading Description]

`gemv` (short for generic matrix-vector operation) provides a C++
interface to BLAS routines SGEMV, DGEMV, CGEMV, and ZGEMV. 
`gemv` performs one of the matrix-vector operations

y := alpha*A*x + beta*y, or y := alpha*A**T*x + beta*y, or

y := alpha*A**H*x + beta*y,

where alpha and beta are scalars, x and y are vectors and A is an
m by n matrix.

The selection of the BLAS routine is done during compile-time, 
and is determined by the type of values contained in type `MatrixA`.
The type of values is obtained through the `value_type` meta-function
 `typename value_type<MatrixA>::type`.
Table X below illustrates to which specific routine this dispatching will take place. 

[table Dispatching of gemv.
[  [ Value type of MatrixA ] [BLAS routine] [CBLAS routine] [CUBLAS routine] ]
[  [`float`][SGEMV][cblas_sgemv][cublasSgemv] ]
[  [`double`][DGEMV][cblas_dgemv][cublasDgemv] ]
[  [`complex<float>`][CGEMV][cblas_cgemv][cublasCgemv] ]
[  [`complex<double>`][ZGEMV][cblas_zgemv][cublasZgemv] ]

]

The original routines SGEMV, DGEMV, CGEMV, and ZGEMV have eleven arguments,
whereas `gemv` requires five arguments.

[table Deduction of arguments of gemv.
]

[heading Definition]
Defined in header [headerref boost/numeric/bindings/blas/level2/gemv.hpp].

[heading Parameters or Requirements on Types]

[variablelist Parameters
    [[MatrixA] [The definition of term 1]]
    [[MatrixB] [The definition of term 2]]
    [[MatrixC] [
    The definition of term 3.

    Definitions may contain paragraphs.
    ]]
]

[heading Complexity]

[heading Example]
``
#include <boost/numeric/bindings/blas/level2/gemv.hpp>
using namespace boost::numeric::bindings;

blas::gemv( x, y, z );

``

this will output

``
[5] 0 1 2 3 4 5
``

[heading Notes]

[heading See Also]

* Originating Fortran source files [@http://www.netlib.org/blas/sgemv.f sgemv.f], [@http://www.netlib.org/blas/dgemv.f dgemv.f], [@http://www.netlib.org/blas/cgemv.f cgemv.f], and [@http://www.netlib.org/blas/zgemv.f zgemv.f] at Netlib.

[endsect]
