libflame  revision_anchor
Functions
FLA_QR_UT_form_Q_check.c File Reference

(r)

Functions

FLA_Error FLA_QR_UT_form_Q_check (FLA_Obj A, FLA_Obj T, FLA_Obj Q)
 

Function Documentation

◆ FLA_QR_UT_form_Q_check()

FLA_Error FLA_QR_UT_form_Q_check ( FLA_Obj  A,
FLA_Obj  T,
FLA_Obj  Q 
)
14 {
15  FLA_Error e_val;
16 
17  e_val = FLA_Check_floating_object( A );
18  FLA_Check_error_code( e_val );
19 
20  e_val = FLA_Check_nonconstant_object( A );
21  FLA_Check_error_code( e_val );
22 
24  FLA_Check_error_code( e_val );
25 
27  FLA_Check_error_code( e_val );
28 
29  // The width of T is the loop guard, not A. This should not be checked.
30  //e_val = FLA_Check_object_width_equals( T, FLA_Obj_width( A ) );
31  //FLA_Check_error_code( e_val );
32 
34  FLA_Check_error_code( e_val );
35 
36  // Q matrix should not be restricted to be a square matrix
37  // e_val = FLA_Check_square( Q );
38  // FLA_Check_error_code( e_val );
39 
40  return FLA_SUCCESS;
41 }
FLA_Error FLA_Check_object_length_equals(FLA_Obj A, dim_t m)
Definition: FLA_Check.c:1039
dim_t FLA_Obj_length(FLA_Obj obj)
Definition: FLA_Query.c:116
FLA_Error FLA_Check_nonconstant_object(FLA_Obj A)
Definition: FLA_Check.c:954
FLA_Error FLA_Check_identical_object_datatype(FLA_Obj A, FLA_Obj B)
Definition: FLA_Check.c:967
FLA_Error FLA_Check_floating_object(FLA_Obj A)
Definition: FLA_Check.c:232
int FLA_Error
Definition: FLA_type_defs.h:47

References FLA_Check_floating_object(), FLA_Check_identical_object_datatype(), FLA_Check_nonconstant_object(), FLA_Check_object_length_equals(), and FLA_Obj_length().

Referenced by FLA_QR_UT_form_Q().