libflame  revision_anchor
Functions
FLA_Dot2s_check.c File Reference

(r)

Functions

FLA_Error FLA_Dot2s_check (FLA_Obj alpha, FLA_Obj x, FLA_Obj y, FLA_Obj beta, FLA_Obj rho)
 

Function Documentation

◆ FLA_Dot2s_check()

FLA_Error FLA_Dot2s_check ( FLA_Obj  alpha,
FLA_Obj  x,
FLA_Obj  y,
FLA_Obj  beta,
FLA_Obj  rho 
)
14 {
15  FLA_Error e_val;
16 
17  e_val = FLA_Check_floating_object( x );
18  FLA_Check_error_code( e_val );
19 
20  e_val = FLA_Check_nonconstant_object( x );
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  e_val = FLA_Check_consistent_object_datatype( x, alpha );
30  FLA_Check_error_code( e_val );
31 
32  e_val = FLA_Check_consistent_object_datatype( x, beta );
33  FLA_Check_error_code( e_val );
34 
35  e_val = FLA_Check_if_vector( x );
36  FLA_Check_error_code( e_val );
37 
38  e_val = FLA_Check_if_vector( y );
39  FLA_Check_error_code( e_val );
40 
41  e_val = FLA_Check_if_scalar( alpha );
42  FLA_Check_error_code( e_val );
43 
44  e_val = FLA_Check_if_scalar( beta );
45  FLA_Check_error_code( e_val );
46 
47  e_val = FLA_Check_if_scalar( rho );
48  FLA_Check_error_code( e_val );
49 
50  e_val = FLA_Check_equal_vector_dims( x, y );
51  FLA_Check_error_code( e_val );
52 
53  return FLA_SUCCESS;
54 }
FLA_Error FLA_Check_if_scalar(FLA_Obj A)
Definition: FLA_Check.c:373
FLA_Error FLA_Check_consistent_object_datatype(FLA_Obj A, FLA_Obj B)
Definition: FLA_Check.c:339
FLA_Error FLA_Check_nonconstant_object(FLA_Obj A)
Definition: FLA_Check.c:954
FLA_Error FLA_Check_equal_vector_dims(FLA_Obj x, FLA_Obj y)
Definition: FLA_Check.c:477
FLA_Error FLA_Check_identical_object_datatype(FLA_Obj A, FLA_Obj B)
Definition: FLA_Check.c:967
FLA_Error FLA_Check_if_vector(FLA_Obj A)
Definition: FLA_Check.c:383
FLA_Error FLA_Check_floating_object(FLA_Obj A)
Definition: FLA_Check.c:232
int FLA_Error
Definition: FLA_type_defs.h:47
* rho
Definition: bl1_axpyv2bdotaxpy.c:322

References FLA_Check_consistent_object_datatype(), FLA_Check_equal_vector_dims(), FLA_Check_floating_object(), FLA_Check_identical_object_datatype(), FLA_Check_if_scalar(), FLA_Check_if_vector(), FLA_Check_nonconstant_object(), and rho.

Referenced by FLA_Dot2s_external().