| 
    libflame
    12600
    
   
   | 
  
  
  
 
Functions | |
| FLA_Error | FLA_Copy_buffer_to_object (FLA_Trans trans, dim_t m, dim_t n, void *A_buffer, dim_t rs, dim_t cs, dim_t i, dim_t j, FLA_Obj B) | 
| FLA_Error | FLA_Copy_object_to_buffer (FLA_Trans trans, dim_t i, dim_t j, FLA_Obj A, dim_t m, dim_t n, void *B_buffer, dim_t rs, dim_t cs) | 
| FLA_Error FLA_Copy_buffer_to_object | ( | FLA_Trans | trans, | 
| dim_t | m, | ||
| dim_t | n, | ||
| void * | A_buffer, | ||
| dim_t | rs, | ||
| dim_t | cs, | ||
| dim_t | i, | ||
| dim_t | j, | ||
| FLA_Obj | B | ||
| ) | 
References FLA_Check_error_level(), FLA_Copy_buffer_to_object_check(), FLA_Copyt_external(), FLA_Obj_attach_buffer(), FLA_Obj_create_without_buffer(), FLA_Obj_datatype(), FLA_Obj_free_without_buffer(), and FLA_Part_2x2().
{
  FLA_Obj  A;
  FLA_Obj  BTL, BTR, 
           BBL, Bij;
  if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING )
    FLA_Copy_buffer_to_object_check( trans, m, n, A_buffer, rs, cs, i, j, B );
  FLA_Part_2x2( B,  &BTL, &BTR,
                    &BBL, &Bij,     i, j, FLA_TL );
  FLA_Obj_create_without_buffer( FLA_Obj_datatype( B ), m, n, &A );
  FLA_Obj_attach_buffer( A_buffer, rs, cs, &A );
  FLA_Copyt_external( trans, A, Bij );
  FLA_Obj_free_without_buffer( &A );
  return FLA_SUCCESS;
}
| FLA_Error FLA_Copy_object_to_buffer | ( | FLA_Trans | trans, | 
| dim_t | i, | ||
| dim_t | j, | ||
| FLA_Obj | A, | ||
| dim_t | m, | ||
| dim_t | n, | ||
| void * | B_buffer, | ||
| dim_t | rs, | ||
| dim_t | cs | ||
| ) | 
References FLA_Check_error_level(), FLA_Copy_object_to_buffer_check(), FLA_Copyt_external(), FLA_Obj_attach_buffer(), FLA_Obj_create_without_buffer(), FLA_Obj_datatype(), FLA_Obj_free_without_buffer(), and FLA_Part_2x2().
{
  FLA_Obj  B;
  FLA_Obj  ATL, ATR, 
           ABL, Aij;
  if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING )
    FLA_Copy_object_to_buffer_check( trans, i, j, A, m, n, B_buffer, rs, cs );
  FLA_Part_2x2( A,  &ATL, &ATR,
                    &ABL, &Aij,     i, j, FLA_TL );
  FLA_Obj_create_without_buffer( FLA_Obj_datatype( A ), m, n, &B );
  FLA_Obj_attach_buffer( B_buffer, rs, cs, &B );
  FLA_Copyt_external( trans, Aij, B );
  FLA_Obj_free_without_buffer( &B );
  return FLA_SUCCESS;
}
 1.7.6.1