14{
18
19
20
21
22
23 if ( depth != 1 )
24 {
25 FLA_Print_message(
"FLASH_QR_UT_inc() currently only supports matrices of depth 1",
26 __FILE__, __LINE__ );
28 }
29
30
32
33
35
36
37
38 if ( b_alg == 0 )
39 {
41 }
42
43
44
45
48
49
50
51
52
54 depth, &b_alg, b_flash,
55 TW );
56
57
58
60
61 if ( n_last > 0 )
62 {
64 TWBL, TWBR;
67 TWB, TW1,
68 TW2;
70
72 &TWBL, &TWBR, n-1, n-1, FLA_TL );
73
75 &TWB, 0, FLA_TOP );
76
78 {
80
81 &TW1,
82 TWB, &TW2, 1, FLA_BOTTOM );
83
84
85
86 TW1p = FLASH_OBJ_PTR_AT( TW1 );
87
89
90 *TW1p = TWL;
93
94
95
97 TW1,
98
99 &TWB, TW2, FLA_TOP );
100 }
101
102
103 }
104
105 return FLA_SUCCESS;
106}
dim_t FLASH_QR_UT_inc_determine_alg_blocksize(FLA_Obj A)
Definition FLASH_QR_UT_inc_create_hier_matrices.c:109
FLA_Error FLASH_Obj_create_ext(FLA_Datatype datatype, dim_t m, dim_t n, dim_t depth, dim_t *b_m, dim_t *b_n, FLA_Obj *H)
Definition FLASH_Obj.c:151
FLA_Error FLASH_Obj_create_hier_copy_of_flat(FLA_Obj F, dim_t depth, dim_t *b_mn, FLA_Obj *H)
Definition FLASH_Obj.c:591
dim_t FLASH_Obj_scalar_width(FLA_Obj H)
Definition FLASH_View.c:641
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_3x1_to_2x1(FLA_Obj *AT, FLA_Obj A0, FLA_Obj A1, FLA_Obj *AB, FLA_Obj A2, FLA_Side side)
Definition FLA_View.c:428
FLA_Error FLA_Repart_2x1_to_3x1(FLA_Obj AT, FLA_Obj *A0, FLA_Obj *A1, FLA_Obj AB, FLA_Obj *A2, dim_t mb, FLA_Side side)
Definition FLA_View.c:226
dim_t FLA_Obj_width(FLA_Obj obj)
Definition FLA_Query.c:123
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
FLA_Error FLA_Part_2x1(FLA_Obj A, FLA_Obj *A1, FLA_Obj *A2, dim_t mb, FLA_Side side)
Definition FLA_View.c:76
dim_t FLA_Obj_length(FLA_Obj obj)
Definition FLA_Query.c:116
void FLA_Abort(void)
Definition FLA_Error.c:248
void FLA_Print_message(char *str, char *file, int line)
Definition FLA_Error.c:234
FLA_Datatype FLA_Obj_datatype(FLA_Obj obj)
Definition FLA_Query.c:13
int FLA_Datatype
Definition FLA_type_defs.h:49
unsigned long dim_t
Definition FLA_type_defs.h:71
Definition FLA_type_defs.h:159
dim_t n_inner
Definition FLA_type_defs.h:166
dim_t m
Definition FLA_type_defs.h:163
dim_t m_inner
Definition FLA_type_defs.h:165
dim_t n
Definition FLA_type_defs.h:164