<div dir="ltr"><div><div>Thanks for the points Dale.  As I said, it would be more of a Rcpp exercise than anything.  It could potentially be useful for others but it was just curiosity and a small side project.<br><br></div>Regards,<br></div>Charles<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 8:45 AM, Dale Smith <span dir="ltr"><<a href="mailto:DSmith@nexidia.com" target="_blank">DSmith@nexidia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Before you undertake any work on ublas, I would read the FAQ carefully. There have been no significant commits since 2009.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://www.boost.org/doc/libs/1_58_0/libs/numeric/ublas/doc/index.html" target="_blank">http://www.boost.org/doc/libs/1_58_0/libs/numeric/ublas/doc/index.html</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">“</span><i>Performance?</i> There are faster alternatives.
<i>Cutting edge?</i> uBLAS is more than 10 years old and missed all new stuff from C++11.”<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#464847;background:white"><br>
<b>Dale Smith, Ph.D.</b><br>
</span><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f;background:white">Data Scientist<br>
</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#7f7f7f;background:white">​</span><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f;background:white"><br>
</span><a href="http://nexidia.com/" title=""Nexidia website" t " target="_blank"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img src="cid:image001.png@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20logo.png" border="0" height="33" width="150"></span></a><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#464847;background:white"><br>
</span><b><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f;background:white"><br>
d.</span></b><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f;background:white"> <a href="tel:404.495.7220%20x%204008" value="+14044957220" target="_blank">404.495.7220 x 4008</a>   <b>f.</b> <a href="tel:404.795.7221" value="+14047957221" target="_blank">404.795.7221</a><br>
</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#a5a5a5;background:white">Nexidia Corporate | 3565 Piedmont Road, Building Two, Suite 400 | Atlanta, GA 30305<br>
</span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#464847;background:white"><br>
</span><a href="http://blog.nexidia.com/" title=""Nexidia Blog" t " target="_blank"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img src="cid:image002.jpg@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20Blog.jpeg" border="0" height="20" width="20"></span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><a href="https://www.linkedin.com/company/nexidia" title=""LinkedIn" t " target="_blank"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img src="cid:image003.jpg@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20LinkedIn.jpeg" border="0" height="20" width="20"></span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><a href="https://plus.google.com/u/0/107921893643164441840/posts" title=""Google+" t " target="_blank"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img src="cid:image004.jpg@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20Google.jpeg" border="0" height="20" width="20"></span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><a href="https://twitter.com/Nexidia" title=""Twitter" t " target="_blank"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img src="cid:image005.jpg@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20twitter.jpeg" border="0" height="20" width="20"></span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><a href="https://www.youtube.com/user/NexidiaTV" title=""Youtube" t " target="_blank"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img src="cid:image006.jpg@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20Youtube.jpeg" border="0" height="20" width="20"></span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:rcpp-devel-bounces@lists.r-forge.r-project.org" target="_blank">rcpp-devel-bounces@lists.r-forge.r-project.org</a> [mailto:<a href="mailto:rcpp-devel-bounces@lists.r-forge.r-project.org" target="_blank">rcpp-devel-bounces@lists.r-forge.r-project.org</a>]
<b>On Behalf Of </b>Charles Determan<br>
<b>Sent:</b> Wednesday, May 27, 2015 8:10 AM<br>
<b>To:</b> Dirk Eddelbuettel<br>
<b>Cc:</b> <a href="mailto:rcpp-devel@lists.r-forge.r-project.org" target="_blank">rcpp-devel@lists.r-forge.r-project.org</a><br>
<b>Subject:</b> Re: [Rcpp-devel] Convert R matrix to boost ublas?<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">This was more of a curiosity question.  Armadillo and Eigen are great and I will likely use them for most of my purposes.  I have just been exploring more of the boost library and was wondering about it.  That
 said, it would be a potentially useful exercise for me when I have some more time to devote to it.  You mention starting with the as<>() and wrap() converters.  Is there any documentation on developing additional Rcpp functions or should I just go in to the
 source and try to find my way around?<u></u><u></u></p>
</div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<p class="MsoNormal">Charles<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, May 26, 2015 at 4:00 PM, Dirk Eddelbuettel <<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
On 26 May 2015 at 15:32, Charles Determan wrote:<br>
| I have seen in the archives a discussion of converting a boost ublas matrix to<br>
| Rcpp (<a href="http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2011-June/" target="_blank">http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2011-June/</a><br>
| 002402.html) but I didn't see anything about passing an R matrix in to a ublas<br>
| object.  There doesn't appear to be an 'as' method for it (unless I have<br>
| somehow overlooked it).  Any recommendations on efficiently getting an R matrix<br>
| in to a boost ublas matrix?<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">Correct, as far as Rcpp is concerned uBlas is 'a new external entity' so you<br>
would have to start with as<>() and wrap() converters.<br>
<br>
Almost everybody I talked to about ublas "is aware" of it, yet nobody seems<br>
to like it all that much.   Any reason Armadillo or Eigen won't do for you?<br>
<span style="color:#888888"><br>
<span>Dirk</span><br>
<br>
<span>--</span><br>
<span><a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel |
<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a></span></span><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>