##### pttrf

###### Prototype

There is one prototype of `pttrf` available, please see below.

    pttrf( VectorD& d, VectorE& e );

###### Description

`pttrf` (short for $FRIENDLY_NAME) provides a C++ interface to LAPACK routines SPTTRF, DPTTRF, CPTTRF, and ZPTTRF. `pttrf` computes the L*D*L' factorization of a complex Hermitian positive definite tridiagonal matrix A. The factorization may also be regarded as having the form A = U'*D*U.

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.284. Dispatching of pttrf

Value type of VectorD | LAPACK routine
--- | ---
`float` | SPTTRF
`double` | DPTTRF
`complex<float>` | CPTTRF
`complex<double>` | ZPTTRF

###### Definition

Defined in header `boost/numeric/bindings/lapack/computational/pttrf.hpp`.

###### Parameters or Requirements on Types

Parameters

MatrixA

  The definition of term 1

MatrixB

  The definition of term 2

MatrixC

  The definition of term 3.

  Definitions may contain paragraphs.

###### Complexity

###### Example

    #include <boost/numeric/bindings/lapack/computational/pttrf.hpp>
    using namespace boost::numeric::bindings;

    lapack::pttrf( x, y, z );

this will output

    [5] 0 1 2 3 4 5

###### Notes

###### See Also

- Originating Fortran source files spttrf.f, dpttrf.f, cpttrf.f, and zpttrf.f at Netlib.