Eigen3 adapter partly implementation