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

Function diag

inst/include/Rcpp/sugar/matrix/diag.h:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81template <typename T>
82inline typename sugar::diag_result_type_trait<T>::type
83diag( const T& t ){
84 return typename sugar::diag_result_type_trait<T>::type( t ) ;
85}
86
87
88} // Rcpp

Callers 4

matrix_integer_diagFunction · 0.85
matrix_character_diagFunction · 0.85
runit_diagFunction · 0.85
eyeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected