libflame revision_anchor
Functions
FLA_Apply_pivots.h File Reference

(r)

Go to the source code of this file.

Functions

FLA_Error FLA_Apply_pivots_internal (FLA_Side side, FLA_Trans trans, FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
 
FLA_Error FLA_Apply_pivots_ln (FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
 
FLA_Error FLA_Apply_pivots_lt (FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
 
FLA_Error FLA_Apply_pivots_rn (FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
 
FLA_Error FLA_Apply_pivots_rt (FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
 

Function Documentation

◆ FLA_Apply_pivots_internal()

FLA_Error FLA_Apply_pivots_internal ( FLA_Side  side,
FLA_Trans  trans,
FLA_Obj  p,
FLA_Obj  A,
fla_appiv_t cntl 
)
14{
16
17 if ( FLA_Cntl_matrix_type( cntl ) == FLA_HIER &&
19 {
21 {
22 // Enqueue
24 }
25 else
26 {
27 // Execute leaf
29 }
30 }
31 else
32 {
33 // Parameter combinations
34 if ( trans == FLA_NO_TRANSPOSE )
35 {
36 if ( side == FLA_LEFT )
37 {
38 r_val = FLA_Apply_pivots_ln( p, A, cntl );
39 }
40 else if ( side == FLA_RIGHT )
41 {
42 r_val = FLA_Apply_pivots_rn( p, A, cntl );
43 }
44 }
45 else if ( trans == FLA_TRANSPOSE )
46 {
47 if ( side == FLA_LEFT )
48 {
49 r_val = FLA_Apply_pivots_lt( p, A, cntl );
50 }
51 else if ( side == FLA_RIGHT )
52 {
53 r_val = FLA_Apply_pivots_rt( p, A, cntl );
54 }
55 }
56 }
57
58 return r_val;
59}
FLA_Bool FLASH_Queue_get_enabled(void)
Definition FLASH_Queue.c:171
FLA_Error FLA_Apply_pivots_ln(FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
Definition FLA_Apply_pivots_ln.c:13
FLA_Error FLA_Apply_pivots_rn(FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
Definition FLA_Apply_pivots_rn.c:13
FLA_Error FLA_Apply_pivots_rt(FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
Definition FLA_Apply_pivots_rt.c:13
FLA_Error FLA_Apply_pivots_lt(FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
Definition FLA_Apply_pivots_lt.c:13
FLA_Error FLA_Apply_pivots_macro_task(FLA_Side side, FLA_Trans trans, FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
Definition FLA_Apply_pivots_macro_task.c:15
int FLA_Error
Definition FLA_type_defs.h:47
int i
Definition bl1_axmyv2.c:145

References FLA_Apply_pivots_ln(), FLA_Apply_pivots_lt(), FLA_Apply_pivots_macro_task(), FLA_Apply_pivots_rn(), FLA_Apply_pivots_rt(), FLASH_Queue_get_enabled(), and i.

Referenced by FLA_Apply_pivots(), FLA_Apply_pivots_ln_blk_var1(), FLA_Apply_pivots_ln_blk_var2(), FLA_Apply_pivots_ln_task(), FLA_Apply_pivots_macro_task(), FLA_Apply_pivots_task(), FLA_LU_piv_blk_var3(), FLA_LU_piv_blk_var4(), FLA_LU_piv_blk_var5(), and FLASH_Apply_pivots().

◆ FLA_Apply_pivots_ln()

FLA_Error FLA_Apply_pivots_ln ( FLA_Obj  p,
FLA_Obj  A,
fla_appiv_t cntl 
)
14{
16
18 {
20 }
21 else if ( FLA_Cntl_variant( cntl ) == FLA_UNB_OPT_VARIANT1 )
22 {
24 }
25 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT1 )
26 {
28 }
29 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT2 )
30 {
32 }
33 else
34 {
36 }
37
38 return r_val;
39}
FLA_Error FLA_Apply_pivots_ln_opt_var1(FLA_Obj p, FLA_Obj A)
Definition FLA_Apply_pivots_ln_opt_var1.c:13
FLA_Error FLA_Apply_pivots_ln_blk_var2(FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
Definition FLA_Apply_pivots_ln_blk_var2.c:13
FLA_Error FLA_Apply_pivots_ln_blk_var1(FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
Definition FLA_Apply_pivots_ln_blk_var1.c:13
FLA_Error FLA_Apply_pivots_ln_unb_ext(FLA_Obj p, FLA_Obj A)
Definition FLA_Apply_pivots_unb_external.c:121

References FLA_Apply_pivots_ln_blk_var1(), FLA_Apply_pivots_ln_blk_var2(), FLA_Apply_pivots_ln_opt_var1(), FLA_Apply_pivots_ln_unb_ext(), and i.

Referenced by FLA_Apply_pivots_internal().

◆ FLA_Apply_pivots_lt()

FLA_Error FLA_Apply_pivots_lt ( FLA_Obj  p,
FLA_Obj  A,
fla_appiv_t cntl 
)
14{
16
18 {
20 }
21 else if ( FLA_Cntl_variant( cntl ) == FLA_UNB_OPT_VARIANT1 )
22 {
24 }
25 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT1 )
26 {
28 }
29 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT2 )
30 {
32 }
33 else
34 {
36 }
37
38 return r_val;
39}
FLA_Error FLA_Apply_pivots_lt_opt_var1(FLA_Obj p, FLA_Obj A)
Definition FLA_Apply_pivots_lt_opt_var1.c:13

References FLA_Apply_pivots_lt_opt_var1(), and i.

Referenced by FLA_Apply_pivots_internal().

◆ FLA_Apply_pivots_rn()

FLA_Error FLA_Apply_pivots_rn ( FLA_Obj  p,
FLA_Obj  A,
fla_appiv_t cntl 
)
14{
16
18 {
20 }
21 else if ( FLA_Cntl_variant( cntl ) == FLA_UNB_OPT_VARIANT1 )
22 {
24 }
25 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT1 )
26 {
28 }
29 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT2 )
30 {
32 }
33 else
34 {
36 }
37
38 return r_val;
39}
FLA_Error FLA_Apply_pivots_rn_opt_var1(FLA_Obj p, FLA_Obj A)
Definition FLA_Apply_pivots_rn_opt_var1.c:13

References FLA_Apply_pivots_rn_opt_var1(), and i.

Referenced by FLA_Apply_pivots_internal().

◆ FLA_Apply_pivots_rt()

FLA_Error FLA_Apply_pivots_rt ( FLA_Obj  p,
FLA_Obj  A,
fla_appiv_t cntl 
)
14{
16
18 {
20 }
21 else if ( FLA_Cntl_variant( cntl ) == FLA_UNB_OPT_VARIANT1 )
22 {
24 }
25 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT1 )
26 {
28 }
29 else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT2 )
30 {
32 }
33 else
34 {
36 }
37
38 return r_val;
39}
FLA_Error FLA_Apply_pivots_rt_opt_var1(FLA_Obj p, FLA_Obj A)
Definition FLA_Apply_pivots_rt_opt_var1.c:13

References FLA_Apply_pivots_rt_opt_var1(), and i.

Referenced by FLA_Apply_pivots_internal().