Boost logo

Ublas :

Subject: [ublas] combinatoric problem with vectors
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2010-12-05 11:08:29


I have n ublas vectors with different sizes. Now I would create a
ublas matrix with n columns in that way, that each row has a
combination of the vector elements. I need all combination of the
vector elements (I know it is an exponential problem, but my vectors
are small).

Do you have an idea how do I create the combinatoric matrix?