Hi,

The closest thing that I can find to initialize a NumericMatrix with a
NumericVector is the following constructor from Rcpp/vector/Matrix.h.
But I need to see an example on how to use it. Does anybody have any
example to share with me? Thanks!

    template <typename Iterator>
    Matrix( const int& nrows_, const int& ncols, Iterator start ) :


-- 
Regards,
Peng
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to