Functions | |
FLA_Error | FLA_Trsm_lln_blk_var3 (FLA_Diag diagA, FLA_Obj alpha, FLA_Obj A, FLA_Obj B, fla_trsm_t *cntl) |
FLA_Error FLA_Trsm_lln_blk_var3 | ( | FLA_Diag | diagA, | |
FLA_Obj | alpha, | |||
FLA_Obj | A, | |||
FLA_Obj | B, | |||
fla_trsm_t * | cntl | |||
) |
References FLA_Cont_with_1x3_to_1x2(), FLA_Determine_blocksize(), FLA_Obj_width(), FLA_Part_1x2(), FLA_Repart_1x2_to_1x3(), and FLA_Trsm_internal().
Referenced by FLA_Trsm_lln().
00036 { 00037 FLA_Obj BL, BR, B0, B1, B2; 00038 00039 dim_t b; 00040 00041 FLA_Part_1x2( B, &BL, &BR, 0, FLA_LEFT ); 00042 00043 while ( FLA_Obj_width( BL ) < FLA_Obj_width( B ) ){ 00044 00045 b = FLA_Determine_blocksize( BR, FLA_RIGHT, FLA_Cntl_blocksize( cntl ) ); 00046 00047 FLA_Repart_1x2_to_1x3( BL, /**/ BR, &B0, /**/ &B1, &B2, 00048 b, FLA_RIGHT ); 00049 00050 /*------------------------------------------------------------*/ 00051 00052 /* B1 = tril( A ) \ B1 */ 00053 FLA_Trsm_internal( FLA_LEFT, FLA_LOWER_TRIANGULAR, FLA_NO_TRANSPOSE, diagA, 00054 alpha, A, B1, 00055 FLA_Cntl_sub_trsm( cntl ) ); 00056 00057 /*------------------------------------------------------------*/ 00058 00059 FLA_Cont_with_1x3_to_1x2( &BL, /**/ &BR, B0, B1, /**/ B2, 00060 FLA_LEFT ); 00061 00062 } 00063 00064 return FLA_SUCCESS; 00065 }