FLA_Nrm2_check.c File Reference

(r)


Functions

FLA_Error FLA_Nrm2_check (FLA_Obj x, FLA_Obj nrm_x)

Function Documentation

FLA_Error FLA_Nrm2_check ( FLA_Obj  x,
FLA_Obj  nrm_x 
)

References FLA_Check_floating_object(), FLA_Check_identical_object_precision(), FLA_Check_if_scalar(), FLA_Check_if_vector(), FLA_Check_nonconstant_object(), and FLA_Check_real_object().

Referenced by FLA_Nrm2_external().

00036 {
00037   FLA_Error e_val;
00038 
00039   e_val = FLA_Check_floating_object( x );
00040   FLA_Check_error_code( e_val );
00041 
00042   e_val = FLA_Check_nonconstant_object( x );
00043   FLA_Check_error_code( e_val );
00044 
00045   e_val = FLA_Check_real_object( nrm_x );
00046   FLA_Check_error_code( e_val );
00047 
00048   e_val = FLA_Check_nonconstant_object( nrm_x );
00049   FLA_Check_error_code( e_val );
00050 
00051   e_val = FLA_Check_identical_object_precision( x, nrm_x );
00052   FLA_Check_error_code( e_val );
00053 
00054   e_val = FLA_Check_if_scalar( nrm_x );
00055   FLA_Check_error_code( e_val );
00056 
00057   e_val = FLA_Check_if_vector( x );
00058   FLA_Check_error_code( e_val );
00059 
00060   return FLA_SUCCESS;
00061 }


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