|
libflame
revision_anchor
|
Functions | |
| FLA_Error | FLA_Trmm_luh_blk_var3 (FLA_Diag diagA, FLA_Obj alpha, FLA_Obj A, FLA_Obj B, fla_trmm_t *cntl) |
| FLA_Error FLA_Trmm_luh_blk_var3 | ( | FLA_Diag | diagA, |
| FLA_Obj | alpha, | ||
| FLA_Obj | A, | ||
| FLA_Obj | B, | ||
| fla_trmm_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_Trmm_internal().
Referenced by FLA_Trmm_luh().
{
FLA_Obj BL, BR, B0, B1, B2;
dim_t b;
FLA_Part_1x2( B, &BL, &BR, 0, FLA_LEFT );
while ( FLA_Obj_width( BL ) < FLA_Obj_width( B ) ){
b = FLA_Determine_blocksize( BR, FLA_RIGHT, FLA_Cntl_blocksize( cntl ) );
FLA_Repart_1x2_to_1x3( BL, /**/ BR, &B0, /**/ &B1, &B2,
b, FLA_RIGHT );
/*------------------------------------------------------------*/
/* B1 = triu( A )' * B1; */
FLA_Trmm_internal( FLA_LEFT, FLA_UPPER_TRIANGULAR, FLA_CONJ_TRANSPOSE, diagA,
alpha, A, B1,
FLA_Cntl_sub_trmm( cntl ) );
/*------------------------------------------------------------*/
FLA_Cont_with_1x3_to_1x2( &BL, /**/ &BR, B0, B1, /**/ B2,
FLA_LEFT );
}
return FLA_SUCCESS;
}
1.7.6.1