mirror of
https://github.com/jlengrand/LAFF.git
synced 2026-03-10 08:31:21 +00:00
43 lines
1.5 KiB
Matlab
Executable File
43 lines
1.5 KiB
Matlab
Executable File
function [ x_out ] = Trmv_un_unb_var1( U, x )
|
|
|
|
[ UTL, UTR, ...
|
|
UBL, UBR ] = FLA_Part_2x2( U, ...
|
|
0, 0, 'FLA_TL' );
|
|
[ xT, ...
|
|
xB ] = FLA_Part_2x1( x, ...
|
|
0, 'FLA_TOP' );
|
|
|
|
while ( size( UTL, 1 ) < size( U, 1 ) )
|
|
|
|
[ U00, u01, U02, ...
|
|
u10t, upsilon11, u12t, ...
|
|
U20, u21, U22 ] = FLA_Repart_2x2_to_3x3( UTL, UTR, ...
|
|
UBL, UBR, ...
|
|
1, 1, 'FLA_BR' );
|
|
[ x0, ...
|
|
chi1, ...
|
|
x2 ] = FLA_Repart_2x1_to_3x1( xT, ...
|
|
xB, ...
|
|
1, 'FLA_BOTTOM' );
|
|
%------------------------------------------------------------%
|
|
|
|
chi1 = laff_dot( upsilon11, chi1 );
|
|
chi1 = laff_dots( u12t, x2, chi1 );
|
|
|
|
%------------------------------------------------------------%
|
|
[ UTL, UTR, ...
|
|
UBL, UBR ] = FLA_Cont_with_3x3_to_2x2( U00, u01, U02, ...
|
|
u10t, upsilon11, u12t, ...
|
|
U20, u21, U22, ...
|
|
'FLA_TL' );
|
|
[ xT, ...
|
|
xB ] = FLA_Cont_with_3x1_to_2x1( x0, ...
|
|
chi1, ...
|
|
x2, ...
|
|
'FLA_TOP' );
|
|
end
|
|
|
|
x_out = [ xT
|
|
xB ];
|
|
|
|
return |