Skip to content

Commit 78056f3

Browse files
author
Documenter.jl
committed
build based on ed4040b
1 parent 782c469 commit 78056f3

File tree

115 files changed

+20500
-20503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+20500
-20503
lines changed

dev/.documenter-siteinfo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-22T08:11:50","documenter_version":"1.7.0"}}
1+
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-26T06:13:21","documenter_version":"1.7.0"}}

dev/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dev/installation/installation/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
> juliaup default 1.10
55
Configured the default Julia version to be &#39;1.10&#39;.</code></pre><h3 id="Git"><a class="docs-heading-anchor" href="#Git">Git</a><a id="Git-1"></a><a class="docs-heading-anchor-permalink" href="#Git" title="Permalink"></a></h3><p><a href="https://git-scm.com/">Git</a> is a distributed version control system for tracking changes in any set of text files. It is designed for coordinating work among cooperating programmers during software development. Git installer can be download from the official <a href="https://git-scm.com/downloads">download page</a>. Download the proper installer, run it and follow the instructions. Before using Git, we need to make the necessary settings. It can be done easily using command line interface the two following commands</p><pre><code class="language-shell hljs">&gt; git config --global user.name &quot;&lt;your_username&gt;&quot;
66

7-
&gt; git config --global user.email &quot;&lt;your_email_adress&gt;&quot;</code></pre><p>The commands above set the user name and email for Git. Because Git is designed for collaboration between multiple people, this information is used to track who made which changes.</p><div class="admonition is-info"><header class="admonition-header">GitHub Account:</header><div class="admonition-body"><p>The Julia package system is based on Git, and the Julia project is hosted on <a href="https://github.com/">GitHub</a>. GitHub is a service that provides internet hosting for software development and version control using Git. We use GitHub to host all the materials and final projects in this course. Therefore, every student needs to create a GitHub account to be able to finish the course. It can be done in a few steps on the official <a href="https://github.com/">GitHub page</a>.</p></div></div><h3 id="Visual-Studio-Code"><a class="docs-heading-anchor" href="#Visual-Studio-Code">Visual Studio Code</a><a id="Visual-Studio-Code-1"></a><a class="docs-heading-anchor-permalink" href="#Visual-Studio-Code" title="Permalink"></a></h3><p>It is possible to write Julia codes in any text editor, and run them directly from the terminal. However, it is usually better to use an IDE that provides additional features such as syntax highlighting, or code suggestions. We recommend using <a href="https://code.visualstudio.com/">Visual Studio Code</a>, a free source-code editor made by Microsoft. It supports many programming languages (Julia, Python, LaTex, ...) via extensions. The editor is available at the official <a href="https://code.visualstudio.com/download">download page</a>. Download the proper installer, run it and follow the instructions.</p><p>To use the VS Code as an IDE for Julia, we have to install the <a href="https://marketplace.visualstudio.com/items?itemName=julialang.language-julia">Julia extension</a>. It can be done directly from the VS Code. Open the <code>Extension MarketPlace</code> by pressing the button in the <code>Activity bar</code> (the left bar). Type <code>julia</code> in the search bar and select the Julia extension. Then press the <code>Install</code> button to install the extension. For more information see the <a href="https://www.julia-vscode.org/docs/stable/#">official documentation</a></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../why/">« Why Julia?</a><a class="docs-footer-nextpage" href="../tutorial/">Quickstart guide »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Sunday 22 September 2024 08:11">Sunday 22 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
7+
&gt; git config --global user.email &quot;&lt;your_email_adress&gt;&quot;</code></pre><p>The commands above set the user name and email for Git. Because Git is designed for collaboration between multiple people, this information is used to track who made which changes.</p><div class="admonition is-info"><header class="admonition-header">GitHub Account:</header><div class="admonition-body"><p>The Julia package system is based on Git, and the Julia project is hosted on <a href="https://github.com/">GitHub</a>. GitHub is a service that provides internet hosting for software development and version control using Git. We use GitHub to host all the materials and final projects in this course. Therefore, every student needs to create a GitHub account to be able to finish the course. It can be done in a few steps on the official <a href="https://github.com/">GitHub page</a>.</p></div></div><h3 id="Visual-Studio-Code"><a class="docs-heading-anchor" href="#Visual-Studio-Code">Visual Studio Code</a><a id="Visual-Studio-Code-1"></a><a class="docs-heading-anchor-permalink" href="#Visual-Studio-Code" title="Permalink"></a></h3><p>It is possible to write Julia codes in any text editor, and run them directly from the terminal. However, it is usually better to use an IDE that provides additional features such as syntax highlighting, or code suggestions. We recommend using <a href="https://code.visualstudio.com/">Visual Studio Code</a>, a free source-code editor made by Microsoft. It supports many programming languages (Julia, Python, LaTex, ...) via extensions. The editor is available at the official <a href="https://code.visualstudio.com/download">download page</a>. Download the proper installer, run it and follow the instructions.</p><p>To use the VS Code as an IDE for Julia, we have to install the <a href="https://marketplace.visualstudio.com/items?itemName=julialang.language-julia">Julia extension</a>. It can be done directly from the VS Code. Open the <code>Extension MarketPlace</code> by pressing the button in the <code>Activity bar</code> (the left bar). Type <code>julia</code> in the search bar and select the Julia extension. Then press the <code>Install</code> button to install the extension. For more information see the <a href="https://www.julia-vscode.org/docs/stable/#">official documentation</a></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../why/">« Why Julia?</a><a class="docs-footer-nextpage" href="../tutorial/">Quickstart guide »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Thursday 26 September 2024 06:13">Thursday 26 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>

dev/installation/tutorial/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dev/lecture_01/arrays/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,4 +518,4 @@
518518

519519
julia&gt; sum(exp.(sqrt.(abs.(@view(A[1, :]) .- @view(A[2, :]))))./2)
520520
8.478350511051136</code></pre><p>However, the resulting expression is long and difficult to read. To simplify this task, Julia provides the <code>@views</code> macro that converts every array-slicing operation in the given expression to return a view.</p><pre><code class="language-julia-repl hljs">julia&gt; @views sum(exp.(sqrt.(abs.(A[1, :] .- A[2, :])))./2)
521-
8.478350511051136</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../strings/">« Strings</a><a class="docs-footer-nextpage" href="../data_structures/">Data structures »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Sunday 22 September 2024 08:11">Sunday 22 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
521+
8.478350511051136</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../strings/">« Strings</a><a class="docs-footer-nextpage" href="../data_structures/">Data structures »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Thursday 26 September 2024 06:13">Thursday 26 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>

dev/lecture_01/data_structures/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@
9090
false
9191

9292
julia&gt; pop!(d, :c, 444)
93-
444</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../arrays/">« Arrays</a><a class="docs-footer-nextpage" href="../../lecture_02/functions/">Funcion basics »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Sunday 22 September 2024 08:11">Sunday 22 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
93+
444</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../arrays/">« Arrays</a><a class="docs-footer-nextpage" href="../../lecture_02/functions/">Funcion basics »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Thursday 26 September 2024 06:13">Thursday 26 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>

dev/lecture_01/operators/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,4 @@
170170
[...]</code></pre><p>Conversion to other types works in a similar way.</p><div class="admonition is-warning"><header class="admonition-header">Exercise:</header><div class="admonition-body"><p>Use the proper numeric conversion to get the correct result (not approximate) of summing the following two numbers</p><pre><code class="language-julia hljs">x = 1//3
171171
y = 0.5</code></pre><p><strong>Hint:</strong> rational numbers can be summed without approximation.</p></div></div><details class="admonition is-details"><summary class="admonition-header">Solution:</summary><div class="admonition-body"><p>Firstly, we can try just to sum the given numbers</p><pre><code class="language-julia-repl hljs">julia&gt; x + y
172172
0.8333333333333333</code></pre><p>The result of this operation is a floating-point number. However, in this specific case, we have a rational number and a floating-point number that can also be represented as a rational number. The exact result can be obtained by converting the variable <code>y</code> to a rational number</p><pre><code class="language-julia-repl hljs">julia&gt; x + Rational(y)
173-
5//6</code></pre></div></details></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../variables/">« Variables</a><a class="docs-footer-nextpage" href="../strings/">Strings »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Sunday 22 September 2024 08:11">Sunday 22 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
173+
5//6</code></pre></div></details></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../variables/">« Variables</a><a class="docs-footer-nextpage" href="../strings/">Strings »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Thursday 26 September 2024 06:13">Thursday 26 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>

0 commit comments

Comments
 (0)