FLA_Gemv_check.c File Reference

(r)


Functions

FLA_Error FLA_Gemv_check (FLA_Trans transa, FLA_Obj alpha, FLA_Obj A, FLA_Obj x, FLA_Obj beta, FLA_Obj y)

Function Documentation

FLA_Error FLA_Gemv_check ( FLA_Trans  transa,
FLA_Obj  alpha,
FLA_Obj  A,
FLA_Obj  x,
FLA_Obj  beta,
FLA_Obj  y 
)

References FLA_Check_consistent_object_datatype(), FLA_Check_floating_object(), FLA_Check_identical_object_datatype(), FLA_Check_if_scalar(), FLA_Check_if_vector(), FLA_Check_matrix_vector_dims(), FLA_Check_nonconstant_object(), and FLA_Check_valid_trans().

Referenced by FLA_Gemv(), FLA_Gemv_external(), and FLASH_Gemv().

00036 {
00037   FLA_Error e_val;
00038 
00039   e_val = FLA_Check_valid_trans( transa );
00040   FLA_Check_error_code( e_val );
00041 
00042   e_val = FLA_Check_floating_object( A );
00043   FLA_Check_error_code( e_val );
00044 
00045   e_val = FLA_Check_nonconstant_object( A );
00046   FLA_Check_error_code( e_val );
00047 
00048   e_val = FLA_Check_identical_object_datatype( A, x );
00049   FLA_Check_error_code( e_val );
00050 
00051   e_val = FLA_Check_identical_object_datatype( A, y );
00052   FLA_Check_error_code( e_val );
00053 
00054   e_val = FLA_Check_consistent_object_datatype( A, alpha );
00055   FLA_Check_error_code( e_val );
00056 
00057   e_val = FLA_Check_consistent_object_datatype( A, beta );
00058   FLA_Check_error_code( e_val );
00059 
00060   e_val = FLA_Check_if_vector( x );
00061   FLA_Check_error_code( e_val );
00062 
00063   e_val = FLA_Check_if_vector( y );
00064   FLA_Check_error_code( e_val );
00065 
00066   e_val = FLA_Check_if_scalar( alpha );
00067   FLA_Check_error_code( e_val );
00068 
00069   e_val = FLA_Check_if_scalar( beta );
00070   FLA_Check_error_code( e_val );
00071 
00072   e_val = FLA_Check_matrix_vector_dims( transa, A, x, y );
00073   FLA_Check_error_code( e_val );
00074  
00075   return FLA_SUCCESS;
00076 }


Generated on Mon Jul 6 05:45:51 2009 for libflame by  doxygen 1.5.9