libflame revision_anchor
Functions
FLA_Bidiag_UT_u_blf_var2.c File Reference

(r)

Functions

FLA_Error FLA_Bidiag_UT_u_blf_var2 (FLA_Obj A, FLA_Obj TU, FLA_Obj TV)
 

Function Documentation

◆ FLA_Bidiag_UT_u_blf_var2()

FLA_Error FLA_Bidiag_UT_u_blf_var2 ( FLA_Obj  A,
FLA_Obj  TU,
FLA_Obj  TV 
)
14{
15 FLA_Obj ATL, ATR, A00, A01, A02,
16 ABL, ABR, A10, A11, A12,
17 A20, A21, A22;
18 FLA_Obj TUL, TUR, TU0, TU1, TU2;
19 FLA_Obj TVL, TVR, TV0, TV1, TV2;
20
24 dim_t b_alg, b;
25
27
28 FLA_Part_2x2( A, &ATL, &ATR,
29 &ABL, &ABR, 0, 0, FLA_TL );
30 FLA_Part_1x2( TU, &TUL, &TUR, 0, FLA_LEFT );
31 FLA_Part_1x2( TV, &TVL, &TVR, 0, FLA_LEFT );
32
33 while ( FLA_Obj_min_dim( ABR ) > 0 )
34 {
35 b = min( FLA_Obj_min_dim( ABR ), b_alg );
36
37 FLA_Repart_2x2_to_3x3( ATL, /**/ ATR, &A00, /**/ &A01, &A02,
38 /* ************* */ /* ******************** */
39 &A10, /**/ &A11, &A12,
40 ABL, /**/ ABR, &A20, /**/ &A21, &A22,
41 b, b, FLA_BR );
42 FLA_Repart_1x2_to_1x3( TUL, /**/ TUR, &TU0, /**/ &TU1, &TU2,
43 b, FLA_RIGHT );
44 FLA_Repart_1x2_to_1x3( TVL, /**/ TVR, &TV0, /**/ &TV1, &TV2,
45 b, FLA_RIGHT );
46
47 /*------------------------------------------------------------*/
48
50 &none2, &none3, b, b, FLA_TL );
51
53 &none2, &none3, b, b, FLA_TL );
54
55 // [ ABR, T1 ] = FLA_Bidiag_UT_u_step_unb_var2( ABR, TU1, TV1, b );
56 //FLA_Bidiag_UT_u_step_unb_var2( ABR, TU1_tl, TV1_tl );
58 //FLA_Bidiag_UT_u_step_opt_var2( ABR, TU1_tl, TV1_tl );
59
60 /*------------------------------------------------------------*/
61
62 FLA_Cont_with_3x3_to_2x2( &ATL, /**/ &ATR, A00, A01, /**/ A02,
63 A10, A11, /**/ A12,
64 /* ************** */ /* ****************** */
65 &ABL, /**/ &ABR, A20, A21, /**/ A22,
66 FLA_TL );
67 FLA_Cont_with_1x3_to_1x2( &TUL, /**/ &TUR, TU0, TU1, /**/ TU2,
68 FLA_LEFT );
69 FLA_Cont_with_1x3_to_1x2( &TVL, /**/ &TVR, TV0, TV1, /**/ TV2,
70 FLA_LEFT );
71 }
72
73 return FLA_SUCCESS;
74}
FLA_Error FLA_Bidiag_UT_u_step_ofu_var2(FLA_Obj A, FLA_Obj T, FLA_Obj S)
Definition FLA_Bidiag_UT_u_fus_var2.c:18
FLA_Error FLA_Cont_with_3x3_to_2x2(FLA_Obj *ATL, FLA_Obj *ATR, FLA_Obj A00, FLA_Obj A01, FLA_Obj A02, FLA_Obj A10, FLA_Obj A11, FLA_Obj A12, FLA_Obj *ABL, FLA_Obj *ABR, FLA_Obj A20, FLA_Obj A21, FLA_Obj A22, FLA_Quadrant quadrant)
Definition FLA_View.c:304
FLA_Error FLA_Part_2x2(FLA_Obj A, FLA_Obj *A11, FLA_Obj *A12, FLA_Obj *A21, FLA_Obj *A22, dim_t mb, dim_t nb, FLA_Quadrant quadrant)
Definition FLA_View.c:17
FLA_Error FLA_Cont_with_1x3_to_1x2(FLA_Obj *AL, FLA_Obj *AR, FLA_Obj A0, FLA_Obj A1, FLA_Obj A2, FLA_Side side)
Definition FLA_View.c:475
FLA_Error FLA_Part_1x2(FLA_Obj A, FLA_Obj *A1, FLA_Obj *A2, dim_t nb, FLA_Side side)
Definition FLA_View.c:110
dim_t FLA_Obj_length(FLA_Obj obj)
Definition FLA_Query.c:116
FLA_Error FLA_Repart_2x2_to_3x3(FLA_Obj ATL, FLA_Obj ATR, FLA_Obj *A00, FLA_Obj *A01, FLA_Obj *A02, FLA_Obj *A10, FLA_Obj *A11, FLA_Obj *A12, FLA_Obj ABL, FLA_Obj ABR, FLA_Obj *A20, FLA_Obj *A21, FLA_Obj *A22, dim_t mb, dim_t nb, FLA_Quadrant quadrant)
Definition FLA_View.c:142
FLA_Error FLA_Repart_1x2_to_1x3(FLA_Obj AL, FLA_Obj AR, FLA_Obj *A0, FLA_Obj *A1, FLA_Obj *A2, dim_t nb, FLA_Side side)
Definition FLA_View.c:267
dim_t FLA_Obj_min_dim(FLA_Obj obj)
Definition FLA_Query.c:153
unsigned long dim_t
Definition FLA_type_defs.h:71
int i
Definition bl1_axmyv2.c:145
Definition FLA_type_defs.h:159

References FLA_Bidiag_UT_u_step_ofu_var2(), FLA_Cont_with_1x3_to_1x2(), FLA_Cont_with_3x3_to_2x2(), FLA_Obj_length(), FLA_Obj_min_dim(), FLA_Part_1x2(), FLA_Part_2x2(), FLA_Repart_1x2_to_1x3(), FLA_Repart_2x2_to_3x3(), and i.

Referenced by FLA_Bidiag_UT_u().