Re: [eigen] Can Index be negative?

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


On Tue, 17 Jul 2012, Alexey Korepanov wrote:

I am working on my implementation of the Real QZ decomposition. I have a
quick question: can I rely on that Index type can assume value -1?

Index has to be a signed integer type, so yes, you can rely on this.

See for instance the documentation of the Index template parameter in SparseMatrix on http://eigen.tuxfamily.org/dox/classEigen_1_1SparseMatrix.html#details


Jitse



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/