From 65c7a2ff82ee309a37331539efc7ec1507b0ef56 Mon Sep 17 00:00:00 2001 From: Manos Papadakis Date: Wed, 15 Nov 2023 16:41:17 +0200 Subject: [PATCH] upload proj --- .../compilation-database/mingw64/config.json | 2 +- .Rproj.user/CB39D88C/cpp-definition-cache | 718 +++++++++++++++++- .../CB39D88C/pcs/windowlayoutstate.pper | 14 +- .Rproj.user/CB39D88C/persistent-state | 4 +- .Rproj.user/CB39D88C/sources/per/t/327AE116 | 6 +- .../CB39D88C/sources/per/t/327AE116-contents | 11 +- 6 files changed, 724 insertions(+), 31 deletions(-) diff --git a/.Rproj.user/CB39D88C/compilation-database/mingw64/config.json b/.Rproj.user/CB39D88C/compilation-database/mingw64/config.json index 67ee0b9..1022d7c 100644 --- a/.Rproj.user/CB39D88C/compilation-database/mingw64/config.json +++ b/.Rproj.user/CB39D88C/compilation-database/mingw64/config.json @@ -14,7 +14,7 @@ ], "pch": "RcppArmadillo", "is_cpp": true, - "hash": "169834350316977215341697721592", + "hash": "169999222316977215341697721592", "compiler": "6762244524107556826", "rversion": "4.3.1", "dbversion": 4 diff --git a/.Rproj.user/CB39D88C/cpp-definition-cache b/.Rproj.user/CB39D88C/cpp-definition-cache index 81227f8..efdaf47 100644 --- a/.Rproj.user/CB39D88C/cpp-definition-cache +++ b/.Rproj.user/CB39D88C/cpp-definition-cache @@ -5,9 +5,53 @@ "definitions": [], "hidden": false }, + { + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/Coeff.h", + "file_last_write": 1699992321.0, + "definitions": [ + { + "usr": "c:@N@Coeff@F@bhattacharyya#$@N@arma@S@Col>#d#S0_#", + "kind": 6, + "parent_name": "", + "name": "bhattacharyya(arma::colvec, arma::colvec)", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/Coeff.h", + "line": 16, + "column": 19, + "hidden": false + } + ], + "hidden": false + }, + { + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/Dist.h", + "file_last_write": 1699992321.0, + "definitions": [ + { + "usr": "c:@N@Dist@F@manhattan#$@N@arma@S@Col>#d#S0_#", + "kind": 6, + "parent_name": "", + "name": "manhattan(arma::colvec, arma::colvec)", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/Dist.h", + "line": 8, + "column": 19, + "hidden": false + }, + { + "usr": "c:@N@Dist@F@euclidean#$@N@arma@S@Col>#d#S0_#", + "kind": 6, + "parent_name": "", + "name": "euclidean(arma::colvec, arma::colvec)", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/Dist.h", + "line": 13, + "column": 19, + "hidden": false + } + ], + "hidden": false + }, { "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/KDTreeArmadilloAdaptor.hpp", - "file_last_write": 1698312938.0, + "file_last_write": 1699992321.0, "definitions": [ { "usr": "c:@N@Rnanoflann@ST>3#T#T#NI@KDTreeArmadilloAdaptor", @@ -25,7 +69,17 @@ "parent_name": "", "name": "KDTreeArmadilloAdaptor2", "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/KDTreeArmadilloAdaptor.hpp", - "line": 64, + "line": 68, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@ST>3#T#T#NI@KDTreeArmadilloAdaptor3", + "kind": 2, + "parent_name": "", + "name": "KDTreeArmadilloAdaptor3", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/KDTreeArmadilloAdaptor.hpp", + "line": 121, "column": 12, "hidden": false } @@ -34,41 +88,677 @@ }, { "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", - "file_last_write": 1698312945.0, + "file_last_write": 1700048468.0, "definitions": [ { - "usr": "c:@N@Rnanoflann@ST>5#T#T#Nb#T#T@euclidean_adaptor", + "usr": "c:@N@Rnanoflann@S@euclidean", + "kind": 3, + "parent_name": "", + "name": "euclidean", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 17, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@euclidean@ST>5#T#T#Nb#T#T@euclidean_adaptor", "kind": 2, "parent_name": "", "name": "euclidean_adaptor", "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", - "line": 11, + "line": 22, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@euclidean@ST>4#T#T#Nb#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 54, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@euclidean2", + "kind": 3, + "parent_name": "", + "name": "euclidean2", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 60, "column": 12, "hidden": false }, { - "usr": "c:@N@Rnanoflann@S@euclidean", + "usr": "c:@N@Rnanoflann@S@euclidean2@ST>5#T#T#Nb#T#T@euclidean2_adaptor", + "kind": 2, + "parent_name": "", + "name": "euclidean2_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 65, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@euclidean2@ST>4#T#T#Nb#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 94, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@manhattan", "kind": 3, "parent_name": "", - "name": "euclidean", + "name": "manhattan", "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", - "line": 47, + "line": 100, "column": 12, "hidden": false }, { - "usr": "c:@N@Rnanoflann@S@euclidean@ST>4#T#T#Nb#T@traits", + "usr": "c:@N@Rnanoflann@S@manhattan@ST>4#T#T#T#T@manhattan_adaptor", + "kind": 2, + "parent_name": "", + "name": "manhattan_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 105, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@manhattan@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 134, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@hellinger", + "kind": 3, + "parent_name": "", + "name": "hellinger", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 140, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@hellinger@ST>5#T#T#Nb#T#T@hellinger_adaptor", + "kind": 2, + "parent_name": "", + "name": "hellinger_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 145, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@hellinger@ST>4#T#T#Nb#T@traits", "kind": 2, "parent_name": "", "name": "traits", "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", - "line": 50, + "line": 174, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@minkowski", + "kind": 3, + "parent_name": "", + "name": "minkowski", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 180, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@minkowski@ST>4#T#T#T#T@minkowski_adaptor", + "kind": 2, + "parent_name": "", + "name": "minkowski_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 185, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@minkowski@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 216, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@maximum", + "kind": 3, + "parent_name": "", + "name": "maximum", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 222, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@maximum@ST>4#T#T#T#T@maximum_adaptor", + "kind": 2, + "parent_name": "", + "name": "maximum_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 227, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@maximum@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 256, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@minimum", + "kind": 3, + "parent_name": "", + "name": "minimum", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 262, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@minimum@ST>4#T#T#T#T@minimum_adaptor", + "kind": 2, + "parent_name": "", + "name": "minimum_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 267, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@minimum@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 296, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@total_variation", + "kind": 3, + "parent_name": "", + "name": "total_variation", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 302, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@total_variation@ST>4#T#T#T#T@total_variation_adaptor", + "kind": 2, + "parent_name": "", + "name": "total_variation_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 307, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@total_variation@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 335, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@cosine", + "kind": 3, + "parent_name": "", + "name": "cosine", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 341, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@cosine@ST>4#T#T#T#T@cosine_adaptor", + "kind": 2, + "parent_name": "", + "name": "cosine_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 346, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@cosine@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 374, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@gower", + "kind": 3, + "parent_name": "", + "name": "gower", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 380, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@gower@ST>4#T#T#T#T@gower_adaptor", + "kind": 2, + "parent_name": "", + "name": "gower_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 385, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@gower@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 413, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@sorensen", + "kind": 3, + "parent_name": "", + "name": "sorensen", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 419, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@sorensen@ST>4#T#T#T#T@sorensen_adaptor", + "kind": 2, + "parent_name": "", + "name": "sorensen_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 424, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@sorensen@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 452, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@canberra", + "kind": 3, + "parent_name": "", + "name": "canberra", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 458, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@canberra@ST>4#T#T#T#T@canberra_adaptor", + "kind": 2, + "parent_name": "", + "name": "canberra_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 463, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@canberra@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 491, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@kullback_leibler", + "kind": 3, + "parent_name": "", + "name": "kullback_leibler", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 497, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@kullback_leibler@ST>4#T#T#T#T@kullback_leibler_adaptor", + "kind": 2, + "parent_name": "", + "name": "kullback_leibler_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 502, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@kullback_leibler@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 538, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@jensen_shannon", + "kind": 3, + "parent_name": "", + "name": "jensen_shannon", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 544, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@jensen_shannon@ST>4#T#T#T#T@jensen_shannon_adaptor", + "kind": 2, + "parent_name": "", + "name": "jensen_shannon_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 549, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@jensen_shannon@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 585, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@itakura_saito", + "kind": 3, + "parent_name": "", + "name": "itakura_saito", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 591, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@itakura_saito@ST>4#T#T#T#T@itakura_saito_adaptor", + "kind": 2, + "parent_name": "", + "name": "itakura_saito_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 596, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@itakura_saito@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 633, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@bhattacharyya", + "kind": 3, + "parent_name": "", + "name": "bhattacharyya", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 639, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@bhattacharyya@ST>4#T#T#T#T@bhattacharyya_adaptor", + "kind": 2, + "parent_name": "", + "name": "bhattacharyya_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 644, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@bhattacharyya@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 672, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@jeffries_matusita", + "kind": 3, + "parent_name": "", + "name": "jeffries_matusita", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 678, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@jeffries_matusita@ST>4#T#T#T#T@jeffries_matusita_adaptor", + "kind": 2, + "parent_name": "", + "name": "jeffries_matusita_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 683, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@jeffries_matusita@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 711, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@soergel", + "kind": 3, + "parent_name": "", + "name": "soergel", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 717, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@soergel@ST>4#T#T#T#T@soergel_adaptor", + "kind": 2, + "parent_name": "", + "name": "soergel_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 722, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@soergel@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 750, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@kulczynski", + "kind": 3, + "parent_name": "", + "name": "kulczynski", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 756, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@kulczynski@ST>4#T#T#T#T@kulczynski_adaptor", + "kind": 2, + "parent_name": "", + "name": "kulczynski_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 761, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@kulczynski@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 789, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@wave_hedges", + "kind": 3, + "parent_name": "", + "name": "wave_hedges", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 795, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@wave_hedges@ST>4#T#T#T#T@wave_hedges_adaptor", + "kind": 2, + "parent_name": "", + "name": "wave_hedges_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 800, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@wave_hedges@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 828, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@motyka", + "kind": 3, + "parent_name": "", + "name": "motyka", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 834, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@motyka@ST>4#T#T#T#T@motyka_adaptor", + "kind": 2, + "parent_name": "", + "name": "motyka_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 839, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@motyka@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 867, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@harmonic_mean", + "kind": 3, + "parent_name": "", + "name": "harmonic_mean", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 873, + "column": 12, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@harmonic_mean@ST>4#T#T#T#T@harmonic_mean_adaptor", + "kind": 2, + "parent_name": "", + "name": "harmonic_mean_adaptor", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 878, + "column": 16, + "hidden": false + }, + { + "usr": "c:@N@Rnanoflann@S@harmonic_mean@ST>3#T#T#T@traits", + "kind": 2, + "parent_name": "", + "name": "traits", + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/dists.hpp", + "line": 906, "column": 16, "hidden": false } ], "hidden": false }, + { + "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/internal/helpers.h", + "file_last_write": 1699992321.0, + "definitions": [], + "hidden": false + }, { "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/inst/include/nanoflann.hpp", "file_last_write": 1698249711.0, @@ -468,15 +1158,15 @@ }, { "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/src/knn.cpp", - "file_last_write": 1698313134.0, + "file_last_write": 1699992321.0, "definitions": [ { - "usr": "c:@F@nn#$@N@arma@S@Mat>#d#S0_#I#1I#1I#1d#1b#1b#1d#1i#1b#1i#", + "usr": "c:@F@nn#$@N@arma@S@Mat>#d#S0_#I#1I#1I#1d#1b#1b#1d#1i#1d#1b#1i#", "kind": 6, "parent_name": "", - "name": "nn(arma::mat, arma::mat, arma::uword, const int, const int, const double, const bool, const bool, const double, const unsigned int, const bool, const unsigned int)", + "name": "nn(arma::mat, arma::mat, arma::uword, const int, const int, const double, const bool, const bool, const double, const unsigned int, const double, const bool, const unsigned int)", "file": "C:/Users/epapadakis/Documents/GitHub/Rnanoflann/src/knn.cpp", - "line": 46, + "line": 54, "column": 6, "hidden": false } diff --git a/.Rproj.user/CB39D88C/pcs/windowlayoutstate.pper b/.Rproj.user/CB39D88C/pcs/windowlayoutstate.pper index c7303bf..227949a 100644 --- a/.Rproj.user/CB39D88C/pcs/windowlayoutstate.pper +++ b/.Rproj.user/CB39D88C/pcs/windowlayoutstate.pper @@ -1,14 +1,14 @@ { "left": { - "splitterpos": 458, - "topwindowstate": "MAXIMIZE", - "panelheight": 789, - "windowheight": 827 + "splitterpos": 556, + "topwindowstate": "NORMAL", + "panelheight": 959, + "windowheight": 997 }, "right": { - "splitterpos": 472, + "splitterpos": 422, "topwindowstate": "NORMAL", - "panelheight": 744, - "windowheight": 782 + "panelheight": 959, + "windowheight": 997 } } \ No newline at end of file diff --git a/.Rproj.user/CB39D88C/persistent-state b/.Rproj.user/CB39D88C/persistent-state index 394ce03..22911f8 100644 --- a/.Rproj.user/CB39D88C/persistent-state +++ b/.Rproj.user/CB39D88C/persistent-state @@ -1,6 +1,6 @@ build-last-errors="[]" -build-last-errors-base-dir="" -build-last-outputs="[]" +build-last-errors-base-dir="~/GitHub/Rnanoflann/" +build-last-outputs="[{\"type\":0,\"output\":\"==> Rcpp::compileAttributes()\\n\\n\"},{\"type\":1,\"output\":\"* Updated src/RcppExports.cpp\\r\\n* Updated R/RcppExports.R\\r\\n\"},{\"type\":1,\"output\":\"\\n\"},{\"type\":0,\"output\":\"==> Rcmd.exe INSTALL --preclean --no-multiarch --with-keep.source Rnanoflann\\n\\n\"},{\"type\":1,\"output\":\"* installing to library 'C:/R/R-4.3.1/library'\\r\\n\"},{\"type\":1,\"output\":\"* installing *source* package 'Rnanoflann' ...\\r\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** using staged installation\\r\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** libs\\r\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"using C++ compiler: 'G__~1.EXE (GCC) 12.2.0'\\r\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"g++ -std=gnu++17 -I\\\"C:/R/R-4.3.1/include\\\" -DNDEBUG -I../inst/include -I'C:/R/R-4.3.1/library/Rcpp/include' -I'C:/R/R-4.3.1/library/RcppArmadillo/include' -I\\\"c:/rtools43/x86_64-w64-mingw32.static.posix/include\\\" -fopenmp -O3 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"g++ -std=gnu++17 -I\\\"C:/R/R-4.3.1/include\\\" -DNDEBUG -I../inst/include -I'C:/R/R-4.3.1/library/Rcpp/include' -I'C:/R/R-4.3.1/library/RcppArmadillo/include' -I\\\"c:/rtools43/x86_64-w64-mingw32.static.posix/include\\\" -fopenmp -O3 -Wall -mfpmath=sse -msse2 -mstackrealign -c knn.cpp -o knn.o\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"g++ -std=gnu++17 -shared -s -static-libgcc -o Rnanoflann.dll tmp.def RcppExports.o knn.o -fopenmp -LC:/R/R-4.3.1/bin/x64 -lRlapack -LC:/R/R-4.3.1/bin/x64 -lRblas -lgfortran -lm -lquadmath -Lc:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Lc:/rtools43/x86_64-w64-mingw32.static.posix/lib -LC:/R/R-4.3.1/bin/x64 -lR\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"installing to C:/R/R-4.3.1/library/00LOCK-Rnanoflann/00new/Rnanoflann/libs/x64\\r\\n\"},{\"type\":1,\"output\":\"** R\\r\\n\"},{\"type\":1,\"output\":\"** inst\\r\\n\"},{\"type\":1,\"output\":\"** byte-compile and prepare package for lazy loading\\r\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** help\\r\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"*** installing help indices\\r\\n\"},{\"type\":1,\"output\":\"** building package indices\\r\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** testing if installed package can be loaded from temporary location\\r\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** testing if installed package can be loaded from final location\\r\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** testing if installed package keeps a record of temporary installation path\\r\\n\"},{\"type\":1,\"output\":\"* DONE (Rnanoflann)\\r\\n\"},{\"type\":1,\"output\":\"\"}]" compile_pdf_state="{\"tab_visible\":false,\"running\":false,\"target_file\":\"\",\"output\":\"\",\"errors\":[]}" files.monitored-path="" find-in-files-state="{\"handle\":\"\",\"input\":\"\",\"path\":\"\",\"regex\":false,\"ignoreCase\":false,\"results\":{\"file\":[],\"line\":[],\"lineValue\":[],\"matchOn\":[],\"matchOff\":[],\"replaceMatchOn\":[],\"replaceMatchOff\":[]},\"running\":false,\"replace\":false,\"preview\":false,\"gitFlag\":false,\"replacePattern\":\"\"}" diff --git a/.Rproj.user/CB39D88C/sources/per/t/327AE116 b/.Rproj.user/CB39D88C/sources/per/t/327AE116 index ffe9483..24f97f7 100644 --- a/.Rproj.user/CB39D88C/sources/per/t/327AE116 +++ b/.Rproj.user/CB39D88C/sources/per/t/327AE116 @@ -3,7 +3,7 @@ "path": "~/GitHub/Rnanoflann/R/nn.R", "project_path": "R/nn.R", "type": "r_source", - "hash": "2232905855", + "hash": "2465747681", "contents": "", "dirty": false, "created": 1698145857636.0, @@ -16,11 +16,11 @@ "scrollLine": "0" }, "folds": "", - "lastKnownWriteTime": 1698240244, + "lastKnownWriteTime": 1700057998, "encoding": "UTF-8", "collab_server": "", "source_window": "", - "last_content_update": 1698240244312, + "last_content_update": 1700057998, "read_only": false, "read_only_alternatives": [] } \ No newline at end of file diff --git a/.Rproj.user/CB39D88C/sources/per/t/327AE116-contents b/.Rproj.user/CB39D88C/sources/per/t/327AE116-contents index b9fa056..8122ca1 100644 --- a/.Rproj.user/CB39D88C/sources/per/t/327AE116-contents +++ b/.Rproj.user/CB39D88C/sources/per/t/327AE116-contents @@ -1,8 +1,11 @@ #[export] -nn <- function(data, points = data, k = nrow(data), method = "euclidean", search = "standard", eps = 0.0, square = FALSE, - sorted = FALSE, radius = 0.0, trans = TRUE, leafs = 10, parallel = FALSE, cores = 0){ - res <- .Call(`_Rnanoflann_nn`, t(data), t(points), k, method, search, eps, square, - sorted, radius, leafs, parallel, cores) +nn <- function(data, points, k, method = "euclidean", search = "standard", +eps = 0.0, square = FALSE, sorted = FALSE, radius = 0.0, leafs = 10L, p = 0.0, parallel = FALSE, cores = 0L) { + if(method == "hellinger"){ + data <- sqrt(data) + points <- sqrt(points) + } + res <- .Call(`_Rnanoflann_nn`, data, points, k, method, search, eps, square, sorted, radius, leafs, p, parallel, cores) if(trans){ res$indices <- t(res$indices) res$distances <- t(res$distances)