[eigen] signal invalid matrix or vector

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


In my software I have Eigen dense and sparse matrices and vectors that are temporarily invalid. How can I signal that these matrix and vectors are invalid without using extra variables?

Is it possible to set the size of a matrix oder vector to zero? How can the elements of a vector set to a NaN? My compiler (Microsoft Visual C++ 2013) does not yet support assignments with signalling NaNs.

Thank you, Christian

--
Dipl.-Ing. Christian Keck
Institut für Produktionsmesstechnik
Technische Universität Braunschweig
Schleinitzstraße 20
D-38106 Braunschweig
Telefon: (0531) 391-7026
Telefax: (0531) 391-5837

Mail: mailto://c.keck@xxxxxxxxxxxxxxxxxx
Internet: http://www.iprom.tu-braunschweig.de



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