Skip to content

Commit

Permalink
build based on e16d610
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Nov 5, 2023
1 parent 7e77997 commit 4135f03
Show file tree
Hide file tree
Showing 17 changed files with 954 additions and 954 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.3","generation_timestamp":"2023-10-22T16:40:15","documenter_version":"1.1.1"}}
{"documenter":{"julia_version":"1.9.3","generation_timestamp":"2023-11-05T20:14:01","documenter_version":"1.1.2"}}
30 changes: 15 additions & 15 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">72.86338611822583</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.1.1 on <span class="colophon-date" title="Sunday 22 October 2023 16:40">Sunday 22 October 2023</span>. Using Julia version 1.9.3.</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.1.2 on <span class="colophon-date" title="Sunday 5 November 2023 20:13">Sunday 5 November 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 4135f03

Please sign in to comment.