Dear all
I've read some matrix documentation (see below) and did not experience any difficulty in compiling codes:
http://www.boost.org/doc/libs/1_42_0/libs/numeric/ublas/doc/matrix.htm

However I am using SQL API to query data from c++, and wondering how I can build a boost price matrix.
Ps: table contains 3 columns: name (string type), date (datetime type), price (double type)

1/While retrieving the query data, my screen output is as follows:

aaaaa  2014-12-22  30.1
aaaaa  2014-12-21  27.7
bbbbb  2014-12-22  13.2
bbbbb  2014-12-21  10.3
ccccc  2014-12-22  80.4
ccccc  2014-12-21  79.9

2/My aim is to create a following price matrix (here 2 by 3) as:

30.1  13.2   80.4
27.7  10.3   79.9

Thanks in advance and Regards