File: RcppExports.R

package info (click to toggle)
r-bioc-biocneighbors 1.8.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 852 kB
  • sloc: cpp: 2,573; ansic: 248; sh: 13; makefile: 2
file content (79 lines) | stat: -rw-r--r-- 4,543 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

build_annoy <- function(mat, ntrees, fname, dtype) {
    .Call('_BiocNeighbors_build_annoy', PACKAGE = 'BiocNeighbors', mat, ntrees, fname, dtype)
}

build_hnsw <- function(mat, nlinks, ef_construct, fname, dtype) {
    .Call('_BiocNeighbors_build_hnsw', PACKAGE = 'BiocNeighbors', mat, nlinks, ef_construct, fname, dtype)
}

build_vptree <- function(Mat, dtype) {
    .Call('_BiocNeighbors_build_vptree', PACKAGE = 'BiocNeighbors', Mat, dtype)
}

find_annoy <- function(to_check, ndims, fname, search_mult, dtype, nn, get_index, get_distance, last) {
    .Call('_BiocNeighbors_find_annoy', PACKAGE = 'BiocNeighbors', to_check, ndims, fname, search_mult, dtype, nn, get_index, get_distance, last)
}

find_exhaustive <- function(to_check, X, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_find_exhaustive', PACKAGE = 'BiocNeighbors', to_check, X, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_find_exhaustive <- function(to_check, X, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_find_exhaustive', PACKAGE = 'BiocNeighbors', to_check, X, dtype, dist_thresh, get_index, get_distance)
}

find_hnsw <- function(to_check, vals, fname, ef_search, dtype, nn, get_index, get_distance, last) {
    .Call('_BiocNeighbors_find_hnsw', PACKAGE = 'BiocNeighbors', to_check, vals, fname, ef_search, dtype, nn, get_index, get_distance, last)
}

find_kmknn <- function(to_check, X, clust_centers, clust_info, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_find_kmknn', PACKAGE = 'BiocNeighbors', to_check, X, clust_centers, clust_info, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_find_kmknn <- function(to_check, X, clust_centers, clust_info, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_find_kmknn', PACKAGE = 'BiocNeighbors', to_check, X, clust_centers, clust_info, dtype, dist_thresh, get_index, get_distance)
}

find_vptree <- function(to_check, X, nodes, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_find_vptree', PACKAGE = 'BiocNeighbors', to_check, X, nodes, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_find_vptree <- function(to_check, X, nodes, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_find_vptree', PACKAGE = 'BiocNeighbors', to_check, X, nodes, dtype, dist_thresh, get_index, get_distance)
}

query_annoy <- function(query, ndims, fname, search_mult, dtype, nn, get_index, get_distance, last) {
    .Call('_BiocNeighbors_query_annoy', PACKAGE = 'BiocNeighbors', query, ndims, fname, search_mult, dtype, nn, get_index, get_distance, last)
}

query_exhaustive <- function(query, X, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_query_exhaustive', PACKAGE = 'BiocNeighbors', query, X, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_query_exhaustive <- function(query, X, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_query_exhaustive', PACKAGE = 'BiocNeighbors', query, X, dtype, dist_thresh, get_index, get_distance)
}

query_hnsw <- function(query, vals, fname, ef_search, dtype, nn, get_index, get_distance, last) {
    .Call('_BiocNeighbors_query_hnsw', PACKAGE = 'BiocNeighbors', query, vals, fname, ef_search, dtype, nn, get_index, get_distance, last)
}

query_kmknn <- function(query, X, clust_centers, clust_info, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_query_kmknn', PACKAGE = 'BiocNeighbors', query, X, clust_centers, clust_info, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_query_kmknn <- function(query, X, clust_centers, clust_info, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_query_kmknn', PACKAGE = 'BiocNeighbors', query, X, clust_centers, clust_info, dtype, dist_thresh, get_index, get_distance)
}

query_vptree <- function(query, X, nodes, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_query_vptree', PACKAGE = 'BiocNeighbors', query, X, nodes, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_query_vptree <- function(query, X, nodes, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_query_vptree', PACKAGE = 'BiocNeighbors', query, X, nodes, dtype, dist_thresh, get_index, get_distance)
}