Here is what I currently have. mat
is a vector of vectors, and temp is a vector. The sizes of these two vectors are determined during runtime. I tried to declare a dynamic Eigen vector/matrix, but I don't know how to pass my current vectors in.
MatrixXf A(size, size);
VectorXf b(size);
for(int j = 0; j < size; j++)
{
b << temp[j];
for(int k = 0; k < size; k++)
A << mat[j][k];
cout << temp[j];
}