libflame revision_anchor
Functions
FLA_Apply_pivots_ln_blk_var1.c File Reference

(r)

Functions

FLA_Error FLA_Apply_pivots_ln_blk_var1 (FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
 

Function Documentation

◆ FLA_Apply_pivots_ln_blk_var1()

FLA_Error FLA_Apply_pivots_ln_blk_var1 ( FLA_Obj  p,
FLA_Obj  A,
fla_appiv_t cntl 
)
14{
15 FLA_Obj AL, AR, A0, A1, A2;
16
17 dim_t b;
18
19 FLA_Part_1x2( A, &AL, &AR, 0, FLA_LEFT );
20
21 while ( FLA_Obj_width( AL ) < FLA_Obj_width( A ) ) {
22
24
25 FLA_Repart_1x2_to_1x3( AL, /**/ AR, &A0, /**/ &A1, &A2,
26 b, FLA_RIGHT );
27
28 /*------------------------------------------------------------*/
29
30 /* Apply pivots to each column panel */
32 FLA_Cntl_sub_appiv( cntl ) );
33
34 /*------------------------------------------------------------*/
35
36 FLA_Cont_with_1x3_to_1x2( &AL, /**/ &AR, A0, A1, /**/ A2,
37 FLA_LEFT );
38 }
39
40 return FLA_SUCCESS;
41}
FLA_Error FLA_Apply_pivots_internal(FLA_Side side, FLA_Trans trans, FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
Definition FLA_Apply_pivots_internal.c:13
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
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_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_Determine_blocksize(FLA_Obj A_unproc, FLA_Quadrant to_dir, fla_blocksize_t *cntl_blocksizes)
Definition FLA_Blocksize.c:234
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_Apply_pivots_internal(), FLA_Cont_with_1x3_to_1x2(), FLA_Determine_blocksize(), FLA_Obj_width(), FLA_Part_1x2(), FLA_Repart_1x2_to_1x3(), and i.

Referenced by FLA_Apply_pivots_ln().