On 03/30/2011 12:46 AM, Oscar Vargas wrote:
It's the first time I use uBLAS, and I want to know the right way to initialize a matrix.

Example:
        | 3      2|
M =  | 1     5|
        | 3      4|

How can I create such a matrix?

For example, in Matlab, you can type:
>> M = [3, 2; 1, 5; 3, 4]

I haven't found documentation for something as simple as that!!! I need help!
_______________________________________________ ublas mailing list ublas@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/ublas Sent to: u.tabak@tudelft.nl
google should be your friend :)

 see this page

http://www.boost.org/doc/libs/1_46_1/libs/numeric/ublas/doc/index.htm

tons of types...