/*************************************************************************************************************************************/ /* */ /* E T U D E D E L A S U I T E D E S Y R A C U S E : */ /* */ /* */ /* Nota : */ /* */ /* Cette commande est tres inspiree de */ /* 'v $ximf/nombres$FON IFsuite_de_Syracuse'. */ /* */ /* */ /* Author of '$xrk/Syracuse.11$K' : */ /* */ /* Jean-Francois COLONNA (LACTAMME, 20130113172558). */ /* */ /*************************************************************************************************************************************/ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* I N T E R F A C E ' listG ' : */ /* */ /* */ /* :Debut_listG: */ /* :Fin_listG: */ /* */ /*************************************************************************************************************************************/ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* D I R E C T I V E S S P E C I F I Q U E S D E C O M P I L A T I O N : */ /* */ /*************************************************************************************************************************************/ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* F I C H I E R S D ' I N C L U D E S : */ /* */ /*************************************************************************************************************************************/ #include INCLUDES_BASE /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* P A R A M E T R E S : */ /* */ /*************************************************************************************************************************************/ #include xrk/Syracuse.11.1.I" /* Introduit sous cette forme le 20130115143143... */ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* M A C R O S U T I L E S : */ /* */ /*************************************************************************************************************************************/ #include xrk/Syracuse.11.2.I" /* Introduit sous cette forme le 20130115143143... */ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* E T U D E D E L A S U I T E D E S Y R A C U S E : */ /* */ /*************************************************************************************************************************************/ BCommande(nombre_d_arguments,arguments) /*-----------------------------------------------------------------------------------------------------------------------------------*/ Bblock DEFV(CHAR,INIC(POINTERc(nom_imageR),NOM_PIPE)); #include xrk/Syracuse.11.3.I" /* Introduit sous cette forme le 20130115143143... */ /*..............................................................................................................................*/ GET_ARGUMENTSi(nombre_d_arguments ,BLOC(GET_ARGUMENT_C("imageR=""R=",nom_imageR); GET_ARGUMENT_I("nombre_maximal_iterations=""iterations=",nombre_maximal_d_iterations); GET_ARGUMENT_I("pas_inter_nombres=""pin=""pas=""p=",pas_inter_nombres); /* Arguments introduits le 20170913104449... */ GET_ARGUMENT_I("premier_nombre_entier=""premier=",premier_nombre_entier); GET_ARGUMENT_I("valeur_d_arret=""arret=",valeur_d_arret); GET_ARGUMENT_I("rang_initial=""rang=",rang_initial_d_apparition_de_la_valeur_d_arret); GET_ARGUMENT_I("diviseur=""div=",diviseur); GET_ARGUMENT_I("alpha=""a=",alpha___); GET_ARGUMENT_I("beta=""b=",beta____); GET_ARGUMENT_I("homothetie_U0=""hU0=",homothetie__U0); GET_ARGUMENT_I("translation_U0=""tU0=",translation_U0); /* Arguments introduits le 20130115180321... */ GET_ARGUMENT_L("visualiser_rang=""vr=",visualiser_a_l_aide_du_rang_dans_la_suite); GET_ARGUMENT_N("visualiser_U0=""v0=",visualiser_a_l_aide_du_rang_dans_la_suite); /* Arguments introduits le 20130115101940... */ GET_ARGUMENT_L("visualiser_parite=""vp=",visualiser_la_parite_des_elements_de_la_suite); GET_ARGUMENT_P("pariteP=""pp=",niveau_de_la_parite___paire); GET_ARGUMENT_P("pariteI=""pi=",niveau_de_la_parite_impaire); /* Arguments introduits le 20190418110542... */ GET_ARGUMENT_L("editer=""ed=",editer_les_suites); ) ); CALi(Inoir(ImageR)); begin_ligne Bblock CALCUL_D_UNE_SUITE_DE_SYRACUSE(AXPB(pas_inter_nombres,COXR(X),premier_nombre_entier)); /* Calcul de U(n)... */ Eblock end_ligne CALi(Iupdate_image(nom_imageR,ImageR)); RETU_Commande; Eblock ECommande