Skip to content

Commit

Permalink
Deploying to gh-pages from @ c822760 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnakumarg1984 committed Jul 21, 2023
1 parent 6149a61 commit df8d2e8
Show file tree
Hide file tree
Showing 137 changed files with 1,239 additions and 1,145 deletions.
28 changes: 14 additions & 14 deletions benchmarks_2conjugate__gradient_8cc.html

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions benchmarks_2conjugate__gradient_8cc_source.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions benchmarks_2l1__proximal_8cc.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#ac706381e094e043a54341044
<p class="definition">Definition at line <a class="el" href="benchmarks_2l1__proximal_8cc_source.html#l00008">8</a> of file <a class="el" href="benchmarks_2l1__proximal_8cc_source.html">l1_proximal.cc</a>.</p>
<div class="fragment"><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160; {</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; <span class="keyword">using</span> Real = <span class="keyword">typename</span> <a class="code" href="classsopt_1_1details_1_1underlying__value__type.html">sopt::real_type&lt;TYPE&gt;::type</a>;</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> <a class="code" href="benchmarks_2wavelets_8cc.html#a61a80266d367e479ef40417f4f681bea">N</a> = state.range_x();</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> input = <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;TYPE&gt;::Random</a>(<a class="code" href="benchmarks_2wavelets_8cc.html#a61a80266d367e479ef40417f4f681bea">N</a>).eval();</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> <a class="code" href="benchmarks_2wavelets_8cc.html#abf5832df28c04314f2887376d47dca71">N</a> = state.range_x();</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> input = <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;TYPE&gt;::Random</a>(<a class="code" href="benchmarks_2wavelets_8cc.html#abf5832df28c04314f2887376d47dca71">N</a>).eval();</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> Psi = <a class="code" href="namespacesopt.html#adedb6b3e862bd2968bf3026599121630">sopt::Matrix&lt;TYPE&gt;::Random</a>(input.size(), input.size() * 10).eval();</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;Real&gt;</a> <span class="keyword">const</span> weights =</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;TYPE&gt;::Random</a>(Psi.cols()).normalized().array().abs();</div>
Expand All @@ -226,9 +226,9 @@ <h2 class="memtitle"><span class="permalink"><a href="#ac706381e094e043a54341044
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; .weights(weights);</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; Real <span class="keyword">const</span> gamma = 1e-2 / Psi.array().abs().sum();</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">auto</span> output = <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;TYPE&gt;::Zero</a>(<a class="code" href="benchmarks_2wavelets_8cc.html#a61a80266d367e479ef40417f4f681bea">N</a>).eval();</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">auto</span> output = <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;TYPE&gt;::Zero</a>(<a class="code" href="benchmarks_2wavelets_8cc.html#abf5832df28c04314f2887376d47dca71">N</a>).eval();</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keywordflow">while</span> (state.KeepRunning()) l1(output, gamma, input);</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; state.SetBytesProcessed(int64_t(state.iterations()) * int64_t(<a class="code" href="benchmarks_2wavelets_8cc.html#a61a80266d367e479ef40417f4f681bea">N</a>) * <span class="keyword">sizeof</span>(TYPE));</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; state.SetBytesProcessed(int64_t(state.iterations()) * int64_t(<a class="code" href="benchmarks_2wavelets_8cc.html#abf5832df28c04314f2887376d47dca71">N</a>) * <span class="keyword">sizeof</span>(TYPE));</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="benchmarks_2wavelets_8cc_source.html#l00057">N</a>, and <a class="el" href="l1__proximal_8h_source.html#l00294">sopt::proximal::L1&lt; SCALAR &gt;::nu()</a>.</p>
Expand All @@ -239,8 +239,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#ac706381e094e043a54341044
<div class="ttc" id="anamespacesopt_html_adedb6b3e862bd2968bf3026599121630"><div class="ttname"><a href="namespacesopt.html#adedb6b3e862bd2968bf3026599121630">sopt::Matrix</a></div><div class="ttdeci">Eigen::Matrix&lt; T, Eigen::Dynamic, Eigen::Dynamic &gt; Matrix</div><div class="ttdoc">A matrix of a given type.</div><div class="ttdef"><b>Definition:</b> <a href="types_8h_source.html#l00029">types.h:29</a></div></div>
<div class="ttc" id="aclasssopt_1_1details_1_1underlying__value__type_html"><div class="ttname"><a href="classsopt_1_1details_1_1underlying__value__type.html">sopt::details::underlying_value_type&lt; T &gt;</a></div></div>
<div class="ttc" id="anamespacesopt_html_ac4dd3feebe1bf49ebd44d72b05064c19"><div class="ttname"><a href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector</a></div><div class="ttdeci">Eigen::Matrix&lt; T, Eigen::Dynamic, 1 &gt; Vector</div><div class="ttdoc">A vector of a given type.</div><div class="ttdef"><b>Definition:</b> <a href="types_8h_source.html#l00024">types.h:24</a></div></div>
<div class="ttc" id="abenchmarks_2wavelets_8cc_html_abf5832df28c04314f2887376d47dca71"><div class="ttname"><a href="benchmarks_2wavelets_8cc.html#abf5832df28c04314f2887376d47dca71">N</a></div><div class="ttdeci">constexpr auto N</div><div class="ttdef"><b>Definition:</b> <a href="benchmarks_2wavelets_8cc_source.html#l00057">wavelets.cc:57</a></div></div>
<div class="ttc" id="aclasssopt_1_1proximal_1_1L1_html_ab4de2abbc22fc97ea149f155748aa53a"><div class="ttname"><a href="classsopt_1_1proximal_1_1L1.html#ab4de2abbc22fc97ea149f155748aa53a">sopt::proximal::L1::nu</a></div><div class="ttdeci">Real nu() const</div><div class="ttdoc">Bounds on the squared norm of the operator Ψ</div><div class="ttdef"><b>Definition:</b> <a href="l1__proximal_8h_source.html#l00294">l1_proximal.h:294</a></div></div>
<div class="ttc" id="abenchmarks_2wavelets_8cc_html_a61a80266d367e479ef40417f4f681bea"><div class="ttname"><a href="benchmarks_2wavelets_8cc.html#a61a80266d367e479ef40417f4f681bea">N</a></div><div class="ttdeci">const auto N</div><div class="ttdef"><b>Definition:</b> <a href="benchmarks_2wavelets_8cc_source.html#l00057">wavelets.cc:57</a></div></div>
<div class="ttc" id="aclasssopt_1_1proximal_1_1L1_html"><div class="ttname"><a href="classsopt_1_1proximal_1_1L1.html">sopt::proximal::L1</a></div><div class="ttdoc">L1 proximal, including linear transform.</div><div class="ttdef"><b>Definition:</b> <a href="l1__proximal_8h_source.html#l00169">l1_proximal.h:169</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Expand Down
10 changes: 5 additions & 5 deletions benchmarks_2l1__proximal_8cc_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> TYPE&gt;</div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="benchmarks_2l1__proximal_8cc.html#ac706381e094e043a54341044d681f705"> 8</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="benchmarks_2l1__proximal_8cc.html#ac706381e094e043a54341044d681f705">function_l1p</a>(benchmark::State &amp;state) {</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; <span class="keyword">using</span> Real = <span class="keyword">typename</span> <a class="code" href="classsopt_1_1details_1_1underlying__value__type.html">sopt::real_type&lt;TYPE&gt;::type</a>;</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> <a class="code" href="benchmarks_2wavelets_8cc.html#a61a80266d367e479ef40417f4f681bea">N</a> = state.range_x();</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> input = <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;TYPE&gt;::Random</a>(<a class="code" href="benchmarks_2wavelets_8cc.html#a61a80266d367e479ef40417f4f681bea">N</a>).eval();</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> <a class="code" href="benchmarks_2wavelets_8cc.html#abf5832df28c04314f2887376d47dca71">N</a> = state.range_x();</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> input = <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;TYPE&gt;::Random</a>(<a class="code" href="benchmarks_2wavelets_8cc.html#abf5832df28c04314f2887376d47dca71">N</a>).eval();</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> Psi = <a class="code" href="namespacesopt.html#adedb6b3e862bd2968bf3026599121630">sopt::Matrix&lt;TYPE&gt;::Random</a>(input.size(), input.size() * 10).eval();</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;Real&gt;</a> <span class="keyword">const</span> weights =</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;TYPE&gt;::Random</a>(Psi.cols()).normalized().array().abs();</div>
Expand All @@ -104,9 +104,9 @@
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; .weights(weights);</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; Real <span class="keyword">const</span> gamma = 1e-2 / Psi.array().abs().sum();</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">auto</span> output = <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;TYPE&gt;::Zero</a>(<a class="code" href="benchmarks_2wavelets_8cc.html#a61a80266d367e479ef40417f4f681bea">N</a>).eval();</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">auto</span> output = <a class="code" href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector&lt;TYPE&gt;::Zero</a>(<a class="code" href="benchmarks_2wavelets_8cc.html#abf5832df28c04314f2887376d47dca71">N</a>).eval();</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keywordflow">while</span> (state.KeepRunning()) l1(output, gamma, input);</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; state.SetBytesProcessed(int64_t(state.iterations()) * int64_t(<a class="code" href="benchmarks_2wavelets_8cc.html#a61a80266d367e479ef40417f4f681bea">N</a>) * <span class="keyword">sizeof</span>(TYPE));</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; state.SetBytesProcessed(int64_t(state.iterations()) * int64_t(<a class="code" href="benchmarks_2wavelets_8cc.html#abf5832df28c04314f2887376d47dca71">N</a>) * <span class="keyword">sizeof</span>(TYPE));</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;}</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<a class="code" href="benchmarks_2l1__proximal_8cc.html#a2f8c2f49e3a2b2789a512182489ba37c">BENCHMARK_TEMPLATE</a>(<a class="code" href="benchmarks_2l1__proximal_8cc.html#ac706381e094e043a54341044d681f705">function_l1p</a>, <a class="code" href="namespacesopt.html#ad24bc0cbf4f1391b3d1440213329d13f">sopt::t_complex</a>)-&gt;RangePair(1, 256, 4, 12)-&gt;UseRealTime();</div>
Expand All @@ -120,9 +120,9 @@
<div class="ttc" id="atypes_8h_html"><div class="ttname"><a href="types_8h.html">types.h</a></div></div>
<div class="ttc" id="anamespacesopt_html_ac4dd3feebe1bf49ebd44d72b05064c19"><div class="ttname"><a href="namespacesopt.html#ac4dd3feebe1bf49ebd44d72b05064c19">sopt::Vector</a></div><div class="ttdeci">Eigen::Matrix&lt; T, Eigen::Dynamic, 1 &gt; Vector</div><div class="ttdoc">A vector of a given type.</div><div class="ttdef"><b>Definition:</b> <a href="types_8h_source.html#l00024">types.h:24</a></div></div>
<div class="ttc" id="al1__proximal_8h_html"><div class="ttname"><a href="l1__proximal_8h.html">l1_proximal.h</a></div></div>
<div class="ttc" id="abenchmarks_2wavelets_8cc_html_abf5832df28c04314f2887376d47dca71"><div class="ttname"><a href="benchmarks_2wavelets_8cc.html#abf5832df28c04314f2887376d47dca71">N</a></div><div class="ttdeci">constexpr auto N</div><div class="ttdef"><b>Definition:</b> <a href="benchmarks_2wavelets_8cc_source.html#l00057">wavelets.cc:57</a></div></div>
<div class="ttc" id="abenchmarks_2l1__proximal_8cc_html_ac706381e094e043a54341044d681f705"><div class="ttname"><a href="benchmarks_2l1__proximal_8cc.html#ac706381e094e043a54341044d681f705">function_l1p</a></div><div class="ttdeci">void function_l1p(benchmark::State &amp;state)</div><div class="ttdef"><b>Definition:</b> <a href="benchmarks_2l1__proximal_8cc_source.html#l00008">l1_proximal.cc:8</a></div></div>
<div class="ttc" id="aclasssopt_1_1proximal_1_1L1_html_ab4de2abbc22fc97ea149f155748aa53a"><div class="ttname"><a href="classsopt_1_1proximal_1_1L1.html#ab4de2abbc22fc97ea149f155748aa53a">sopt::proximal::L1::nu</a></div><div class="ttdeci">Real nu() const</div><div class="ttdoc">Bounds on the squared norm of the operator Ψ</div><div class="ttdef"><b>Definition:</b> <a href="l1__proximal_8h_source.html#l00294">l1_proximal.h:294</a></div></div>
<div class="ttc" id="abenchmarks_2wavelets_8cc_html_a61a80266d367e479ef40417f4f681bea"><div class="ttname"><a href="benchmarks_2wavelets_8cc.html#a61a80266d367e479ef40417f4f681bea">N</a></div><div class="ttdeci">const auto N</div><div class="ttdef"><b>Definition:</b> <a href="benchmarks_2wavelets_8cc_source.html#l00057">wavelets.cc:57</a></div></div>
<div class="ttc" id="aclasssopt_1_1proximal_1_1L1_html"><div class="ttname"><a href="classsopt_1_1proximal_1_1L1.html">sopt::proximal::L1</a></div><div class="ttdoc">L1 proximal, including linear transform.</div><div class="ttdef"><b>Definition:</b> <a href="l1__proximal_8h_source.html#l00169">l1_proximal.h:169</a></div></div>
<div class="ttc" id="abenchmarks_2l1__proximal_8cc_html_a2f8c2f49e3a2b2789a512182489ba37c"><div class="ttname"><a href="benchmarks_2l1__proximal_8cc.html#a2f8c2f49e3a2b2789a512182489ba37c">BENCHMARK_TEMPLATE</a></div><div class="ttdeci">BENCHMARK_TEMPLATE(function_l1p, sopt::t_complex) -&gt; RangePair(1, 256, 4, 12) -&gt;UseRealTime()</div></div>
<div class="ttc" id="anamespacesopt_html_a71bfb8f70b432862d3d654b9dcff77cc"><div class="ttname"><a href="namespacesopt.html#a71bfb8f70b432862d3d654b9dcff77cc">sopt::t_real</a></div><div class="ttdeci">double t_real</div><div class="ttdoc">Root of the type hierarchy for real numbers.</div><div class="ttdef"><b>Definition:</b> <a href="types_8h_source.html#l00017">types.h:17</a></div></div>
Expand Down
Loading

0 comments on commit df8d2e8

Please sign in to comment.