From: jhr.walter_at_[hidden]
Date: 2003-06-10 01:17:01


Hi Julian,

you wrote:

> I just wanted to clarify if the following behavior is correct. As
> far as I understood, in matrix and vector range function, the 1st
> argument defines the starting point and the second defines the length
> of the range.

It looks like the documentation is imperfect here (I'll try to improve): a
range is specified like the usual STL iterator range from the [ first to the
last ) element.

> The following code I ran on gcc 2.96 shows that the
> behavior is different when starting at 0 and starting somewhere
> else. Is this a bug, or am I misunderstanding something?

Best,

Joerg