libflame revision_anchor
Functions
FLA_Scal_check.c File Reference

(r)

Functions

FLA_Error FLA_Scal_check (FLA_Obj alpha, FLA_Obj A)
 

Function Documentation

◆ FLA_Scal_check()

FLA_Error FLA_Scal_check ( FLA_Obj  alpha,
FLA_Obj  A 
)
14{
16
19
22
23 if ( FLA_Obj_is_real( A ) )
24 {
27 }
28 else
29 {
32 }
33
36
37 return FLA_SUCCESS;
38}
FLA_Error FLA_Check_if_scalar(FLA_Obj A)
Definition FLA_Check.c:373
FLA_Bool FLA_Obj_is_real(FLA_Obj A)
Definition FLA_Query.c:307
FLA_Error FLA_Check_consistent_object_datatype(FLA_Obj A, FLA_Obj B)
Definition FLA_Check.c:339
FLA_Error FLA_Check_identical_object_precision(FLA_Obj A, FLA_Obj B)
Definition FLA_Check.c:298
FLA_Error FLA_Check_nonconstant_object(FLA_Obj A)
Definition FLA_Check.c:954
FLA_Error FLA_Check_floating_object(FLA_Obj A)
Definition FLA_Check.c:232
int FLA_Error
Definition FLA_type_defs.h:47
int i
Definition bl1_axmyv2.c:145

References FLA_Check_consistent_object_datatype(), FLA_Check_floating_object(), FLA_Check_identical_object_precision(), FLA_Check_if_scalar(), FLA_Check_nonconstant_object(), and FLA_Obj_is_real().

Referenced by FLA_Scal(), FLA_Scal_external(), FLA_Scal_external_gpu(), and FLASH_Scal().