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

Function num_diag_fill

inst/tinytest/cpp/Matrix.cpp:446–449  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

444
445// [[Rcpp::export]]
446Rcpp::NumericMatrix num_diag_fill(Rcpp::NumericMatrix x, double diag_val) {
447 x.fill_diag(diag_val);
448 return x;
449}
450
451// [[Rcpp::export]]
452Rcpp::CharacterMatrix char_diag_fill(Rcpp::CharacterMatrix x, std::string diag_val) {

Callers

nothing calls this directly

Calls 1

fill_diagMethod · 0.80

Tested by

no test coverage detected