@thi.ng/distance 2.1.35 → 2.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-12-16T12:52:25Z
3
+ - **Last updated**: 2022-12-22T21:47:07Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -25,7 +25,7 @@ This project is part of the
25
25
 
26
26
  ## About
27
27
 
28
- N-dimensional distance metrics & K-nearest neighborhoods for point queries
28
+ N-dimensional distance metrics & K-nearest neighborhoods for point queries.
29
29
 
30
30
  ### Distance metrics
31
31
 
package/knearest.d.ts CHANGED
@@ -9,10 +9,10 @@ import type { IDistance, INeighborhood, Neighbor } from "./api.js";
9
9
  *
10
10
  * @remarks
11
11
  * The K-nearest neighbors will be accumulated via an internal
12
- * {@link @thi.ng/heaps#Heap} and results can be optionally returned in order of
13
- * proximity (via {@link KNearest.deref} or {@link KNearest.values}). For K=1 it
14
- * will be more efficient to use {@link Nearest} to avoid the additional
15
- * overhead.
12
+ * [`Heap`](https://docs.thi.ng/umbrella/heaps/classes/Heap.html) and results
13
+ * can be optionally returned in order of proximity (via {@link KNearest.deref}
14
+ * or {@link KNearest.values}). For K=1 it will be more efficient to use
15
+ * {@link Nearest} to avoid the additional overhead.
16
16
  *
17
17
  * @typeParam D - spatial position for distance metric
18
18
  * @typeParam T - indexed value
package/knearest.js CHANGED
@@ -9,10 +9,10 @@ import { DIST_SQ, DIST_SQ1, DIST_SQ2, DIST_SQ3 } from "./squared.js";
9
9
  *
10
10
  * @remarks
11
11
  * The K-nearest neighbors will be accumulated via an internal
12
- * {@link @thi.ng/heaps#Heap} and results can be optionally returned in order of
13
- * proximity (via {@link KNearest.deref} or {@link KNearest.values}). For K=1 it
14
- * will be more efficient to use {@link Nearest} to avoid the additional
15
- * overhead.
12
+ * [`Heap`](https://docs.thi.ng/umbrella/heaps/classes/Heap.html) and results
13
+ * can be optionally returned in order of proximity (via {@link KNearest.deref}
14
+ * or {@link KNearest.values}). For K=1 it will be more efficient to use
15
+ * {@link Nearest} to avoid the additional overhead.
16
16
  *
17
17
  * @typeParam D - spatial position for distance metric
18
18
  * @typeParam T - indexed value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/distance",
3
- "version": "2.1.35",
3
+ "version": "2.1.37",
4
4
  "description": "N-dimensional distance metrics & K-nearest neighborhoods for point queries",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,16 +34,16 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.6.0",
38
- "@thi.ng/checks": "^3.3.5",
39
- "@thi.ng/errors": "^2.2.6",
40
- "@thi.ng/heaps": "^2.1.19",
41
- "@thi.ng/math": "^5.3.16",
42
- "@thi.ng/vectors": "^7.5.27"
37
+ "@thi.ng/api": "^8.6.2",
38
+ "@thi.ng/checks": "^3.3.6",
39
+ "@thi.ng/errors": "^2.2.7",
40
+ "@thi.ng/heaps": "^2.1.21",
41
+ "@thi.ng/math": "^5.3.18",
42
+ "@thi.ng/vectors": "^7.5.29"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@microsoft/api-extractor": "^7.33.7",
46
- "@thi.ng/testament": "^0.3.7",
46
+ "@thi.ng/testament": "^0.3.8",
47
47
  "rimraf": "^3.0.2",
48
48
  "tools": "^0.0.1",
49
49
  "typedoc": "^0.23.22",
@@ -109,5 +109,5 @@
109
109
  ],
110
110
  "year": 2021
111
111
  },
112
- "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
112
+ "gitHead": "bc6f7f5e2765bb96fe64db804eaf4b2443b47fc6\n"
113
113
  }