Re: [eigen] Indexes: why signed instead of unsigned?

[ Thread Index | Date Index | More Archives ]

Benoit Jacob wrote:
> See e.g. answer here:
> Benoit

According to the example given in that answer, if we rely on a loop similar 

for(int col = cols() - 1; col>=0; --col)

Does the cols() method deed to te signed?  To put it in other words, 
independently of what value int col will assume throughout the loop, isn't the 
output of cols() always positive?

Rui Maciel

Mail converted by MHonArc 2.6.19+