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

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

{
  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 );

  // This is not valid anymore as T is created with a conforming width to A.
  //e_val = FLA_Check_object_width_equals( T, FLA_Obj_vector_dim( tau ) );
  //FLA_Check_error_code( e_val );

  return FLA_SUCCESS;
}