Boost logo

Ublas :

Subject: Re: [ublas] Matrix with vector interface.
From: Joaquim Duran (jduran.gm_at_[hidden])
Date: 2012-09-24 09:16:23

2012/9/23 Gunter Winkler <guwi17_at_[hidden]>:
> Hello,
> Am Saturday 22 September 2012 schrieb Oswin Krause:
>> Hi,
>> Here is my slightly adapted version of the range. I didn't find the
>> boost coding guidelines so i just tried to fit it to other ublas
>> headers(with limited success). Since i am not breathing standardese,
>> I am not sure whether i am 100% correct in every aspect.
>> Out of standard reasons, the implementation using proxy objects like
>> matrix_row does not lead to a random_access_iterator even though it
>> meets all traversal requirements. So algorithms like
>> random_shuffle(and sort(?)) will work in practice but overeager
>> compilers as for example MSVC will complain in debug mode. A
>> solution to this is lying about the iterator category, but since i
>> am a honest person, i don't ;)
>> the implementation comes with a short test case, but i can also add a
>> bit more if required.
> see
> @Joaquim: does this solve your problem?
> mfg
> Gunter

Yes, that was exactly asking for. Thanks. I'll try it.

Joaquim Duran