Boost logo

Ublas :

Subject: Re: [ublas] Matrix initialization in uBLAS
From: Umut Tabak (u.tabak_at_[hidden])
Date: 2011-03-29 19:17:23


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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: u.tabak_at_[hidden]
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...