TP-optimisation-numerique-2/docs/build/mise_en_place.html

7 lines
12 KiB
HTML
Raw Normal View History

2021-11-08 10:38:05 +00:00
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Installation de Julia et tests unitaires · Optinum.jl</title><link href="https://fonts.googleapis.com/css?family=Lato|Roboto+Mono" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL="."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="assets/documenter.js"></script><script src="siteinfo.js"></script><script src="../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-dark.css" data-theme-name="documenter-dark"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="assets/themeswap.js"></script></head><body><div id="documenter"><nav class="docs-sidebar"><a class="docs-logo" href="index.html"><img src="assets/logo.png" alt="Optinum.jl logo"/></a><div class="docs-package-name"><span class="docs-autofit">Optinum.jl</span></div><form class="docs-search" action="search.html"><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li><a class="tocitem" href="index.html">Accueil</a></li><li><a class="tocitem" href="Sujet.html">Sujet</a></li><li><span class="tocitem">Algorithmes</span><ul><li><a class="tocitem" href="Algorithme_de_newton.html">L&#39;algorithme de Newton local</a></li><li><a class="tocitem" href="Regions_de_confiance.html">La méthode des régions de confiance</a></li><li><a class="tocitem" href="Lagrangien_augmente.html">La méthode du Lagrangien augmenté</a></li></ul></li><li><a class="tocitem" href="fct_index.html">Index des fonctions</a></li><li><a class="tocitem" href="Annexes.html">Annexes</a></li><li class="is-active"><a class="tocitem" href="mise_en_place.html">Installation de Julia et tests unitaires</a><ul class="internal"><li><a class="tocitem" href="#Julia-1"><span>Julia</span></a></li><li><a class="tocitem" href="#Installation-de-Julia-1"><span>Installation de Julia</span></a></li><li><a class="tocitem" href="#Éditeur-à-utiliser-1"><span>Éditeur à utiliser</span></a></li><li><a class="tocitem" href="#Installation-de-l&#39;éditeur-Atom-1"><span>Installation de l&#39;éditeur Atom</span></a></li><li><a class="tocitem" href="#Installation-de-Juno-1"><span>Installation de Juno</span></a></li><li><a class="tocitem" href="#Lancement-des-tests-1"><span>Lancement des tests</span></a></li><li><a class="tocitem" href="#Lancement-d&#39;un-seul-test-1"><span>Lancement d&#39;un seul test</span></a></li></ul></li><li><a class="tocitem" href="FAQ.html">Foire aux Questions</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href="mise_en_place.html">Installation de Julia et tests unitaires</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href="mise_en_place.html">Installation de Julia et tests unitaires</a></li></ul></nav><div class="docs-right"><a class="docs-edit-link" href="https://github.com//blob/master/docs/src/mise_en_place.md" title="Edit on GitHub"><span class="doc
(Optinum) pkg&gt; test</code></pre><h2 id="Lancement-d&#39;un-seul-test-1"><a class="docs-heading-anchor" href="#Lancement-d&#39;un-seul-test-1">Lancement d&#39;un seul test</a><a class="docs-heading-anchor-permalink" href="#Lancement-d&#39;un-seul-test-1" title="Permalink"></a></h2><p>Après une inclusion du fichier contenant la fonction à tester (<code>Lagrangien_Augmente</code> dans l&#39;exemple), mettez la fonction en question en paramètre de la fonction de test correspondante dans <code>TestOptinum</code> (<code>tester_Lagrangien_Augmente</code> dans l&#39;exemple) puis <code>true/false</code> pour l&#39;affichage.</p><h4 id="Exemple-(avec-l&#39;algorithme-du-Lagrangien-augmenté-):-1"><a class="docs-heading-anchor" href="#Exemple-(avec-l&#39;algorithme-du-Lagrangien-augmenté-):-1">Exemple (avec l&#39;algorithme du Lagrangien augmenté ):</a><a class="docs-heading-anchor-permalink" href="#Exemple-(avec-l&#39;algorithme-du-Lagrangien-augmenté-):-1" title="Permalink"></a></h4><pre><code class="language-julia">pkg&gt; add https://github.com/mathn7/TestOptinum.git
julia&gt; using TestOptinum
julia&gt; include(&quot;src/Lagrangien_Augmente.jl&quot;) # inclusion de fichier contenant la fonction à tester
julia&gt; tester_Lagrangien_Augmente(true,Lagrangien_Augmente) # test</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="Annexes.html">« Annexes</a><a class="docs-footer-nextpage" href="FAQ.html">Foire aux Questions »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Monday 8 November 2021 11:31">Monday 8 November 2021</span>. Using Julia version 1.4.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>