[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

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 Oct 12 12:05:14 2004
Cross-Directory links are: ON