Boost logo

Ublas :

Subject: Re: [ublas] Manipulating submatrices
From: Tim Odenthal (Tim.Odenthal_at_[hidden])
Date: 2011-08-04 16:07:47


On 08/04/2011 06:00 PM, ublas-request_at_[hidden] wrote:
> R =
>
> 1 0 0 0
> 0 1 0 0
> 0 0 0 0
> 0 0 1 1
>
[...]
> The output produced is:
>
> [4,4]((1,0,0,0),(0,1,0,0),(0,0,0,0),(0,0,1,1))
>
> I don't understand why the third row is now all zeroes. Can someone point me to
> a solution?
Hi!

I may be a bit slow, but isn't the produced output exactly what you want
it to be? I mean, to me, it looks perfectly correct, since the third row
in "R" is also all 0?

CU
Tim