Re: [eigen] following up on dynamic allocation |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Hi, the problem with your first function is that any parameter passed to a template has to be a constant or another template parameter, so in your case: 1. Your function has to be a template itself, and 2. either "n" and "p" have to be parameters of the template, or they have to be deduced from the matrix type (you can only do that with fixed type matrices).
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |