Debian Codegraph @

src/lapack/dec/q/qrutinc/front/matlab/FLA_Apply_H_UT.m

raw
1 %
2 %
3 % Copyright (C) 2014, The University of Texas at Austin
4 %
5 % This file is part of libflame and is available under the 3-Clause
6 % BSD license, which can be found in the LICENSE file at the top-level
7 % directory, or at http://opensource.org/licenses/BSD-3-Clause
8 %
9 %
10 function [ a1tout, ...
11 A2out ] = FLA_Apply_H_UT( tau, u2, a1t, ...
12 A2 )
13 % Compute
14 % / a1t \ = / I - 1/tau / 1 \ ( 1 u2^H ) \ / a1t \
15 % \ A2 / \ \ u2 / / \ A2 /
16 %
17
18 w = ( a1t + u2' * A2 ) / conj( tau );
19
20 a1tout = - w + a1t;
21 A2out = - u2 * w + A2;
22
23 return