| 
    libflame
    12600
    
   
   | 
  
  
  
 
Functions | |
| FLA_Error | FLA_Copy_check (FLA_Obj A, FLA_Obj B) | 
| FLA_Error FLA_Copy_check | ( | FLA_Obj | A, | 
| FLA_Obj | B | ||
| ) | 
References FLA_Check_conformal_dims(), FLA_Check_equal_vector_dims(), FLA_Check_nonconstant_object(), FLA_Check_valid_object_datatype(), and FLA_Obj_is_vector().
Referenced by FLA_Copy(), FLA_Copy_external(), FLA_Copy_external_gpu(), and FLASH_Copy().
{
  FLA_Error e_val;
  e_val = FLA_Check_valid_object_datatype( A );
  FLA_Check_error_code( e_val );
  e_val = FLA_Check_nonconstant_object( B );
  FLA_Check_error_code( e_val );
  if ( FLA_Obj_is_vector( A ) && FLA_Obj_is_vector( B ) )
  {
    e_val = FLA_Check_equal_vector_dims( A, B );
    FLA_Check_error_code( e_val );
  }
  else
  {
    e_val = FLA_Check_conformal_dims( FLA_NO_TRANSPOSE, A, B );
    FLA_Check_error_code( e_val );
  }
  return FLA_SUCCESS;
}
 1.7.6.1