libflame revision_anchor
Functions
FLA_LQ_UT_recover_tau_check.c File Reference

(r)

Functions

FLA_Error FLA_LQ_UT_recover_tau_check (FLA_Obj T, FLA_Obj tau)

Function Documentation

FLA_Error FLA_LQ_UT_recover_tau_check ( FLA_Obj  T,
FLA_Obj  tau 
)

References FLA_Check_consistent_object_datatype(), FLA_Check_floating_object(), FLA_Check_if_vector(), FLA_Check_object_width_equals(), and FLA_Obj_vector_dim().

Referenced by FLA_LQ_UT_recover_tau().

{
  FLA_Error    e_val;

  e_val = FLA_Check_floating_object( T );
  FLA_Check_error_code( e_val );

  e_val = FLA_Check_consistent_object_datatype( T, tau );
  FLA_Check_error_code( e_val );

  e_val = FLA_Check_if_vector( tau );
  FLA_Check_error_code( e_val );

  e_val = FLA_Check_object_width_equals( T, FLA_Obj_vector_dim( tau ) );
  FLA_Check_error_code( e_val );

  return FLA_SUCCESS;
}