|
8 | 8 | */ |
9 | 9 |
|
10 | 10 | /* .Call calls */ |
11 | | -extern SEXP _ClusterR_affinity_propagation(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
12 | | -extern SEXP _ClusterR_check_NaN_Inf(SEXP); |
13 | 11 | extern SEXP _ClusterR_ClaraMedoids(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
14 | 12 | extern SEXP _ClusterR_ClusterMedoids(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
15 | | -extern SEXP _ClusterR_cost_clusters_from_dis_meds(SEXP, SEXP); |
16 | | -extern SEXP _ClusterR_dissim_mat(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
17 | | -extern SEXP _ClusterR_dissim_MEDOIDS(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
18 | | -extern SEXP _ClusterR_evaluation_rcpp(SEXP, SEXP, SEXP); |
19 | 13 | extern SEXP _ClusterR_GMM_arma(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
20 | 14 | extern SEXP _ClusterR_GMM_arma_AIC_BIC(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
21 | 15 | extern SEXP _ClusterR_KMEANS_arma(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
22 | 16 | extern SEXP _ClusterR_KMEANS_rcpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
| 17 | +extern SEXP _ClusterR_OptClust(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
| 18 | +extern SEXP _ClusterR_Predict_mini_batch_kmeans(SEXP, SEXP, SEXP, SEXP); |
| 19 | +extern SEXP _ClusterR_SCALE(SEXP, SEXP, SEXP); |
| 20 | +extern SEXP _ClusterR_affinity_propagation(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
| 21 | +extern SEXP _ClusterR_check_NaN_Inf(SEXP); |
| 22 | +extern SEXP _ClusterR_cost_clusters_from_dis_meds(SEXP, SEXP); |
| 23 | +extern SEXP _ClusterR_dissim_MEDOIDS(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
| 24 | +extern SEXP _ClusterR_dissim_mat(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
| 25 | +extern SEXP _ClusterR_evaluation_rcpp(SEXP, SEXP, SEXP); |
23 | 26 | extern SEXP _ClusterR_mini_batch_kmeans(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
24 | 27 | extern SEXP _ClusterR_opt_clust_fK(SEXP, SEXP, SEXP); |
25 | | -extern SEXP _ClusterR_OptClust(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
26 | | -extern SEXP _ClusterR_predict_medoids(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
27 | 28 | extern SEXP _ClusterR_predict_MGausDPDF(SEXP, SEXP, SEXP, SEXP, SEXP); |
28 | 29 | extern SEXP _ClusterR_predict_MGausDPDF_full(SEXP, SEXP, SEXP, SEXP, SEXP); |
29 | | -extern SEXP _ClusterR_Predict_mini_batch_kmeans(SEXP, SEXP, SEXP, SEXP); |
| 30 | +extern SEXP _ClusterR_predict_medoids(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); |
30 | 31 | extern SEXP _ClusterR_preferenceRange(SEXP, SEXP, SEXP); |
31 | | -extern SEXP _ClusterR_SCALE(SEXP, SEXP, SEXP); |
32 | 32 | extern SEXP _ClusterR_silhouette_clusters(SEXP, SEXP); |
33 | 33 | extern SEXP _ClusterR_split_rcpp_lst(SEXP); |
34 | 34 | extern SEXP _ClusterR_validate_centroids(SEXP, SEXP, SEXP, SEXP, SEXP); |
35 | 35 |
|
36 | | - |
37 | | - |
38 | 36 | static const R_CallMethodDef CallEntries[] = { |
39 | | - {"_ClusterR_affinity_propagation", (DL_FUNC) &_ClusterR_affinity_propagation, 9}, |
40 | | - {"_ClusterR_check_NaN_Inf", (DL_FUNC) &_ClusterR_check_NaN_Inf, 1}, |
41 | 37 | {"_ClusterR_ClaraMedoids", (DL_FUNC) &_ClusterR_ClaraMedoids, 11}, |
42 | 38 | {"_ClusterR_ClusterMedoids", (DL_FUNC) &_ClusterR_ClusterMedoids, 9}, |
43 | | - {"_ClusterR_cost_clusters_from_dis_meds", (DL_FUNC) &_ClusterR_cost_clusters_from_dis_meds, 2}, |
44 | | - {"_ClusterR_dissim_mat", (DL_FUNC) &_ClusterR_dissim_mat, 7}, |
45 | | - {"_ClusterR_dissim_MEDOIDS", (DL_FUNC) &_ClusterR_dissim_MEDOIDS, 6}, |
46 | | - {"_ClusterR_evaluation_rcpp", (DL_FUNC) &_ClusterR_evaluation_rcpp, 3}, |
47 | 39 | {"_ClusterR_GMM_arma", (DL_FUNC) &_ClusterR_GMM_arma, 10}, |
48 | 40 | {"_ClusterR_GMM_arma_AIC_BIC", (DL_FUNC) &_ClusterR_GMM_arma_AIC_BIC, 11}, |
49 | 41 | {"_ClusterR_KMEANS_arma", (DL_FUNC) &_ClusterR_KMEANS_arma, 7}, |
50 | 42 | {"_ClusterR_KMEANS_rcpp", (DL_FUNC) &_ClusterR_KMEANS_rcpp, 12}, |
| 43 | + {"_ClusterR_OptClust", (DL_FUNC) &_ClusterR_OptClust, 12}, |
| 44 | + {"_ClusterR_Predict_mini_batch_kmeans", (DL_FUNC) &_ClusterR_Predict_mini_batch_kmeans, 4}, |
| 45 | + {"_ClusterR_SCALE", (DL_FUNC) &_ClusterR_SCALE, 3}, |
| 46 | + {"_ClusterR_affinity_propagation", (DL_FUNC) &_ClusterR_affinity_propagation, 9}, |
| 47 | + {"_ClusterR_check_NaN_Inf", (DL_FUNC) &_ClusterR_check_NaN_Inf, 1}, |
| 48 | + {"_ClusterR_cost_clusters_from_dis_meds", (DL_FUNC) &_ClusterR_cost_clusters_from_dis_meds, 2}, |
| 49 | + {"_ClusterR_dissim_MEDOIDS", (DL_FUNC) &_ClusterR_dissim_MEDOIDS, 6}, |
| 50 | + {"_ClusterR_dissim_mat", (DL_FUNC) &_ClusterR_dissim_mat, 7}, |
| 51 | + {"_ClusterR_evaluation_rcpp", (DL_FUNC) &_ClusterR_evaluation_rcpp, 3}, |
51 | 52 | {"_ClusterR_mini_batch_kmeans", (DL_FUNC) &_ClusterR_mini_batch_kmeans, 13}, |
52 | 53 | {"_ClusterR_opt_clust_fK", (DL_FUNC) &_ClusterR_opt_clust_fK, 3}, |
53 | | - {"_ClusterR_OptClust", (DL_FUNC) &_ClusterR_OptClust, 12}, |
54 | | - {"_ClusterR_predict_medoids", (DL_FUNC) &_ClusterR_predict_medoids, 7}, |
55 | 54 | {"_ClusterR_predict_MGausDPDF", (DL_FUNC) &_ClusterR_predict_MGausDPDF, 5}, |
56 | 55 | {"_ClusterR_predict_MGausDPDF_full", (DL_FUNC) &_ClusterR_predict_MGausDPDF_full, 5}, |
57 | | - {"_ClusterR_Predict_mini_batch_kmeans", (DL_FUNC) &_ClusterR_Predict_mini_batch_kmeans, 4}, |
| 56 | + {"_ClusterR_predict_medoids", (DL_FUNC) &_ClusterR_predict_medoids, 7}, |
58 | 57 | {"_ClusterR_preferenceRange", (DL_FUNC) &_ClusterR_preferenceRange, 3}, |
59 | | - {"_ClusterR_SCALE", (DL_FUNC) &_ClusterR_SCALE, 3}, |
60 | 58 | {"_ClusterR_silhouette_clusters", (DL_FUNC) &_ClusterR_silhouette_clusters, 2}, |
61 | 59 | {"_ClusterR_split_rcpp_lst", (DL_FUNC) &_ClusterR_split_rcpp_lst, 1}, |
62 | 60 | {"_ClusterR_validate_centroids", (DL_FUNC) &_ClusterR_validate_centroids, 5}, |
63 | 61 | {NULL, NULL, 0} |
64 | 62 | }; |
65 | 63 |
|
66 | | -void R_init_ClusterR(DllInfo *dll) { |
| 64 | +void R_init_ClusterR(DllInfo *dll) |
| 65 | +{ |
67 | 66 | R_registerRoutines(dll, NULL, CallEntries, NULL, NULL); |
68 | 67 | R_useDynamicSymbols(dll, FALSE); |
69 | 68 | } |
0 commit comments