{"id":142,"date":"2022-03-22T14:56:04","date_gmt":"2022-03-22T13:56:04","guid":{"rendered":"https:\/\/blog.univ-angers.fr\/mathsinfo\/?page_id=142"},"modified":"2022-03-22T14:57:44","modified_gmt":"2022-03-22T13:57:44","slug":"et-rpl-resume-en-images","status":"publish","type":"page","link":"https:\/\/blog.univ-angers.fr\/mathsinfo\/et-rpl-resume-en-images\/","title":{"rendered":"et RPL : R\u00e9sum\u00e9 en images"},"content":{"rendered":"<h2>R\u00e9sum\u00e9 express<\/h2>\n<p>En utilisant <strong>CHARS<\/strong>, on peut renommer les diff\u00e9rentes commandes cr\u00e9\u00e9es dans les chapitres pr\u00e9c\u00e9dents en se rapprochant de l&rsquo;APL.<\/p>\n<p><span style=\"text-decoration: underline\">Ligne du haut<\/span>\u00a0: Union, transformer une chaine de caract\u00e8res en liste, produit externe<\/p>\n<p><span style=\"text-decoration: underline\">Ligne du bas<\/span>\u00a0: Scan, produit interne et s\u00e9lection<\/p>\n<p><a href=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/commandes.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-144\" alt=\"commandes\" src=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/commandes.jpg\" width=\"3318\" height=\"1306\" srcset=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/commandes.jpg 3318w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/commandes-300x118.jpg 300w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/commandes-1024x403.jpg 1024w\" sizes=\"auto, (max-width: 3318px) 100vw, 3318px\" \/><\/a><\/p>\n<h2>Exemples<\/h2>\n<p>S\u00e9lection des re\u00e7us avec \u03c3 : On duplique les notes, on cr\u00e9e le vecteur bool\u00e9en et on applique\u00a0\u03c3<\/p>\n<p><a href=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/SelectRecus.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-145\" alt=\"SelectRecus\" src=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/SelectRecus.jpg\" width=\"3318\" height=\"655\" srcset=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/SelectRecus.jpg 3318w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/SelectRecus-300x59.jpg 300w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/SelectRecus-1024x202.jpg 1024w\" sizes=\"auto, (max-width: 3318px) 100vw, 3318px\" \/><\/a><\/p>\n<p><span style=\"text-decoration: underline\">Ecran 1<\/span> : On ne r\u00e9cup\u00e8re que les \u00e9l\u00e9ments unique d&rsquo;une liste (\u00e0 gauche la version APL)<\/p>\n<p><span style=\"text-decoration: underline\">Ecran 2<\/span> : On d\u00e9compose une chaine et liste<\/p>\n<p><a href=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/unionSplit.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-146\" alt=\"unionSplit\" src=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/unionSplit.jpg\" width=\"3341\" height=\"660\" srcset=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/unionSplit.jpg 3341w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/unionSplit-300x59.jpg 300w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/unionSplit-1024x202.jpg 1024w\" sizes=\"auto, (max-width: 3341px) 100vw, 3341px\" \/><\/a><\/p>\n<p><span style=\"text-decoration: underline\">Produit externe<\/span> : On fait la table de Pythagore des produits entre les liste {3 2} et {4 1 5}<\/p>\n<p><a href=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/ProdExt.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-147\" alt=\"ProdExt\" src=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/ProdExt.jpg\" width=\"3410\" height=\"655\" srcset=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/ProdExt.jpg 3410w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/ProdExt-300x57.jpg 300w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/ProdExt-1024x196.jpg 1024w\" sizes=\"auto, (max-width: 3410px) 100vw, 3410px\" \/><\/a><\/p>\n<p><span style=\"text-decoration: underline\">Produit interne<\/span> : Prendre les minimums les 2 listes (c\u00e0d min(3 ; 2), min(5 ; 1) et min(4 ; 8)) et en faire le produit (2 * 1 * 4 = 8)<\/p>\n<p><a href=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/ProdInt.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-149\" alt=\"ProdInt\" src=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/ProdInt.jpg\" width=\"3561\" height=\"655\" srcset=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/ProdInt.jpg 3561w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/ProdInt-300x55.jpg 300w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/ProdInt-1024x188.jpg 1024w\" sizes=\"auto, (max-width: 3561px) 100vw, 3561px\" \/><\/a><\/p>\n<p><span style=\"text-decoration: underline\">Scan<\/span> : On garde le premier \u00e9l\u00e9ment. Ensuite on regarde le max entre la valeur pr\u00e9c\u00e9dente et 5 et on multiplie le r\u00e9sultat par la nouvelle valeur. On obtient 4 puis max(4 ; 5) = 5 * 6 = 30 puis max(30 ; 5) = 30 * 7 = 210 puis max(210 ; 5) = 210 * 3 = 630<\/p>\n<p><a href=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/scan.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-150\" alt=\"scan\" src=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/scan.jpg\" width=\"3914\" height=\"655\" srcset=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/scan.jpg 3914w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/scan-300x50.jpg 300w, https:\/\/blog.univ-angers.fr\/mathsinfo\/files\/2022\/03\/scan-1024x171.jpg 1024w\" sizes=\"auto, (max-width: 3914px) 100vw, 3914px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R\u00e9sum\u00e9 express En utilisant CHARS, on peut renommer les diff\u00e9rentes commandes cr\u00e9\u00e9es dans les chapitres pr\u00e9c\u00e9dents en se rapprochant de l&rsquo;APL. Ligne du haut\u00a0: Union, transformer une chaine de caract\u00e8res en liste, produit externe Ligne du bas\u00a0: Scan, produit interne &hellip; <a href=\"https:\/\/blog.univ-angers.fr\/mathsinfo\/et-rpl-resume-en-images\/\">Continuer la lecture <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4913,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-142","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blog.univ-angers.fr\/mathsinfo\/wp-json\/wp\/v2\/pages\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.univ-angers.fr\/mathsinfo\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blog.univ-angers.fr\/mathsinfo\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blog.univ-angers.fr\/mathsinfo\/wp-json\/wp\/v2\/users\/4913"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.univ-angers.fr\/mathsinfo\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":0,"href":"https:\/\/blog.univ-angers.fr\/mathsinfo\/wp-json\/wp\/v2\/pages\/142\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.univ-angers.fr\/mathsinfo\/wp-json\/wp\/v2\/media?parent=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}