I don't think it is that simple. Boost.Random depends on a lot of things. Pull 
in Boost.Random means pull in Boost.TypeTraits, Boost.MPL and a lot of other 
things. There is tool for extract part of Boost, BCP. I tried to incorporate 
Boost.Random into my own library once. But the truth is that pull in 
Boost.Random and all the results was not pretty. You also need to keep track 
update of Boost, which is an unnecessary burden IMHO.

Yan

On Feb 11, 2013, at 12:12 PM, Darren Cook <[email protected]> wrote:

>> While I'd like to incorporate a Mersenne-Twister random number
>> generator directly in Armadillo, it would either add a dependency on
>> Boost, or on C++11.  Boost might not be available on a user's system,
>> and the degree of support for C++11...
> 
> I believe Boost.Random is header-only, and the boost license was
> designed to be liberal. So embedding just the parts of Boost.Random that
> you need in Armadillo is a possibility.
> 
> Darren
> 
> -- 
> Darren Cook, Software Researcher/Developer
> 
> http://dcook.org/work/ (About me and my work)
> http://dcook.org/blogs.html (My blogs and articles)
> _______________________________________________
> Rcpp-devel mailing list
> [email protected]
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to