Skip to content

Commit

Permalink
build based on b00ea5e
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Aug 19, 2024
1 parent 6728f53 commit a22c20e
Show file tree
Hide file tree
Showing 10 changed files with 141 additions and 141 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.10.4","generation_timestamp":"2024-08-19T22:10:39","documenter_version":"1.5.0"}}
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-08-19T22:27:48","documenter_version":"1.5.0"}}
62 changes: 31 additions & 31 deletions dev/chebs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dev/extending/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,4 @@
5
6</code></pre><p>The unexported <code>Polynomials.PnPolynomial</code> polynomial type implements much of the above.</p><hr/><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Polynomials.AbstractUnivariatePolynomial" href="#Polynomials.AbstractUnivariatePolynomial"><code>Polynomials.AbstractUnivariatePolynomial</code></a><span class="docstring-category">Type</span></header><section><div><pre><code class="language-julia hljs">AbstractUnivariatePolynomial{B,T,X} &lt;: AbstractPolynomial{T,X}
AbstractDenseUnivariatePolynomial{B,T,X} &lt;: AbstractUnivariatePolynomial{B,T,X}
AbstractLaurentUnivariatePolynomial{B,T,X} &lt;: AbstractUnivariatePolynomial{B,T,X}</code></pre><p>Abstract container types for polynomials with an explicit basis, <code>B</code>. <code>AbstractDenseUnivariatePolynomial</code> is for <code>0</code>-based polynomials; <code>AbstractLaurentUnivariatePolynomial</code> is for polynomials with possibly negative powers of the indeterminate.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/Polynomials.jl/blob/aa8e1be0f65788f310b83b3e1376116cf8f09a12/src/abstract-polynomial.jl#L1-L10">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Polynomials.AbstractBasis" href="#Polynomials.AbstractBasis"><code>Polynomials.AbstractBasis</code></a><span class="docstring-category">Type</span></header><section><div><pre><code class="language-julia hljs">AbstractBasis</code></pre><p>Abstract type for specifying a polynomial basis.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/Polynomials.jl/blob/aa8e1be0f65788f310b83b3e1376116cf8f09a12/src/abstract-polynomial.jl#L19-L23">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../polynomials/chebyshev/">« Chebyshev</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.5.0 on <span class="colophon-date" title="Monday 19 August 2024 22:10">Monday 19 August 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
AbstractLaurentUnivariatePolynomial{B,T,X} &lt;: AbstractUnivariatePolynomial{B,T,X}</code></pre><p>Abstract container types for polynomials with an explicit basis, <code>B</code>. <code>AbstractDenseUnivariatePolynomial</code> is for <code>0</code>-based polynomials; <code>AbstractLaurentUnivariatePolynomial</code> is for polynomials with possibly negative powers of the indeterminate.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/Polynomials.jl/blob/b00ea5e866d838a9fe407cf39f4014beda284adf/src/abstract-polynomial.jl#L1-L10">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Polynomials.AbstractBasis" href="#Polynomials.AbstractBasis"><code>Polynomials.AbstractBasis</code></a><span class="docstring-category">Type</span></header><section><div><pre><code class="language-julia hljs">AbstractBasis</code></pre><p>Abstract type for specifying a polynomial basis.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/Polynomials.jl/blob/b00ea5e866d838a9fe407cf39f4014beda284adf/src/abstract-polynomial.jl#L19-L23">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../polynomials/chebyshev/">« Chebyshev</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.5.0 on <span class="colophon-date" title="Monday 19 August 2024 22:27">Monday 19 August 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/extensions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
c = [z(2d - 1) for i in 1:m]</code></pre><p>then we can exploit its mutability with</p><pre><code class="language-julia hljs">MA.operate!(MA.add_mul, c, A, b)</code></pre><p>to reduce the allocation down to 48 bytes due to 3 allocations.</p><p>These remaining allocations are due to the <code>BigInt</code> buffer used to store the result of intermediate multiplications. This buffer can be preallocated with:</p><pre><code class="language-julia hljs">buffer = MA.buffer_for(MA.add_mul, typeof(c), typeof(A), typeof(b))
MA.buffered_operate!(buffer, MA.add_mul, c, A, b)</code></pre><p>then the second line is allocation-free.</p><p>The <code>MA.@rewrite</code> macro rewrite an expression into an equivalent code that exploit the mutability of the intermediate results. For instance</p><pre><code class="language-julia hljs">MA.@rewrite(A1 * b1 + A2 * b2)</code></pre><p>is rewritten into</p><pre><code class="language-julia hljs">c = MA.operate!(MA.add_mul, MA.Zero(), A1, b1)
MA.operate!(MA.add_mul, c, A2, b2)</code></pre><p>which is equivalent to</p><pre><code class="language-julia hljs">c = MA.operate(*, A1, b1)
MA.mutable_operate!(MA.add_mul, c, A2, b2)</code></pre><div class="admonition is-info"><header class="admonition-header">Note</header><div class="admonition-body"><p>Note that currently, only the <code>Polynomial</code> and <code>Polynomials.PnPolynomial</code> types implement the API and only</p></div></div><p>part of it is implemented</p><h2 id="PolyCompat"><a class="docs-heading-anchor" href="#PolyCompat">PolyCompat</a><a id="PolyCompat-1"></a><a class="docs-heading-anchor-permalink" href="#PolyCompat" title="Permalink"></a></h2><p>While not an extension, the older <code>Poly</code> type that this package used prior to <code>v0.7</code> is implemented as an alternate basis and provided on an opt-in bases by executing <code>using Polynomials.PolyCompat</code>. This is to provide support for older code bases.</p></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="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.5.0 on <span class="colophon-date" title="Monday 19 August 2024 22:10">Monday 19 August 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
MA.mutable_operate!(MA.add_mul, c, A2, b2)</code></pre><div class="admonition is-info"><header class="admonition-header">Note</header><div class="admonition-body"><p>Note that currently, only the <code>Polynomial</code> and <code>Polynomials.PnPolynomial</code> types implement the API and only</p></div></div><p>part of it is implemented</p><h2 id="PolyCompat"><a class="docs-heading-anchor" href="#PolyCompat">PolyCompat</a><a id="PolyCompat-1"></a><a class="docs-heading-anchor-permalink" href="#PolyCompat" title="Permalink"></a></h2><p>While not an extension, the older <code>Poly</code> type that this package used prior to <code>v0.7</code> is implemented as an alternate basis and provided on an opt-in bases by executing <code>using Polynomials.PolyCompat</code>. This is to provide support for older code bases.</p></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="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.5.0 on <span class="colophon-date" title="Monday 19 August 2024 22:27">Monday 19 August 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit a22c20e

Please sign in to comment.