There is one prototype of hpcon
available, please see below.
hpcon( const MatrixAP& ap, const VectorIPIV& ipiv, const Scalar >, Scalar > );
hpcon (short for $FRIENDLY_NAME)
provides a C++ interface to LAPACK routines SSPCON, DSPCON, CHPCON, and
ZHPCON. hpcon estimates
the reciprocal of the condition number of a complex Hermitian packed
matrix A using the factorization A = UD*U*H
or A = LD*L*H computed by ZHPTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
The selection of the LAPACK routine is done during compile-time, and
is determined by the type of values contained in type MatrixAP.
The type of values is obtained through the value_type
meta-function typename value_type<MatrixAP>::type. The dispatching table below illustrates
to which specific routine the code path will be generated.
Table 1.256. Dispatching of hpcon
|
Value type of MatrixAP |
LAPACK routine |
|---|---|
|
|
SSPCON |
|
|
DSPCON |
|
|
CHPCON |
|
|
ZHPCON |
Defined in header boost/numeric/bindings/lapack/computational/hpcon.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/computational/hpcon.hpp> using namespace boost::numeric::bindings; lapack::hpcon( x, y, z );
this will output
[5] 0 1 2 3 4 5