<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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">http://www.boost.org/doc/libs/1_58_0/libs/numeric/ublas/doc/index.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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 "><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img border="0" width="150" height="33" id="Picture_x0020_1" src="cid:image001.png@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20logo.png"></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"> 404.495.7220 x 4008   <b>f.</b> 404.795.7221<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 "><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img border="0" width="20" height="20" id="Picture_x0020_2" src="cid:image002.jpg@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20Blog.jpeg"></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 "><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img border="0" width="20" height="20" id="Picture_x0020_3" src="cid:image003.jpg@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20LinkedIn.jpeg"></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 "><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img border="0" width="20" height="20" id="Picture_x0020_4" src="cid:image004.jpg@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20Google.jpeg"></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 "><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img border="0" width="20" height="20" id="Picture_x0020_5" src="cid:image005.jpg@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20twitter.jpeg"></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 "><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";text-decoration:none"><img border="0" width="20" height="20" id="Picture_x0020_6" src="cid:image006.jpg@01D09861.EEE61490" alt="http://host.msgapp.com/Extranet/96621/Signature%20Images/sig%20Youtube.jpeg"></span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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""> rcpp-devel-bounces@lists.r-forge.r-project.org [mailto:rcpp-devel-bounces@lists.r-forge.r-project.org]
<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> rcpp-devel@lists.r-forge.r-project.org<br>
<b>Subject:</b> Re: [Rcpp-devel] Convert R matrix to boost ublas?<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></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?<o:p></o:p></p>
</div>
<p class="MsoNormal">Regards,<o:p></o:p></p>
</div>
<p class="MsoNormal">Charles<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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:<o:p></o:p></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?<o:p></o:p></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 class="hoenzb">Dirk</span><br>
<br>
<span class="hoenzb">--</span><br>
<span class="hoenzb"><a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel |
<a href="mailto:edd@debian.org">edd@debian.org</a></span></span><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>