R/RcppExports.R

Defines functions calc_distance_C DANN_distance_C

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#' @keywords internal
#' Function to calculate dann distance between one training data points and one test point.
DANN_distance_C <- function(x0, x1, sigma) {
    .Call(`_dann_DANN_distance_C`, x0, x1, sigma)
}

#' @keywords internal
#' Function to calculate distance between all training data points and one test point.
calc_distance_C <- function(trainX, testX) {
    .Call(`_dann_calc_distance_C`, trainX, testX)
}

Try the dann package in your browser

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

dann documentation built on Sept. 23, 2023, 5:06 p.m.