R/RcppExports.R

Defines functions spatial_weights fspatial_weights bilateral_weights cross_fspatial_weights order_vec norm_heat_kernel expand_similarity_below_cpp expand_similarity_cpp

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

expand_similarity_cpp <- function(indices, simmat, thresh) {
    .Call('_neighborweights_expand_similarity_cpp', PACKAGE = 'neighborweights', indices, simmat, thresh)
}

expand_similarity_below_cpp <- function(indices, simmat, thresh) {
    .Call('_neighborweights_expand_similarity_below_cpp', PACKAGE = 'neighborweights', indices, simmat, thresh)
}

norm_heat_kernel <- function(x1, x2, sigma) {
    .Call('_neighborweights_norm_heat_kernel', PACKAGE = 'neighborweights', x1, x2, sigma)
}

order_vec <- function(x) {
    .Call('_neighborweights_order_vec', PACKAGE = 'neighborweights', x)
}

cross_fspatial_weights <- function(indices, distances, feature_mat1, feature_mat2, nels, sigma, fsigma, alpha, maxk, binary) {
    .Call('_neighborweights_cross_fspatial_weights', PACKAGE = 'neighborweights', indices, distances, feature_mat1, feature_mat2, nels, sigma, fsigma, alpha, maxk, binary)
}

bilateral_weights <- function(indices, distances, feature_mat, nels, sigma, fsigma) {
    .Call('_neighborweights_bilateral_weights', PACKAGE = 'neighborweights', indices, distances, feature_mat, nels, sigma, fsigma)
}

fspatial_weights <- function(indices, distances, feature_mat, nels, sigma, fsigma, alpha, binary) {
    .Call('_neighborweights_fspatial_weights', PACKAGE = 'neighborweights', indices, distances, feature_mat, nels, sigma, fsigma, alpha, binary)
}

spatial_weights <- function(indices, distances, nels, sigma, binary) {
    .Call('_neighborweights_spatial_weights', PACKAGE = 'neighborweights', indices, distances, nels, sigma, binary)
}
bbuchsbaum/neighborweights documentation built on April 1, 2024, 8:41 p.m.