I have a pointer to some floating point data that I'd like to copy in to an Eigen::ArrayXf. Is there a simple way of doing this other than looping through the memory and assigning values to the Eigen::ArrayXf?
Something along the lines of:
float* someData = new float[64];
...
Eigen::ArrayXf newArary( 64 );
newArray.data() = someData;