I do this:

ublas::matrix<T, ublas::column_major> l_matrix(p_matrix);

with p_matrix is ublas::row_major and working with the l_matrix object. In my code I need most times the ublas::row_major structure but some calls must be a ublas::column_major

Phil
  
Hi Phil,

Ok. I tried the same with sparse matrices which take incredibly too much time which is not feasible. Now I tried to assign values to a column_major compressed_matrix, this performance seems better but still row_major assignments go much much much faster. I should look into this problem, now, we were doing different things.

Umut