MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / as_vector

Function as_vector

inst/include/Rcpp/sugar/matrix/as_vector.h:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53template <int RTYPE, bool NA, typename T>
54inline Rcpp::Vector<RTYPE>
55as_vector( const MatrixBase<RTYPE,NA,T>& t ){
56 return internal::as_vector__impl( const_cast< MatrixBase<RTYPE,NA,T>& >(t), typename Rcpp::traits::same_type< T , Matrix<RTYPE> >() ) ;
57}
58
59} // Rcpp
60#endif

Callers 1

runit_asvectorFunction · 0.85

Calls 1

as_vector__implFunction · 0.85

Tested by

no test coverage detected