36{
37 FLA_Obj ATL, ATR, A00, a01, A02,
38 ABL, ABR, a10t, alpha11, a12t,
39 A20, a21, A22;
40 FLA_Obj YTL, YTR, Y00, y01, Y02,
41 YBL, YBR, y10t, psi11, y12t,
42 Y20, y21, Y22;
43 FLA_Obj ZTL, ZTR, Z00, z01, Z02,
44 ZBL, ZBR, z10t, zeta11, z12t,
45 Z20, z21, Z22;
46 FLA_Obj TTL, TTR, T00, t01, T02,
47 TBL, TBR, t10t, tau11, t12t,
48 T20, t21, T22;
49 FLA_Obj STL, STR, S00, s01, S02,
50 SBL, SBR, s10t, sigma11, s12t,
51 S20, s21, S22;
53 wB, omega11,
54 w21;
56 alB, alpha11l,
57 a22l;
59 apB, alpha11p,
60 a12p;
62 uB, upsilon11,
63 u21;
65 uBp, upsilon11p,
66 u21p;
68 vB, nu11,
69 v21;
71 dB, delta1,
72 d2;
74 eB, epsilon1,
75 e2;
77 fB, phi1,
78 f2;
80 gB, ghi1,
81 g2;
84
96
98 a01_b;
102 a12p_b;
105 v21_b;
107 Y20_b;
109
113
114
116
120
142
145
147 &ABL, &ABR, 0, 0, FLA_TL );
149 &YBL, &YBR, 0, 0, FLA_TL );
151 &ZBL, &ZBR, 0, 0, FLA_TL );
153 &TBL, &TBR, 0, 0, FLA_TL );
155 &SBL, &SBR, 0, 0, FLA_TL );
157 &wB, 0, FLA_TOP );
159 &alB, 0, FLA_TOP );
161 &apB, 0, FLA_TOP );
163 &uB, 0, FLA_TOP );
165 &uBp, 0, FLA_TOP );
167 &vB, 0, FLA_TOP );
169 &dB, 0, FLA_TOP );
171 &eB, 0, FLA_TOP );
173 &fB, 0, FLA_TOP );
175 &gB, 0, FLA_TOP );
176
178 {
180
181 &a10t, &alpha11, &a12t,
182 ABL, ABR, &A20, &a21, &A22,
183 1, 1, FLA_BR );
185
186 &y10t, &psi11, &y12t,
187 YBL, YBR, &Y20, &y21, &Y22,
188 1, 1, FLA_BR );
190
191 &z10t, &zeta11, &z12t,
192 ZBL, ZBR, &Z20, &z21, &Z22,
193 1, 1, FLA_BR );
195
196 &t10t, &tau11, &t12t,
197 TBL, TBR, &T20, &t21, &T22,
198 1, 1, FLA_BR );
200
201 &s10t, &sigma11, &s12t,
202 SBL, SBR, &S20, &s21, &S22,
203 1, 1, FLA_BR );
205
206 &omega11,
207 wB, &w21, 1, FLA_BOTTOM );
209
210 &alpha11l,
211 alB, &a22l, 1, FLA_BOTTOM );
213
214 &alpha11p,
215 apB, &a12p, 1, FLA_BOTTOM );
217
218 &upsilon11,
219 uB, &u21, 1, FLA_BOTTOM );
221
222 &upsilon11p,
223 uBp, &u21p, 1, FLA_BOTTOM );
225
226 &nu11,
227 vB, &v21, 1, FLA_BOTTOM );
229
230 &delta1,
231 dB, &d2, 1, FLA_BOTTOM );
233
234 &epsilon1,
235 eB, &e2, 1, FLA_BOTTOM );
237
238 &phi1,
239 fB, &f2, 1, FLA_BOTTOM );
241
242 &ghi1,
243 gB, &g2, 1, FLA_BOTTOM );
244
245
246
247
248
249
251 {
253 &a01_b, 1, FLA_BOTTOM );
256 }
257
259 a21, &a2 );
260
261
262
265
266
269
270
272 {
274 }
275
276
278 alpha11,
279 a21, tau11 );
281
283 {
284
287
288
289
291 FLA_Axpyt( FLA_TRANSPOSE, minus_inv_tau11, a12t, a12p );
292
293
296
300
301
302 FLA_Copyt( FLA_CONJ_TRANSPOSE, a10t, t01 );
304
305
307
308
309 FLA_Axpyt( FLA_CONJ_NO_TRANSPOSE, minus_inv_tau11, y21, a12p );
310
311
313
314
317
320
323 &Y20_b, 1, FLA_TOP );
325
326
330
331
333
336 &v21_b, 1, FLA_TOP );
338 &a12p_b, 1, FLA_TOP );
339
340
342 a12p_t,
343 a12p_b,
344 alpha12, psi11_minus_alpha12, sigma11 );
345
346
351
352
353 FLA_Copyt( FLA_CONJ_NO_TRANSPOSE, alpha12, minus_conj_alpha12 );
355
356
357
358
359
360
361
363 FLA_Axpyt( FLA_CONJ_NO_TRANSPOSE, minus_conj_alpha12, A02_l, s01 );
365
366
367
368 FLA_Copyt( FLA_NO_TRANSPOSE, alpha12, a12t_l );
369 FLA_Copyt( FLA_TRANSPOSE, v21_b, a12t_r );
370 }
371
372
374
376 {
377
378 FLA_Dotc( FLA_CONJUGATE, y21, v21, beta );
381
382
384 FLA_Axpy( minus_conj_alpha12, a22l, z21 );
387
388
389
392 }
393 else
394 {
395
396 FLA_Copyt( FLA_CONJ_TRANSPOSE, a10t, t01 );
398 }
399
400
401
403 a10t, alpha11, a12t,
404
405 &ABL, &ABR, A20, a21, A22,
406 FLA_TL );
408 y10t, psi11, y12t,
409
410 &YBL, &YBR, Y20, y21, Y22,
411 FLA_TL );
413 z10t, zeta11, z12t,
414
415 &ZBL, &ZBR, Z20, z21, Z22,
416 FLA_TL );
418 t10t, tau11, t12t,
419
420 &TBL, &TBR, T20, t21, T22,
421 FLA_TL );
423 s10t, sigma11, s12t,
424
425 &SBL, &SBR, S20, s21, S22,
426 FLA_TL );
428 omega11,
429
430 &wB, w21, FLA_TOP );
432 alpha11l,
433
434 &alB, a22l, FLA_TOP );
436 alpha11p,
437
438 &apB, a12p, FLA_TOP );
440 upsilon11,
441
442 &uB, u21, FLA_TOP );
444 upsilon11p,
445
446 &uBp, u21p, FLA_TOP );
448 nu11,
449
450 &vB, v21, FLA_TOP );
452 delta1,
453
454 &dB, d2, FLA_TOP );
456 epsilon1,
457
458 &eB, e2, FLA_TOP );
460 phi1,
461
462 &fB, f2, FLA_TOP );
464 ghi1,
465
466 &gB, g2, FLA_TOP );
467 }
468
490
491 return FLA_SUCCESS;
492}
FLA_Error FLA_Copy(FLA_Obj A, FLA_Obj B)
Definition FLA_Copy.c:15
FLA_Error FLA_Scal(FLA_Obj alpha, FLA_Obj A)
Definition FLA_Scal.c:15
FLA_Error FLA_Dotc(FLA_Conj conj, FLA_Obj x, FLA_Obj y, FLA_Obj rho)
Definition FLA_Dotc.c:13
FLA_Error FLA_Axpy(FLA_Obj alpha, FLA_Obj A, FLA_Obj B)
Definition FLA_Axpy.c:15
FLA_Error FLA_Axpyt(FLA_Trans trans, FLA_Obj alpha, FLA_Obj A, FLA_Obj B)
Definition FLA_Axpyt.c:15
FLA_Error FLA_Copyt(FLA_Trans trans, FLA_Obj A, FLA_Obj B)
Definition FLA_Copyt.c:15
FLA_Error FLA_Inv_scalc(FLA_Conj conjalpha, FLA_Obj alpha, FLA_Obj A)
Definition FLA_Inv_scalc.c:13
FLA_Error FLA_Gemvc(FLA_Trans transa, FLA_Conj conjx, FLA_Obj alpha, FLA_Obj A, FLA_Obj x, FLA_Obj beta, FLA_Obj y)
Definition FLA_Gemvc.c:13
FLA_Error FLA_Gemv(FLA_Trans transa, FLA_Obj alpha, FLA_Obj A, FLA_Obj x, FLA_Obj beta, FLA_Obj y)
Definition FLA_Gemv.c:15
FLA_Obj FLA_MINUS_ONE
Definition FLA_Init.c:22
FLA_Obj FLA_ZERO
Definition FLA_Init.c:20
FLA_Obj FLA_ONE
Definition FLA_Init.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_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_Obj_create(FLA_Datatype datatype, dim_t m, dim_t n, dim_t rs, dim_t cs, FLA_Obj *obj)
Definition FLA_Obj.c:55
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
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_Merge_2x1(FLA_Obj AT, FLA_Obj AB, FLA_Obj *A)
Definition FLA_View.c:541
FLA_Error FLA_Obj_free(FLA_Obj *obj)
Definition FLA_Obj.c:588
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
FLA_Error FLA_Mult_add(FLA_Obj alpha, FLA_Obj beta, FLA_Obj gamma)
Definition FLA_Mult_add.c:13
FLA_Error FLA_Set(FLA_Obj alpha, FLA_Obj A)
Definition FLA_Set.c:13
FLA_Error FLA_Conjugate(FLA_Obj A)
Definition FLA_Conjugate.c:13
FLA_Error FLA_Househ2s_UT(FLA_Side side, FLA_Obj chi_1, FLA_Obj x2, FLA_Obj alpha, FLA_Obj chi_1_minus_alpha, FLA_Obj tau)
Definition FLA_Househ2s_UT.c:16
FLA_Error FLA_Househ2_UT(FLA_Side side, FLA_Obj chi_1, FLA_Obj x2, FLA_Obj tau)
Definition FLA_Househ2_UT.c:16
Definition FLA_type_defs.h:159