no build matrix stencil with eigen_dense backend
use rank_type