The Eigen library can map existing memory into Eigen matrices.
float array[3]; Map(array, 3).fill(10); int data[4] = 1, 2, 3, 4; Matrix2i mat
You need to use the Map function again. Please see the example here: http://forum.kde.org/viewtopic.php?f=74&t=95457