[eigen] How to resize a partially fixed matrix

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


Hi,

I wonder how I can resize a matrix where one of the dimension is fixed,
like

Matrix<double,4,Eigen::Dynamic> MS_BC;

.....

MS_BC.resize(5); //  this fails

but this works
MS_BC.resize(4,5);
but it's not logical?

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



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