@thi.ng/dual-algebra 0.4.18 → 0.4.19
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 +1 -1
- package/README.md +7 -10
- package/api.d.ts +9 -9
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
|
|
3
|
-
# 
|
|
3
|
+
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/dual-algebra)
|
|
6
6
|

|
|
7
|
-
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
This project is part of the
|
|
10
10
|
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
|
|
@@ -21,7 +21,7 @@ This project is part of the
|
|
|
21
21
|
|
|
22
22
|
## About
|
|
23
23
|
|
|
24
|
-
Multivariate dual number algebra, automatic differentiation
|
|
24
|
+
Multivariate dual number algebra, automatic differentiation
|
|
25
25
|
|
|
26
26
|
- [Wikipedia: Dual numbers](https://en.wikipedia.org/wiki/Dual_number)
|
|
27
27
|
- [Wikipedia: Automatic_differentiation](https://en.wikipedia.org/wiki/Automatic_differentiation#Automatic_differentiation_using_dual_numbers)
|
|
@@ -133,11 +133,8 @@ ES module import:
|
|
|
133
133
|
|
|
134
134
|
For Node.js REPL:
|
|
135
135
|
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
node --experimental-repl-await
|
|
139
|
-
|
|
140
|
-
> const dualAlgebra = await import("@thi.ng/dual-algebra");
|
|
136
|
+
```js
|
|
137
|
+
const dualAlgebra = await import("@thi.ng/dual-algebra");
|
|
141
138
|
```
|
|
142
139
|
|
|
143
140
|
Package sizes (brotli'd, pre-treeshake): ESM: 990 bytes
|
|
@@ -222,7 +219,7 @@ f2(2) // [1, 8]
|
|
|
222
219
|
|
|
223
220
|
## Authors
|
|
224
221
|
|
|
225
|
-
Karsten Schmidt
|
|
222
|
+
- [Karsten Schmidt](https://thi.ng)
|
|
226
223
|
|
|
227
224
|
If this project contributes to an academic publication, please cite it as:
|
|
228
225
|
|
|
@@ -237,4 +234,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
237
234
|
|
|
238
235
|
## License
|
|
239
236
|
|
|
240
|
-
© 2020 - 2022 Karsten Schmidt // Apache
|
|
237
|
+
© 2020 - 2022 Karsten Schmidt // Apache License 2.0
|
package/api.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Fn, Fn2, FnU2, FnU3, FnU4, FnU5, FnU6, NumericArray } from "@thi.ng/api";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
2
|
+
export type Dual = NumericArray;
|
|
3
|
+
export type Op1 = Fn<Dual, Dual>;
|
|
4
|
+
export type Op1N = Fn2<Dual, number, Dual>;
|
|
5
|
+
export type Op2 = FnU2<Dual>;
|
|
6
|
+
export type Op3 = FnU3<Dual>;
|
|
7
|
+
export type Op4 = FnU4<Dual>;
|
|
8
|
+
export type Op5 = FnU5<Dual>;
|
|
9
|
+
export type Op6 = FnU6<Dual>;
|
|
10
|
+
export type OpV2 = FnU2<Dual[]>;
|
|
11
11
|
//# sourceMappingURL=api.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/dual-algebra",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.19",
|
|
4
4
|
"description": "Multivariate dual number algebra, automatic differentiation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/thi-ng/umbrella.git"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/thi-ng/umbrella/tree/
|
|
13
|
+
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/dual-algebra#readme",
|
|
14
14
|
"funding": [
|
|
15
15
|
{
|
|
16
16
|
"type": "github",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://patreon.com/thing_umbrella"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"author": "Karsten Schmidt
|
|
24
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "yarn clean && tsc --declaration",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.
|
|
37
|
+
"@thi.ng/api": "^8.6.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@microsoft/api-extractor": "^7.33.
|
|
41
|
-
"@thi.ng/testament": "^0.3.
|
|
40
|
+
"@microsoft/api-extractor": "^7.33.7",
|
|
41
|
+
"@thi.ng/testament": "^0.3.7",
|
|
42
42
|
"rimraf": "^3.0.2",
|
|
43
43
|
"tools": "^0.0.1",
|
|
44
|
-
"typedoc": "^0.23.
|
|
45
|
-
"typescript": "^4.
|
|
44
|
+
"typedoc": "^0.23.22",
|
|
45
|
+
"typescript": "^4.9.4"
|
|
46
46
|
},
|
|
47
47
|
"keywords": [
|
|
48
48
|
"algebra",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"status": "alpha",
|
|
92
92
|
"year": 2020
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
|
|
95
95
|
}
|