libflame
12600
|
Functions | |
FLA_Error | FLA_Nrm2_check (FLA_Obj x, FLA_Obj norm) |
FLA_Error FLA_Nrm2_check | ( | FLA_Obj | x, |
FLA_Obj | norm | ||
) |
References FLA_Check_floating_object(), FLA_Check_identical_object_precision(), FLA_Check_if_scalar(), FLA_Check_if_vector(), FLA_Check_nonconstant_object(), and FLA_Check_real_object().
Referenced by FLA_Nrm2_external().
{ FLA_Error e_val; e_val = FLA_Check_floating_object( x ); FLA_Check_error_code( e_val ); e_val = FLA_Check_nonconstant_object( x ); FLA_Check_error_code( e_val ); e_val = FLA_Check_real_object( norm ); FLA_Check_error_code( e_val ); e_val = FLA_Check_nonconstant_object( norm ); FLA_Check_error_code( e_val ); e_val = FLA_Check_identical_object_precision( x, norm ); FLA_Check_error_code( e_val ); e_val = FLA_Check_if_scalar( norm ); FLA_Check_error_code( e_val ); e_val = FLA_Check_if_vector( x ); FLA_Check_error_code( e_val ); return FLA_SUCCESS; }