libflame  revision_anchor
Functions
FLA_Tridiag_UT_form_Q_check.c File Reference

(r)

Functions

FLA_Error FLA_Tridiag_UT_form_Q_check (FLA_Uplo uplo, FLA_Obj A, FLA_Obj T, FLA_Obj Q)
 

Function Documentation

◆ FLA_Tridiag_UT_form_Q_check()

FLA_Error FLA_Tridiag_UT_form_Q_check ( FLA_Uplo  uplo,
FLA_Obj  A,
FLA_Obj  T,
FLA_Obj  Q 
)
14 {
15  FLA_Error e_val;
16  dim_t n_T;
17 
18  e_val = FLA_Check_valid_uplo( uplo );
19  FLA_Check_error_code( e_val );
20 
21  e_val = FLA_Check_floating_object( A );
22  FLA_Check_error_code( e_val );
23 
24  e_val = FLA_Check_nonconstant_object( A );
25  FLA_Check_error_code( e_val );
26 
27  e_val = FLA_Check_square( A );
28  FLA_Check_error_code( e_val );
29 
30  e_val = FLA_Check_floating_object( T );
31  FLA_Check_error_code( e_val );
32 
33  e_val = FLA_Check_nonconstant_object( T );
34  FLA_Check_error_code( e_val );
35 
37  FLA_Check_error_code( e_val );
38 
39  n_T = FLA_Obj_width( T );
40 
41  e_val = FLA_Check_object_width_equals( A, n_T );
42  FLA_Check_error_code( e_val );
43 
44  e_val = FLA_Check_floating_object( Q );
45  FLA_Check_error_code( e_val );
46 
47  e_val = FLA_Check_nonconstant_object( Q );
48  FLA_Check_error_code( e_val );
49 
50  e_val = FLA_Check_square( Q );
51  FLA_Check_error_code( e_val );
52 
54  FLA_Check_error_code( e_val );
55 
56  e_val = FLA_Check_object_width_equals( Q, n_T );
57  FLA_Check_error_code( e_val );
58 
59  return FLA_SUCCESS;
60 }
FLA_Error FLA_Check_square(FLA_Obj A)
Definition: FLA_Check.c:363
FLA_Error FLA_Check_object_width_equals(FLA_Obj A, dim_t n)
Definition: FLA_Check.c:1049
dim_t FLA_Obj_width(FLA_Obj obj)
Definition: FLA_Query.c:123
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_valid_uplo(FLA_Uplo uplo)
Definition: FLA_Check.c:76
FLA_Error FLA_Check_floating_object(FLA_Obj A)
Definition: FLA_Check.c:232
int FLA_Error
Definition: FLA_type_defs.h:47
unsigned long dim_t
Definition: FLA_type_defs.h:71

References FLA_Check_floating_object(), FLA_Check_identical_object_datatype(), FLA_Check_nonconstant_object(), FLA_Check_object_width_equals(), FLA_Check_square(), FLA_Check_valid_uplo(), and FLA_Obj_width().

Referenced by FLA_Tridiag_UT_form_Q().