please dont do this as its going around Shogun's internal memory managment for SGVector, which causes leaks if users are not careful. Rather do 
m_eigenvalues_vector=SGVector<float64_t>(num_features);