R/cpp11.R

Defines functions dist_l1 dist_l2 forest_mat

# Generated by cpp11: do not edit by hand

forest_mat <- function(x, depths, vars, thresh) {
  .Call(`_bases_forest_mat`, x, depths, vars, thresh)
}

dist_l2 <- function(x, y) {
  .Call(`_bases_dist_l2`, x, y)
}

dist_l1 <- function(x, y) {
  .Call(`_bases_dist_l1`, x, y)
}

Try the bases package in your browser

Any scripts or data that you put into this service are public.

bases documentation built on June 8, 2025, 11:34 a.m.