Skip to content

Commit

Permalink
deploy: 5b93623
Browse files Browse the repository at this point in the history
  • Loading branch information
jfalcou committed Sep 28, 2024
1 parent 1bc67c0 commit 2dc66f5
Show file tree
Hide file tree
Showing 27 changed files with 133 additions and 83 deletions.
2 changes: 1 addition & 1 deletion conditional.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ <h1><a class="anchor" id="autotoc_md101"></a>
<div class="line"> </div>
<div class="line"> std::cout &lt;&lt; sqrt_positive(v) &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div>
<div class="line">}</div>
<div class="ttc" id="agroup__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7_html_ga6745422ee3727af1a6e34182e8efbcb7"><div class="ttname"><a href="group__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7.html#ga6745422ee3727af1a6e34182e8efbcb7">eve::sqrt</a></div><div class="ttdeci">constexpr auto sqrt</div><div class="ttdoc">Computes the square root of the parameter.</div><div class="ttdef"><b>Definition:</b> sqrt.hpp:79</div></div>
<div class="ttc" id="agroup__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7_html_ga6745422ee3727af1a6e34182e8efbcb7"><div class="ttname"><a href="group__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7.html#ga6745422ee3727af1a6e34182e8efbcb7">eve::sqrt</a></div><div class="ttdeci">constexpr auto sqrt</div><div class="ttdoc">Computes the square root of the parameter.</div><div class="ttdef"><b>Definition:</b> sqrt.hpp:80</div></div>
</div><!-- fragment --><p>This code is perfectly valid and will produce the correct result. However, it has some issues:</p><ul>
<li>the code looks like the important part is the test</li>
<li>the code can't be optimized in case the current architecture support masked operations (i.e. AVX512 or sve)</li>
Expand Down
2 changes: 1 addition & 1 deletion group__algos_ga48d1396b69183e081e82a9bc91102376.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h2 class="groupheader">Example </h2>
<div class="line"> </div>
<div class="line"> <span class="keywordflow">return</span> 0;</div>
<div class="line">}</div>
<div class="ttc" id="agroup__core__arithmetic_ga06eee505775e24c81fa5f5b22382251f_html_ga06eee505775e24c81fa5f5b22382251f"><div class="ttname"><a href="group__core__arithmetic_ga06eee505775e24c81fa5f5b22382251f.html#ga06eee505775e24c81fa5f5b22382251f">eve::mul</a></div><div class="ttdeci">constexpr auto mul</div><div class="ttdoc">tuple_callable` computing the product of its arguments.</div><div class="ttdef"><b>Definition:</b> mul.hpp:96</div></div>
<div class="ttc" id="agroup__core__arithmetic_ga06eee505775e24c81fa5f5b22382251f_html_ga06eee505775e24c81fa5f5b22382251f"><div class="ttname"><a href="group__core__arithmetic_ga06eee505775e24c81fa5f5b22382251f.html#ga06eee505775e24c81fa5f5b22382251f">eve::mul</a></div><div class="ttdeci">constexpr auto mul</div><div class="ttdoc">tuple_callable` computing the product of its arguments.</div><div class="ttdef"><b>Definition:</b> mul.hpp:101</div></div>
</div><!-- fragment -->
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions group__algos_ga760be28cf43b4fe02d1124c3eff09d65.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ <h2 class="groupheader">Example </h2>
<div class="line">}</div>
<div class="ttc" id="agroup__algo__traits_gab9f572e15fac2f4f23ecdf3658ce192c_html_gab9f572e15fac2f4f23ecdf3658ce192c"><div class="ttname"><a href="group__algo__traits_gab9f572e15fac2f4f23ecdf3658ce192c.html#gab9f572e15fac2f4f23ecdf3658ce192c">eve::algo::fuse_operations</a></div><div class="ttdeci">constexpr auto fuse_operations</div><div class="ttdoc">Some algorithms (for example transform_reduce) can be implemented more efficient if you fuse multiple...</div><div class="ttdef"><b>Definition:</b> traits.hpp:305</div></div>
<div class="ttc" id="agroup__algos_ga48d1396b69183e081e82a9bc91102376_html_ga48d1396b69183e081e82a9bc91102376"><div class="ttname"><a href="group__algos_ga48d1396b69183e081e82a9bc91102376.html#ga48d1396b69183e081e82a9bc91102376">eve::algo::reduce</a></div><div class="ttdeci">constexpr auto reduce</div><div class="ttdoc">SIMD optimized version of std::reduce.</div><div class="ttdef"><b>Definition:</b> reduce.hpp:152</div></div>
<div class="ttc" id="agroup__core__arithmetic_ga06eee505775e24c81fa5f5b22382251f_html_ga06eee505775e24c81fa5f5b22382251f"><div class="ttname"><a href="group__core__arithmetic_ga06eee505775e24c81fa5f5b22382251f.html#ga06eee505775e24c81fa5f5b22382251f">eve::mul</a></div><div class="ttdeci">constexpr auto mul</div><div class="ttdoc">tuple_callable` computing the product of its arguments.</div><div class="ttdef"><b>Definition:</b> mul.hpp:96</div></div>
<div class="ttc" id="agroup__core__arithmetic_ga06eee505775e24c81fa5f5b22382251f_html_ga06eee505775e24c81fa5f5b22382251f"><div class="ttname"><a href="group__core__arithmetic_ga06eee505775e24c81fa5f5b22382251f.html#ga06eee505775e24c81fa5f5b22382251f">eve::mul</a></div><div class="ttdeci">constexpr auto mul</div><div class="ttdoc">tuple_callable` computing the product of its arguments.</div><div class="ttdef"><b>Definition:</b> mul.hpp:101</div></div>
<div class="ttc" id="agroup__core__constants_ga6a98ab15a9dca6c0d761b0505b222cc5_html_ga6a98ab15a9dca6c0d761b0505b222cc5"><div class="ttname"><a href="group__core__constants_ga6a98ab15a9dca6c0d761b0505b222cc5.html#ga6a98ab15a9dca6c0d761b0505b222cc5">eve::one</a></div><div class="ttdeci">constexpr auto one</div><div class="ttdoc">Computes the constant .</div><div class="ttdef"><b>Definition:</b> one.hpp:65</div></div>
<div class="ttc" id="agroup__core__fma__family_gaa9a5f13618342522ebb924a864555cc1_html_gaa9a5f13618342522ebb924a864555cc1"><div class="ttname"><a href="group__core__fma__family_gaa9a5f13618342522ebb924a864555cc1.html#gaa9a5f13618342522ebb924a864555cc1">eve::fma</a></div><div class="ttdeci">constexpr auto fma</div><div class="ttdoc">strict_elementwise_callable computing the fused multiply add of its three parameters.</div><div class="ttdef"><b>Definition:</b> fma.hpp:90</div></div>
<div class="ttc" id="agroup__core__fma__family_gaa9a5f13618342522ebb924a864555cc1_html_gaa9a5f13618342522ebb924a864555cc1"><div class="ttname"><a href="group__core__fma__family_gaa9a5f13618342522ebb924a864555cc1.html#gaa9a5f13618342522ebb924a864555cc1">eve::fma</a></div><div class="ttdeci">constexpr auto fma</div><div class="ttdoc">strict_elementwise_callable computing the fused multiply add of its three parameters.</div><div class="ttdef"><b>Definition:</b> fma.hpp:98</div></div>
</div><!-- fragment -->
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion group__contfrac_ga3c4aa5af49d6693847a3594710e46e3a.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ <h2 class="groupheader">Example </h2>
<div class="line"> <span class="keyword">auto</span> gr = <a class="code hl_variable" href="group__contfrac_ga3c4aa5af49d6693847a3594710e46e3a.html#ga3c4aa5af49d6693847a3594710e46e3a">eve::lentz_a</a>(func,<a class="code hl_variable" href="group__core__constants_ga09f150f349426116160f46376d5f9063.html#ga09f150f349426116160f46376d5f9063">eve::eps</a>(<a class="code hl_struct" href="structeve_1_1as.html">eve::as&lt;double&gt;</a>()), 100);</div>
<div class="line"> std::cout &lt;&lt; <span class="stringliteral">&quot; constant fracs are: &quot;</span> &lt;&lt; gr &lt;&lt; std::endl;</div>
<div class="line">}</div>
<div class="ttc" id="agroup__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7_html_ga6745422ee3727af1a6e34182e8efbcb7"><div class="ttname"><a href="group__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7.html#ga6745422ee3727af1a6e34182e8efbcb7">eve::sqrt</a></div><div class="ttdeci">constexpr auto sqrt</div><div class="ttdoc">Computes the square root of the parameter.</div><div class="ttdef"><b>Definition:</b> sqrt.hpp:79</div></div>
<div class="ttc" id="agroup__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7_html_ga6745422ee3727af1a6e34182e8efbcb7"><div class="ttname"><a href="group__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7.html#ga6745422ee3727af1a6e34182e8efbcb7">eve::sqrt</a></div><div class="ttdeci">constexpr auto sqrt</div><div class="ttdoc">Computes the square root of the parameter.</div><div class="ttdef"><b>Definition:</b> sqrt.hpp:80</div></div>
<div class="ttc" id="agroup__core__arithmetic_gacb015917b1a95c38dab29df14695c1bf_html_gacb015917b1a95c38dab29df14695c1bf"><div class="ttname"><a href="group__core__arithmetic_gacb015917b1a95c38dab29df14695c1bf.html#gacb015917b1a95c38dab29df14695c1bf">eve::sqr</a></div><div class="ttdeci">constexpr auto sqr</div><div class="ttdoc">Computes the square of the parameter.</div><div class="ttdef"><b>Definition:</b> sqr.hpp:92</div></div>
<div class="ttc" id="agroup__core__constants_ga09f150f349426116160f46376d5f9063_html_ga09f150f349426116160f46376d5f9063"><div class="ttname"><a href="group__core__constants_ga09f150f349426116160f46376d5f9063.html#ga09f150f349426116160f46376d5f9063">eve::eps</a></div><div class="ttdeci">constexpr auto eps</div><div class="ttdoc">Computes a constant to the machine epsilon.</div><div class="ttdef"><b>Definition:</b> eps.hpp:73</div></div>
<div class="ttc" id="astructeve_1_1as_html"><div class="ttname"><a href="structeve_1_1as.html">eve::as</a></div><div class="ttdoc">Lightweight type-wrapper.</div><div class="ttdef"><b>Definition:</b> as.hpp:29</div></div>
Expand Down
2 changes: 1 addition & 1 deletion group__contfrac_ga77a0a59a6017a38b91d1ef18405808f5.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ <h2 class="groupheader">Example </h2>
<div class="line"> std::cout &lt;&lt; <span class="stringliteral">&quot;frac tan(&quot;</span> &lt;&lt; z &lt;&lt; <span class="stringliteral">&quot;) is: &quot;</span> &lt;&lt; mytan(z) &lt;&lt; std::endl;</div>
<div class="line"> std::cout &lt;&lt; <span class="stringliteral">&quot;ref tan(&quot;</span> &lt;&lt; z &lt;&lt; <span class="stringliteral">&quot;) is: &quot;</span> &lt;&lt; <a class="code hl_variable" href="group__math__trig_gaf92ef4ab7d8bd5a527db4d94bcebbdf7.html#gaf92ef4ab7d8bd5a527db4d94bcebbdf7">eve::tan</a>(z) &lt;&lt; std::endl;</div>
<div class="line">}</div>
<div class="ttc" id="agroup__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7_html_ga6745422ee3727af1a6e34182e8efbcb7"><div class="ttname"><a href="group__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7.html#ga6745422ee3727af1a6e34182e8efbcb7">eve::sqrt</a></div><div class="ttdeci">constexpr auto sqrt</div><div class="ttdoc">Computes the square root of the parameter.</div><div class="ttdef"><b>Definition:</b> sqrt.hpp:79</div></div>
<div class="ttc" id="agroup__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7_html_ga6745422ee3727af1a6e34182e8efbcb7"><div class="ttname"><a href="group__core__arithmetic_ga6745422ee3727af1a6e34182e8efbcb7.html#ga6745422ee3727af1a6e34182e8efbcb7">eve::sqrt</a></div><div class="ttdeci">constexpr auto sqrt</div><div class="ttdoc">Computes the square root of the parameter.</div><div class="ttdef"><b>Definition:</b> sqrt.hpp:80</div></div>
<div class="ttc" id="agroup__core__arithmetic_gacb015917b1a95c38dab29df14695c1bf_html_gacb015917b1a95c38dab29df14695c1bf"><div class="ttname"><a href="group__core__arithmetic_gacb015917b1a95c38dab29df14695c1bf.html#gacb015917b1a95c38dab29df14695c1bf">eve::sqr</a></div><div class="ttdeci">constexpr auto sqr</div><div class="ttdoc">Computes the square of the parameter.</div><div class="ttdef"><b>Definition:</b> sqr.hpp:92</div></div>
<div class="ttc" id="agroup__core__constants_ga09f150f349426116160f46376d5f9063_html_ga09f150f349426116160f46376d5f9063"><div class="ttname"><a href="group__core__constants_ga09f150f349426116160f46376d5f9063.html#ga09f150f349426116160f46376d5f9063">eve::eps</a></div><div class="ttdeci">constexpr auto eps</div><div class="ttdoc">Computes a constant to the machine epsilon.</div><div class="ttdef"><b>Definition:</b> eps.hpp:73</div></div>
<div class="ttc" id="agroup__math__constants_ga349e81ff923ec42d3d92da0509c50b05_html_ga349e81ff923ec42d3d92da0509c50b05"><div class="ttname"><a href="group__math__constants_ga349e81ff923ec42d3d92da0509c50b05.html#ga349e81ff923ec42d3d92da0509c50b05">eve::pio_3</a></div><div class="ttdeci">constexpr auto pio_3</div><div class="ttdoc">Callable object computing the constant .</div><div class="ttdef"><b>Definition:</b> pio_3.hpp:77</div></div>
Expand Down
Loading

0 comments on commit 2dc66f5

Please sign in to comment.