Functions | |
FLA_Error | FLA_QR_UT_internal_check (FLA_Obj A, FLA_Obj T, fla_qrut_t *cntl) |
FLA_Error FLA_QR_UT_internal_check | ( | FLA_Obj | A, | |
FLA_Obj | T, | |||
fla_qrut_t * | cntl | |||
) |
References FLA_Check_identical_object_elemtype(), FLA_Check_null_pointer(), FLA_Check_object_width_equals(), and FLA_Obj_width().
Referenced by FLA_QR_UT_internal().
00036 { 00037 FLA_Error e_val; 00038 00039 // Abort if the control structure is NULL. 00040 e_val = FLA_Check_null_pointer( ( void* ) cntl ); 00041 FLA_Check_error_code( e_val ); 00042 00043 // Verify that the object element types are identical. 00044 e_val = FLA_Check_identical_object_elemtype( A, T ); 00045 FLA_Check_error_code( e_val ); 00046 00047 // Verify conformality between all the objects. This check works regardless 00048 // of whether the element type is FLA_MATRIX or FLA_SCALAR because the 00049 // element length and width are used instead of scalar length and width. 00050 e_val = FLA_Check_object_width_equals( A, FLA_Obj_width( T ) ); 00051 FLA_Check_error_code( e_val ); 00052 00053 return FLA_SUCCESS; 00054 }