There is one prototype of her
available, please see below.
her( const Scalar >, const VectorX& x, MatrixA& a );
her
(short for hermitian
rank-1 update) provides a C++ interface to BLAS routines SSYR, DSYR,
CHER, and ZHER. her
performs
the hermitian rank 1 operation
A := alpha*x*conjg( x' ) + A,
where alpha is a real scalar, x is an n element vector and A is an n by n hermitian matrix.
The selection of the BLAS routine is done during compile-time, and is
determined by the type of values contained in type VectorX
.
The type of values is obtained through the value_type
meta-function typename value_type<VectorX>::type
. Table X below illustrates to
which specific routine this dispatching will take place.
Table 1.48. Dispatching of her.
Value type of VectorX |
BLAS routine |
CBLAS routine |
CUBLAS routine |
---|---|---|---|
|
SSYR |
cblas_ssyr |
cublasSsyr |
|
DSYR |
cblas_dsyr |
cublasDsyr |
|
CHER |
cblas_cher |
cublasCher |
|
ZHER |
cblas_zher |
Unavailable |
The original routines SSYR, DSYR, CHER, and ZHER have seven arguments,
whereas her
requires
three arguments.
Defined in header boost/numeric/bindings/blas/level2/her.hpp
.
Parameters
The definition of term 1
The definition of term 2
The definition of term 3.
Definitions may contain paragraphs.
#include <boost/numeric/bindings/blas/level2/her.hpp> using namespace boost::numeric::bindings; blas::her( x, y, z );
this will output
[5] 0 1 2 3 4 5