Skip to content

Commit

Permalink
build based on 0361269
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Oct 3, 2024
1 parent 1233977 commit 2d476bb
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 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.5","generation_timestamp":"2024-10-03T09:31:34","documenter_version":"1.7.0"}}
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-10-03T09:41:02","documenter_version":"1.7.0"}}
6 changes: 3 additions & 3 deletions dev/Parallel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# get_clusters()
@time par_map(f, 1:10)
@time map(f, 1:10)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/jl-pkgs/Ipaper.jl/blob/4052196d0b48345bf5f3f26ba74b71a7abe883a9/src/par_mapslices.jl#L7-L21">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="Ipaper.par_mapslices" href="#Ipaper.par_mapslices"><code>Ipaper.par_mapslices</code></a><span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">par_mapslices(f, A::AbstractArray{&lt;:Real,N}, args...; dims=N, kw...)</code></pre><p><strong>Arguments</strong></p><ul><li><code>dims</code>: the dimension apply f</li></ul><p>@seealso <code>mapslices</code></p><p><strong>Example</strong></p><pre><code class="language-julia hljs">using Ipaper
@time map(f, 1:10)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/jl-pkgs/Ipaper.jl/blob/0361269c87ef243ac9910c3675ef5a8de97087c1/src/par_mapslices.jl#L7-L21">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="Ipaper.par_mapslices" href="#Ipaper.par_mapslices"><code>Ipaper.par_mapslices</code></a><span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">par_mapslices(f, A::AbstractArray{&lt;:Real,N}, args...; dims=N, kw...)</code></pre><p><strong>Arguments</strong></p><ul><li><code>dims</code>: the dimension apply f</li></ul><p>@seealso <code>mapslices</code></p><p><strong>Example</strong></p><pre><code class="language-julia hljs">using Ipaper
using Distributions

A = rand(100, 100, 30, 4)
Expand All @@ -15,6 +15,6 @@
par_mapslices(mean, A)

# @time r = mapslices(slope_mk, A; dims=3);
# @time r_par = par_mapslices(slope_mk, A; dims=3); # 5X faster</code></pre><p><strong>TODO: par_mapslices is low efficiency</strong></p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/jl-pkgs/Ipaper.jl/blob/4052196d0b48345bf5f3f26ba74b71a7abe883a9/src/par_mapslices.jl#L38-L60">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="Ipaper.isCurrentWorker" href="#Ipaper.isCurrentWorker"><code>Ipaper.isCurrentWorker</code></a><span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">isCurrentWorker() -&gt; Bool
# @time r_par = par_mapslices(slope_mk, A; dims=3); # 5X faster</code></pre><p><strong>TODO: par_mapslices is low efficiency</strong></p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/jl-pkgs/Ipaper.jl/blob/0361269c87ef243ac9910c3675ef5a8de97087c1/src/par_mapslices.jl#L38-L60">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="Ipaper.isCurrentWorker" href="#Ipaper.isCurrentWorker"><code>Ipaper.isCurrentWorker</code></a><span class="docstring-category">Function</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">isCurrentWorker() -&gt; Bool
isCurrentWorker(i) -&gt; Any
</code></pre><p><strong>Example</strong></p><pre><code class="language-julia hljs">!isCurrentWorker(i) &amp;&amp; continue</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/jl-pkgs/Ipaper.jl/blob/4052196d0b48345bf5f3f26ba74b71a7abe883a9/src/par.jl#L23-L30">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../Slope/">« Slope</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 3 October 2024 09:31">Thursday 3 October 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
</code></pre><p><strong>Example</strong></p><pre><code class="language-julia hljs">!isCurrentWorker(i) &amp;&amp; continue</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/jl-pkgs/Ipaper.jl/blob/0361269c87ef243ac9910c3675ef5a8de97087c1/src/par.jl#L23-L30">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../Slope/">« Slope</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 3 October 2024 09:41">Thursday 3 October 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 2d476bb

Please sign in to comment.