12 #ifndef MLPACK_CORE_UTIL_ARMA_TRAITS_HPP 13 #define MLPACK_CORE_UTIL_ARMA_TRAITS_HPP 34 template<
typename VecType>
37 const static bool value =
false;
85 #if ((ARMA_VERSION_MAJOR >= 10) || \ 86 ((ARMA_VERSION_MAJOR == 9) && (ARMA_VERSION_MINOR >= 869))) 91 struct IsVector<arma::SpSubview_col<eT> >
93 const static bool value =
true;
97 struct IsVector<arma::SpSubview_row<eT> >
99 const static bool value =
true;
106 template<
typename eT>
If value == true, then VecType is some sort of Armadillo vector or subview.