File: NAMESPACE

package info (click to toggle)
r-cran-fnn 1.1.2.2-1~bpo9+1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 500 kB
  • sloc: cpp: 3,531; ansic: 823; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 499 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
##Load dynamic library
#C++ functions
#useDynLib(FNN,
#get_KNN_cover, get_KNNX_cover,
#get_KNN_kd, get_KNNX_kd, get_KNN_CR,
#KNN_MLD_brute, KNN_MLD_kd, KL_divergence, KL_dist)

useDynLib(FNN, .registration = TRUE)

#Export directive

#R functions
export(get.knn, knn.dist, knn.index,
get.knnx, knnx.dist, knnx.index, 
entropy, crossentropy,
KL.divergence, KL.dist, KLx.divergence, KLx.dist, mutinfo,
knn, knn.cv, knn.reg, ownn
)
S3method(print, knnReg)
S3method(print, knnRegCV)