145 typedef typename remove_const_reference<EigenType>::type EigenType_;
146 typedef typename boost::mpl::if_<
147 boost::is_base_of<Eigen::MatrixBase<EigenType_>, EigenType_>,
148 Eigen::MatrixBase<EigenType_>,
149 typename boost::mpl::if_<
150 boost::is_base_of<Eigen::SparseMatrixBase<EigenType_>, EigenType_>,
151 Eigen::SparseMatrixBase<EigenType_>
152#ifdef EIGENPY_WITH_TENSOR_SUPPORT 154 typename boost::mpl::if_<
155 boost::is_base_of<Eigen::TensorBase<EigenType_>, EigenType_>,
156 Eigen::TensorBase<EigenType_>,
void>::type
161 >::type>::type _type;
163 typedef typename boost::mpl::if_<
164 boost::is_const<typename boost::remove_reference<EigenType>::type>,
165 const _type, _type>::type type;