// // php-armadillo/subview_mat.hh // // @Author CismonX // #ifndef PHP_ARMA_SUBVIEW_MAT_HH #define PHP_ARMA_SUBVIEW_MAT_HH #include "php_arma.hh" #include "instantiable.hh" #include "complex.hh" namespace php_arma { template struct mat; template struct subview_mat : instantiable, true> { using native_t = arma::subview; using orig_t = mat; using subview_t = subview_mat; using with_int_elem_t = subview_mat; using with_pod_elem_t = subview_mat::result>; friend void subview_mat_init(); PHP_ARMA_CE_HANDLRES_DECLARE(); private: PHP_ARMA_COMMON_DECLARE(); static void ce_init(zend_class_entry*); }; void subview_mat_init(); constexpr const char subview_mat_php_name[] = "SvMat"; inline zend_class_entry *subview_mat_ce; } #endif // !PHP_ARMA_SUBVIEW_MAT_HH