Skip to content

Commit

Permalink
build based on 839af73
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Dec 2, 2023
1 parent f0e7c56 commit b749b61
Show file tree
Hide file tree
Showing 17 changed files with 939 additions and 939 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.9.4","generation_timestamp":"2023-11-30T22:46:28","documenter_version":"1.2.0"}}
{"documenter":{"julia_version":"1.9.4","generation_timestamp":"2023-12-02T14:41:16","documenter_version":"1.2.1"}}
8 changes: 4 additions & 4 deletions dev/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/interface/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
A(100.0)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">10.101397401671347</code></pre><div class="admonition is-info"><header class="admonition-header">Note</header><div class="admonition-body"><p>The values computed beyond the range of the time points provided during interpolation will not be reliable as these methods only perform well within the range and the first/last piece polynomial fit is extrapolated on either sides which might not reflect the true nature of the data.</p></div></div><h2 id="Derivatives"><a class="docs-heading-anchor" href="#Derivatives">Derivatives</a><a id="Derivatives-1"></a><a class="docs-heading-anchor-permalink" href="#Derivatives" title="Permalink"></a></h2><p>Derivatives of the interpolated curves can also be computed at any point for all the methods.</p><p>We will continue with the above example, but the API is same for all the methods.</p><pre><code class="language-julia hljs"># derivative(A, t)
DataInterpolations.derivative(A, 1.0)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">-0.051048168999699245</code></pre><h2 id="Integrals"><a class="docs-heading-anchor" href="#Integrals">Integrals</a><a id="Integrals-1"></a><a class="docs-heading-anchor-permalink" href="#Integrals" title="Permalink"></a></h2><p>Integrals of the interpolated curves can also be computed easily.</p><p>Currently, this is implemented only for a few methods - <code>ConstantInterpolation</code>, <code>LinearInterpolation</code>, <code>QuadraticInterpolation</code>, <code>QuadraticSpline</code> and <code>CubicSpline</code>.</p><p>To compute the integrals from the start of time points provided during interpolation to any point, we can do:</p><pre><code class="language-julia hljs"># integral(A, t)
DataInterpolations.integral(A, 5.0)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">129.64386171415265</code></pre><p>If we want to compute integrals between two points, we can do:</p><pre><code class="language-julia hljs"># integral(A, t1, t2)
DataInterpolations.integral(A, 1.0, 5.0)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">114.9694509973317</code></pre><div class="admonition is-info"><header class="admonition-header">Note</header><div class="admonition-body"><p>If the times provided in the integral goes beyond the range of the time points provided during interpolation, it uses extrapolation methods to compute the values and hence the integral can be misrepsentative and might not reflect the true nature of the data.</p></div></div></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../methods/">« Methods</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="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.0 on <span class="colophon-date" title="Thursday 30 November 2023 22:46">Thursday 30 November 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
DataInterpolations.integral(A, 1.0, 5.0)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">114.9694509973317</code></pre><div class="admonition is-info"><header class="admonition-header">Note</header><div class="admonition-body"><p>If the times provided in the integral goes beyond the range of the time points provided during interpolation, it uses extrapolation methods to compute the values and hence the integral can be misrepsentative and might not reflect the true nature of the data.</p></div></div></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../methods/">« Methods</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="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Saturday 2 December 2023 14:41">Saturday 2 December 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit b749b61

Please sign in to comment.