[eigen] cast ArrayXd* to ArrayXXd*

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


Hi, did I really have to:

Eigen::ArrayXXd* smInt;
Eigen::ArrayXd*  tmp = fn_create();
smInt = new Eigen::ArrayXXd( *(tmp) );
delete(tmp.arrayXd);

to cast from Array<double,len> to Array<double,len,1> when using pointers?


Regards Holger




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