Is there a way to speed up the running time of the following code?
Matrix<double, 10, Dynamic> A(10,n);
A << a1, a2, a3, a4, a5, a6, a7, a8, a9, a10;
Here, n is only known at runtime, and a1, a2, and so on are vectors of length n. I've tried to approximate the max size of the matrix and then to use double, 10, Dynamic, 0, 10, 10000 but this did not give any increase in speed.