File: cpp11.R

package info (click to toggle)
r-cran-densityclust 0.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 280 kB
  • sloc: cpp: 175; sh: 12; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 736 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Generated by cpp11: do not edit by hand

distanceToPeakCpp <- function(distance, rho) {
  .Call(`_densityClust_distanceToPeakCpp`, distance, rho)
}

findDistValueByRowColInd <- function(distance, num_row, row_inds, col_inds) {
  .Call(`_densityClust_findDistValueByRowColInd`, distance, num_row, row_inds, col_inds)
}

smallest_dist_rho_order_coords <- function(ordered_rho, ordered_coords) {
  .Call(`_densityClust_smallest_dist_rho_order_coords`, ordered_rho, ordered_coords)
}

gaussianLocalDensity <- function(distance, nrow, dc) {
  .Call(`_densityClust_gaussianLocalDensity`, distance, nrow, dc)
}

nonGaussianLocalDensity <- function(distance, nrow, dc) {
  .Call(`_densityClust_nonGaussianLocalDensity`, distance, nrow, dc)
}