<div dir="ltr">Ok I'll have a look at this (sometime). I saw your sparse matrix example, so I'll try to do something similar? I think blitz is very good for high-dimensional objects, particularly for doing tensor arithmethic. I can write expressions that are very close to the mathematical object. Of course  RcppArmadillo is much easier to use, so it's not an easy choice. I set this up with blitz for now, not sure I'll stick to it in future projects.<div>

<br></div><div>maybe anybody else on the list get in touch re blitz++?</div><div><br></div><div>cheers</div><div>florian<br><div><div><br></div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On 18 December 2013 16:14, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Hi Florian,<br>
<div class="im"><br>
On 18 December 2013 at 15:53, Florian Oswald wrote:<br>
| Thanks Dirk and Romain,<br>
|<br>
| Let me follow up on this if you don't mind, there's probably a lot of ways to<br>
| improve what I'm doing. Dirk, you mentioned blitz++. What I'm doing at the<br>
| moment is a bit contrived and I'm wondering whether there may be a better way<br>
| of going back and forth from R to blitz. my program looks like this:<br>
<br>
</div>Sure.<br>
<br>
If you want to add corresponding as<>() and wrap() methods, there are working<br>
examples (in several Rcpp* packages) as well as documentation in the vignette<br>
'Rcpp-extensions', the corresponding chapter in my Rcpp book, a few posts on<br>
the Rcpp Gallery as well as other places.<br>
<br>
As I don't know of anybody else still using Blitz++ you may have to buckle<br>
and do it.  Or just RcppArmadillo.  Are there particular Blitz++ features you<br>
deem missing?<br>
<span class="HOEnZb"><font color="#888888"><br>
Dirk<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
Dirk Eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a> | <a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a><br>
</div></div></blockquote></div><br></div>