##### larfx

###### Prototype

There are two prototypes of `larfx` available, please see below.

    larfx( const Side side, const VectorV& v, const Scalar >, MatrixC& c );

    larfx( const Side side, const VectorV& v, const Scalar tau, MatrixC& c );

###### Description

`larfx` (short for $FRIENDLY_NAME) provides a C++ interface to LAPACK routines SLARFX, DLARFX, CLARFX, and ZLARFX. `larfx` applies a complex elementary reflector H to a complex m by n matrix C, from either the left or the right. H is represented in the form

H = I - tau * v * v'

where tau is a complex scalar and v is a complex vector.

If tau = 0, then H is taken to be the unit matrix

This version uses inline code if H has order < 11.

The selection of the LAPACK routine is done during compile-time, and is determined by the type of values contained in type `VectorV`. The type of values is obtained through the `value_type` meta-function `typename value_type<VectorV>::type`. The dispatching table below illustrates to which specific routine the code path will be generated.

Table 1.344. Dispatching of larfx

Value type of VectorV | LAPACK routine
--- | ---
`float` | SLARFX
`double` | DLARFX
`complex<float>` | CLARFX
`complex<double>` | ZLARFX

###### Definition

Defined in header `boost/numeric/bindings/lapack/auxiliary/larfx.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/auxiliary/larfx.hpp>
    using namespace boost::numeric::bindings;

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

this will output

    [5] 0 1 2 3 4 5

###### Notes

###### See Also

- Originating Fortran source files slarfx.f, dlarfx.f, clarfx.f, and zlarfx.f at Netlib.