Boost logo

Boost Users :

Subject: Re: [Boost-users] ranking of ublas vector
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-03-13 19:43:29


AMDG

Kraus Philipp wrote:
> Am 13.03.2010 um 23:12 schrieb Steven Watanabe:
>
>> Obviously I should have tried to compile before posting...
>>
>> Apparently Lambda doesn't work with uBLAS by default.
>
> now it works. The example:
> [5](0.664852, 0.548873, 0.0389818, 0.914604, 0.261907)
> [5](3,2,0,4,1)
>
> But my target vector should be 2, 4, 1, 0, 3, because the smallest entry
> is the third element.
> Sorry at this time, it's midnight and I can't think about it anymore

Oops. I guess I didn't understand exactly what you wanted. The
temp vector, should contain the result you want.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net