FLA_Axpys_check.c File Reference

(r)


Functions

FLA_Error FLA_Axpys_check (FLA_Obj alpha0, FLA_Obj alpha1, FLA_Obj A, FLA_Obj beta, FLA_Obj B)

Function Documentation

FLA_Error FLA_Axpys_check ( FLA_Obj  alpha0,
FLA_Obj  alpha1,
FLA_Obj  A,
FLA_Obj  beta,
FLA_Obj  B 
)

References FLA_Check_conformal_dims(), FLA_Check_consistent_object_datatype(), FLA_Check_floating_object(), FLA_Check_identical_object_datatype(), FLA_Check_if_scalar(), and FLA_Check_nonconstant_object().

Referenced by FLA_Axpys_external().

00036 {
00037   FLA_Error e_val;
00038 
00039   e_val = FLA_Check_floating_object( A );
00040   FLA_Check_error_code( e_val );
00041 
00042   e_val = FLA_Check_nonconstant_object( A );
00043   FLA_Check_error_code( e_val );
00044 
00045   e_val = FLA_Check_identical_object_datatype( A, B );
00046   FLA_Check_error_code( e_val );
00047 
00048   e_val = FLA_Check_consistent_object_datatype( A, alpha0 );
00049   FLA_Check_error_code( e_val );
00050 
00051   e_val = FLA_Check_consistent_object_datatype( A, alpha1 );
00052   FLA_Check_error_code( e_val );
00053 
00054   e_val = FLA_Check_consistent_object_datatype( A, beta );
00055   FLA_Check_error_code( e_val );
00056 
00057   e_val = FLA_Check_if_scalar( alpha0 );
00058   FLA_Check_error_code( e_val );
00059 
00060   e_val = FLA_Check_if_scalar( alpha1 );
00061   FLA_Check_error_code( e_val );
00062 
00063   e_val = FLA_Check_if_scalar( beta );
00064   FLA_Check_error_code( e_val );
00065 
00066   e_val = FLA_Check_conformal_dims( FLA_NO_TRANSPOSE, A, B );
00067   FLA_Check_error_code( e_val );
00068 
00069   return FLA_SUCCESS;
00070 }


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