Re: [Rcpp-devel] Non-contiguous submatrix

2013-08-26 Thread Simon Zehnder
Thanks Dirk! That looks interesting! I will check which solution performs better in my application! Best Simon On Aug 26, 2013, at 1:24 PM, Dirk Eddelbuettel wrote: > > On 26 August 2013 at 12:19, Simon Zehnder wrote: > | Dear Rcpp::Users and Rcpp::Devels, > | > | I am right now working on

Re: [Rcpp-devel] Non-contiguous submatrix

2013-08-26 Thread Dirk Eddelbuettel
On 26 August 2013 at 12:19, Simon Zehnder wrote: | Dear Rcpp::Users and Rcpp::Devels, | | I am right now working on a relabeling algorithm where I have a function | taking a permutation matrix of all permutations of the labels. Inside the | function the values should be permuted in respect to a r

Re: [Rcpp-devel] Non-contiguous submatrix

2013-08-26 Thread Simon Zehnder
Hi Romain, thanks for the quick reply! This is an answer I can work with! Best Simon On Aug 26, 2013, at 12:33 PM, Romain Francois wrote: > Le 26 août 2013 à 12:19, Simon Zehnder a écrit : > >> Dear Rcpp::Users and Rcpp::Devels, >> >> I am right now working on a relabeling algorithm where

Re: [Rcpp-devel] Non-contiguous submatrix

2013-08-26 Thread Romain Francois
Le 26 août 2013 à 12:19, Simon Zehnder a écrit : > Dear Rcpp::Users and Rcpp::Devels, > > I am right now working on a relabeling algorithm where I have a function > taking a permutation matrix of all permutations of the labels. Inside the > function the values should be permuted in respect to