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

Function matrix_character_diag

inst/tinytest/cpp/Matrix.cpp:65–67  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

63
64// [[Rcpp::export]]
65CharacterMatrix matrix_character_diag(){
66 return CharacterMatrix::diag( 5, "foo" ) ;
67}
68
69// [[Rcpp::export]]
70NumericMatrix matrix_numeric_ctor1(){

Callers

nothing calls this directly

Calls 1

diagFunction · 0.85

Tested by

no test coverage detected