On 21 August 2012 at 21:08, Dirk Eddelbuettel wrote:
| On 21 August 2012 at 15:38, Martin Oberhuber wrote:
| | Any ideas on how I could concatenate the two vectors using a different
| | methodology? The reason I would like to use NumericVectors here is because
I am
|
| One easy way: Compute n =
Hi Martin,
On 21 August 2012 at 15:38, Martin Oberhuber wrote:
| Dear Rcpp Users,
|
| I would like to concatenate two NumericVectors. For instance:
|
| ...
| NumericVector a( some_STL_vector ) ;
| NumericVector b( some_STL_vector ) ;
|
| ... // using Rcpp sugar on a and b
|
| a.insert( a.end
Dear Rcpp Users,
I would like to concatenate two NumericVectors. For instance:
...
NumericVector a( some_STL_vector ) ;
NumericVector b( some_STL_vector ) ;
... // using Rcpp sugar on a and b
a.insert( a.end(), b.begin(), b.end() );
... // using Rcpp sugar on a
This would work fine if a an