There is one prototype of ptsv
available, please see below.
ptsv( VectorD& d, VectorE& e, MatrixB& b );
ptsv (short for $FRIENDLY_NAME)
provides a C++ interface to LAPACK routines SPTSV, DPTSV, CPTSV, and
ZPTSV. ptsv computes
the solution to a complex system of linear equations A*X = B, where A
is an N-by-N Hermitian positive definite tridiagonal matrix, and X and
B are N-by-NRHS matrices.
A is factored as A = LD*L*H, and the factored form of A is then used to solve the system of equations.
The selection of the LAPACK routine is done during compile-time, and
is determined by the type of values contained in type VectorD.
The type of values is obtained through the value_type
meta-function typename value_type<VectorD>::type. The dispatching table below illustrates
to which specific routine the code path will be generated.
Table 1.145. Dispatching of ptsv
|
Value type of VectorD |
LAPACK routine |
|---|---|
|
|
SPTSV |
|
|
DPTSV |
|
|
CPTSV |
|
|
ZPTSV |
Defined in header boost/numeric/bindings/lapack/driver/ptsv.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/lapack/driver/ptsv.hpp> using namespace boost::numeric::bindings; lapack::ptsv( x, y, z );
this will output
[5] 0 1 2 3 4 5