libflame
12600
|
Functions | |
FLA_Error | FLA_Fill_with_cluster_dist_check (FLA_Obj n_clusters, FLA_Obj cluster_width, FLA_Obj x) |
FLA_Error FLA_Fill_with_cluster_dist_check | ( | FLA_Obj | n_clusters, |
FLA_Obj | cluster_width, | ||
FLA_Obj | x | ||
) |
References FLA_Check_floating_object(), FLA_Check_identical_object_precision(), FLA_Check_if_scalar(), FLA_Check_if_vector(), FLA_Check_int_object(), FLA_Check_nonconstant_object(), and FLA_Check_real_object().
Referenced by FLA_Fill_with_cluster_dist().
{ 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_int_object( n_clusters ); FLA_Check_error_code( e_val ); e_val = FLA_Check_real_object( cluster_width ); FLA_Check_error_code( e_val ); e_val = FLA_Check_identical_object_precision( cluster_width, x ); FLA_Check_error_code( e_val ); e_val = FLA_Check_if_scalar( n_clusters ); FLA_Check_error_code( e_val ); e_val = FLA_Check_if_scalar( cluster_width ); FLA_Check_error_code( e_val ); e_val = FLA_Check_if_vector( x ); FLA_Check_error_code( e_val ); return FLA_SUCCESS; }