[Master Index] [Index for PublicToolbox/regutools]

# app_hh

## (PublicToolbox/regutools/app_hh.m in BrainStorm 2.0 (Alpha))

### Function Synopsis

    A = app_hh(A,beta,v)

### Help Text

    APP_HH Apply a Householder transformation.

     A = app_hh(A,beta,v)

     Applies the Householder transformation, defined by
     vector v and scaler beta, to the matrix A; i.e.
         A = (eye - beta*v*v')*A .

### Cross-Reference Information

This function is called by

    bidiag                             C:\BrainStorm_2001\PublicToolbox\regutools\bidiag.m
    lanc_b                             C:\BrainStorm_2001\PublicToolbox\regutools\lanc_b.m
    lsqr                               C:\BrainStorm_2001\PublicToolbox\regutools\lsqr.m
    plsqr                              C:\BrainStorm_2001\PublicToolbox\regutools\plsqr.m

### Listing of function C:\BrainStorm_2001\PublicToolbox\regutools\app_hh.m

    function A = app_hh(A,beta,v)
    %APP_HH Apply a Householder transformation.
    %
    % A = app_hh(A,beta,v)
    %
    % Applies the Householder transformation, defined by
    % vector v and scaler beta, to the matrix A; i.e.
    %     A = (eye - beta*v*v')*A .

    % Per Christian Hansen, UNI-C, 03/11/92.

    A = A - (beta*v)*(v'*A);

Produced by color_mat2html, a customized BrainStorm 2.0 (Alpha) version of mat2html on Tue Nov 2 16:17:59 2004
Cross-Directory links are: ON