Skip to content

Commit

Permalink
build based on ac0d522
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Nov 24, 2023
1 parent cdc89e3 commit 90e6453
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion dev/NEWS/index.html

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions dev/api/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/chainrules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
y = sin.(x)
itp = interpolate(y,BSpline(Linear()))
Zygote.gradient(itp, 2)
#([-0.7681774187658145],)</code></pre></article><nav class="docs-footer"><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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 24 November 2023 05:06">Friday 24 November 2023</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
#([-0.7681774187658145],)</code></pre></article><nav class="docs-footer"><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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 24 November 2023 09:48">Friday 24 November 2023</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/control/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@

t = -3.0:0.01:3.0 # just a range for calculating values of the interpolating function

interpolated_cdf = map(itp_cdf, t) # interpolating the CDF</code></pre><p>There are a few different monotonic interpolation algorithms. Some guarantee that for non-monotonic data the interpolating function does not exceed the range of values between two successive points while other do not (this is called overshooting in the list below).</p><ul><li><a href="../api/#Interpolations.LinearMonotonicInterpolation"><code>LinearMonotonicInterpolation</code></a> – simple linear interpolation. Does not overshoot.</li><li><a href="../api/#Interpolations.FiniteDifferenceMonotonicInterpolation"><code>FiniteDifferenceMonotonicInterpolation</code></a> – it may overshoot.</li><li><a href="../api/#Interpolations.CardinalMonotonicInterpolation"><code>CardinalMonotonicInterpolation</code></a> – it may overshoot.</li><li><a href="../api/#Interpolations.FritschCarlsonMonotonicInterpolation"><code>FritschCarlsonMonotonicInterpolation</code></a> – it may overshoot.</li><li><a href="../api/#Interpolations.FritschButlandMonotonicInterpolation"><code>FritschButlandMonotonicInterpolation</code></a> – it does not overshoot.</li><li><a href="../api/#Interpolations.SteffenMonotonicInterpolation"><code>SteffenMonotonicInterpolation</code></a> – it does not overshoot.</li></ul><p>You can read about monotonic interpolation in the following sources:</p><ul><li>Fritsch &amp; Carlson (1980), &quot;Monotone Piecewise Cubic Interpolation&quot;, doi:10.1137/0717021.</li><li>Fritsch &amp; Butland (1984), &quot;A Method for Constructing Local Monotone Piecewise Cubic Interpolants&quot;, doi:10.1137/0905021.</li><li>Steffen (1990), &quot;A Simple Method for Monotonic Interpolation in One Dimension&quot;, <a href="http://adsabs.harvard.edu/abs/1990A%26A...239..443S">URL</a></li></ul></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../interpolations/">« General usage</a><a class="docs-footer-nextpage" href="../extrapolation/">Extrapolation »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 24 November 2023 05:06">Friday 24 November 2023</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
interpolated_cdf = map(itp_cdf, t) # interpolating the CDF</code></pre><p>There are a few different monotonic interpolation algorithms. Some guarantee that for non-monotonic data the interpolating function does not exceed the range of values between two successive points while other do not (this is called overshooting in the list below).</p><ul><li><a href="../api/#Interpolations.LinearMonotonicInterpolation"><code>LinearMonotonicInterpolation</code></a> – simple linear interpolation. Does not overshoot.</li><li><a href="../api/#Interpolations.FiniteDifferenceMonotonicInterpolation"><code>FiniteDifferenceMonotonicInterpolation</code></a> – it may overshoot.</li><li><a href="../api/#Interpolations.CardinalMonotonicInterpolation"><code>CardinalMonotonicInterpolation</code></a> – it may overshoot.</li><li><a href="../api/#Interpolations.FritschCarlsonMonotonicInterpolation"><code>FritschCarlsonMonotonicInterpolation</code></a> – it may overshoot.</li><li><a href="../api/#Interpolations.FritschButlandMonotonicInterpolation"><code>FritschButlandMonotonicInterpolation</code></a> – it does not overshoot.</li><li><a href="../api/#Interpolations.SteffenMonotonicInterpolation"><code>SteffenMonotonicInterpolation</code></a> – it does not overshoot.</li></ul><p>You can read about monotonic interpolation in the following sources:</p><ul><li>Fritsch &amp; Carlson (1980), &quot;Monotone Piecewise Cubic Interpolation&quot;, doi:10.1137/0717021.</li><li>Fritsch &amp; Butland (1984), &quot;A Method for Constructing Local Monotone Piecewise Cubic Interpolants&quot;, doi:10.1137/0905021.</li><li>Steffen (1990), &quot;A Simple Method for Monotonic Interpolation in One Dimension&quot;, <a href="http://adsabs.harvard.edu/abs/1990A%26A...239..443S">URL</a></li></ul></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../interpolations/">« General usage</a><a class="docs-footer-nextpage" href="../extrapolation/">Extrapolation »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 24 November 2023 09:48">Friday 24 November 2023</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/convenience-construction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@
plot!(f_linear, x_new, w=3,label=&quot;Linear interpolation&quot;)
plot!(f_cubic, x_new, linestyle=:dash, w=3, label=&quot;Cubic Spline interpolation&quot;)
plot!(size = (width, height))
plot!(legend = :bottomleft)</code></pre><p>And the generated plot is: <img src="../assets/plotsjl_interpolation_example.png" alt="interpolation plot example"/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</a><a class="docs-footer-nextpage" href="../interpolations/">General usage »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 24 November 2023 05:06">Friday 24 November 2023</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
plot!(legend = :bottomleft)</code></pre><p>And the generated plot is: <img src="../assets/plotsjl_interpolation_example.png" alt="interpolation plot example"/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</a><a class="docs-footer-nextpage" href="../interpolations/">General usage »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 24 November 2023 09:48">Friday 24 November 2023</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/devdocs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@

julia &gt; cuitp.(1:0.5:2) # call interpolant object via broadcast

julia&gt; gradient.(Ref(cuitp), 1:0.5:2)</code></pre><p>To achieve this, an <code>ITP &lt;: AbstractInterpolation</code> should define it&#39;s own <code>Adapt.adapt_structure(to, itp::ITP)</code>, which constructs a new <code>ITP</code> with the adapted fields (<code>adapt(to, itp.fieldname)</code>) of <code>itp</code>. The field adaption could be skipped if we know that it has been GPU-compatable, e.g. a <code>isbit</code> range.</p><div class="admonition is-info"><header class="admonition-header">Note</header><div class="admonition-body"><p>Some adaptors may change the storage type. Please ensure that the adapted <code>itp</code> has the correct element type via the method <code>eltype</code>.</p></div></div><p>Also, all GPU-compatable <code>AbstractInterpolation</code>s should define their own <code>Interpolations.root_storage_type</code>. This function allows us to modify the broadcast mechanism by overloading the default <code>BroadcastStyle</code>. See <a href="https://docs.julialang.org/en/v1/manual/interfaces/#man-interfaces-broadcasting">Customizing broadcasting</a> for more details.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../iterate/">« Knot Iteration</a><a class="docs-footer-nextpage" href="../api/">Library »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 24 November 2023 05:06">Friday 24 November 2023</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
julia&gt; gradient.(Ref(cuitp), 1:0.5:2)</code></pre><p>To achieve this, an <code>ITP &lt;: AbstractInterpolation</code> should define it&#39;s own <code>Adapt.adapt_structure(to, itp::ITP)</code>, which constructs a new <code>ITP</code> with the adapted fields (<code>adapt(to, itp.fieldname)</code>) of <code>itp</code>. The field adaption could be skipped if we know that it has been GPU-compatable, e.g. a <code>isbit</code> range.</p><div class="admonition is-info"><header class="admonition-header">Note</header><div class="admonition-body"><p>Some adaptors may change the storage type. Please ensure that the adapted <code>itp</code> has the correct element type via the method <code>eltype</code>.</p></div></div><p>Also, all GPU-compatable <code>AbstractInterpolation</code>s should define their own <code>Interpolations.root_storage_type</code>. This function allows us to modify the broadcast mechanism by overloading the default <code>BroadcastStyle</code>. See <a href="https://docs.julialang.org/en/v1/manual/interfaces/#man-interfaces-broadcasting">Customizing broadcasting</a> for more details.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../iterate/">« Knot Iteration</a><a class="docs-footer-nextpage" href="../api/">Library »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 24 November 2023 09:48">Friday 24 November 2023</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/extrapolation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
etp0 = extrapolate(itp0, Periodic())
etp1 = extrapolate(itp1, Periodic())
etp2 = extrapolate(itp2, Periodic())
etp3 = extrapolate(itp3, Periodic())</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../control/">« Interpolation algorithms</a><a class="docs-footer-nextpage" href="../iterate/">Knot Iteration »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 24 November 2023 05:06">Friday 24 November 2023</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
etp3 = extrapolate(itp3, Periodic())</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../control/">« Interpolation algorithms</a><a class="docs-footer-nextpage" href="../iterate/">Knot Iteration »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 24 November 2023 09:48">Friday 24 November 2023</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 90e6453

Please sign in to comment.