There is one prototype of tbsv
available, please see below.
tbsv( const int_t k, const MatrixA& a, VectorX& x );
tbsv
(short for triangular,
banded, solve system of equations) provides a C++ interface to BLAS routines
STBSV, DTBSV, CTBSV, and ZTBSV. tbsv
solves one of the systems of equations
A*x = b, or A'*x = b, or conjg( A' )*x = b,
where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular band matrix, with ( k + 1 ) diagonals.
No test for singularity or near-singularity is included in this routine. Such tests must be performed before calling this routine.
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 1.72. Dispatching of tbsv.
Value type of MatrixA |
BLAS routine |
CBLAS routine |
CUBLAS routine |
---|---|---|---|
|
STBSV |
cblas_stbsv |
cublasStbsv |
|
DTBSV |
cblas_dtbsv |
Unavailable |
|
CTBSV |
cblas_ctbsv |
cublasCtbsv |
|
ZTBSV |
cblas_ztbsv |
Unavailable |
The original routines STBSV, DTBSV, CTBSV, and ZTBSV have nine arguments,
whereas tbsv
requires
three arguments.
Defined in header boost/numeric/bindings/blas/level2/tbsv.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/tbsv.hpp> using namespace boost::numeric::bindings; blas::tbsv( x, y, z );
this will output
[5] 0 1 2 3 4 5