libflame  revision_anchor
Functions
FLA_Shift_pivots_to_check.c File Reference

(r)

Functions

FLA_Error FLA_Shift_pivots_to_check (FLA_Pivot_type ptype, FLA_Obj p)
 

Function Documentation

◆ FLA_Shift_pivots_to_check()

FLA_Error FLA_Shift_pivots_to_check ( FLA_Pivot_type  ptype,
FLA_Obj  p 
)

References FLA_Check_col_vector(), FLA_Check_int_object(), FLA_Check_nonconstant_object(), and FLA_Check_valid_pivot_type().

Referenced by FLA_Shift_pivots_to().

14 {
15  FLA_Error e_val;
16 
17  e_val = FLA_Check_valid_pivot_type( ptype );
18  FLA_Check_error_code( e_val );
19 
20  e_val = FLA_Check_int_object( p );
21  FLA_Check_error_code( e_val );
22 
23  e_val = FLA_Check_nonconstant_object( p );
24  FLA_Check_error_code( e_val );
25 
26  e_val = FLA_Check_col_vector( p );
27  FLA_Check_error_code( e_val );
28 
29  return FLA_SUCCESS;
30 }
FLA_Error FLA_Check_int_object(FLA_Obj A)
Definition: FLA_Check.c:245
int FLA_Error
Definition: FLA_type_defs.h:47
FLA_Error FLA_Check_nonconstant_object(FLA_Obj A)
Definition: FLA_Check.c:954
FLA_Error FLA_Check_valid_pivot_type(FLA_Pivot_type ptype)
Definition: FLA_Check.c:552
FLA_Error FLA_Check_col_vector(FLA_Obj x)
Definition: FLA_Check.c:1233