In eigen, i need to place a MatrixXf unto an existing array. Now, this works:
MatrixXf Um=FFMatBas(xi,CalcMetod);
Map<VectorXf>Uv(Um.data(),ppp);
Map<VectorXf>(Q,ppp)=Uv;
but it seems a bit convoluted (Q is an existing array of length ppp). Can we do the last two lines in one step?