libflame revision_anchor
Functions
FLA_Hemm_ru_unb_var9.c File Reference

(r)

Functions

FLA_Error FLA_Hemm_ru_unb_var9 (FLA_Obj alpha, FLA_Obj A, FLA_Obj B, FLA_Obj beta, FLA_Obj C)
 

Function Documentation

◆ FLA_Hemm_ru_unb_var9()

FLA_Error FLA_Hemm_ru_unb_var9 ( FLA_Obj  alpha,
FLA_Obj  A,
FLA_Obj  B,
FLA_Obj  beta,
FLA_Obj  C 
)
16{
17 FLA_Obj BT, B0,
18 BB, b1t,
19 B2;
20
21 FLA_Obj CT, C0,
22 CB, c1t,
23 C2;
24
25 FLA_Part_2x1( B, &BT,
26 &BB, 0, FLA_TOP );
27
28 FLA_Part_2x1( C, &CT,
29 &CB, 0, FLA_TOP );
30
31 while ( FLA_Obj_length( BT ) < FLA_Obj_length( B ) ){
32
34 /* ** */ /* ** */
35 &b1t,
36 BB, &B2, 1, FLA_BOTTOM );
37
39 /* ** */ /* ** */
40 &c1t,
41 CB, &C2, 1, FLA_BOTTOM );
42
43 /*------------------------------------------------------------*/
44
45 /* c1t = c1t + b1t * A */
46 /* c1t' = c1t' + A' * b1t' */
48
49 /*------------------------------------------------------------*/
50
52 b1t,
53 /* ** */ /* ** */
54 &BB, B2, FLA_TOP );
55
57 c1t,
58 /* ** */ /* ** */
59 &CB, C2, FLA_TOP );
60
61 }
62
63 return FLA_SUCCESS;
64}
FLA_Error FLA_Hemvc_external(FLA_Uplo uplo, FLA_Conj conja, FLA_Obj alpha, FLA_Obj A, FLA_Obj x, FLA_Obj beta, FLA_Obj y)
Definition FLA_Hemvc_external.c:13
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
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
int i
Definition bl1_axmyv2.c:145
Definition FLA_type_defs.h:159

References FLA_Cont_with_3x1_to_2x1(), FLA_Hemvc_external(), FLA_Obj_length(), FLA_Part_2x1(), FLA_Repart_2x1_to_3x1(), and i.

Referenced by FLA_Hemm_ru().