@thi.ng/math 5.0.6 → 5.0.7
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 +106 -146
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,47 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [5.0.
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @thi.ng/math
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## [5.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@5.0.4...@thi.ng/math@5.0.5) (2021-10-28)
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @thi.ng/math
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## [5.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@5.0.3...@thi.ng/math@5.0.4) (2021-10-25)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @thi.ng/math
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## [5.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@5.0.2...@thi.ng/math@5.0.3) (2021-10-15)
|
|
31
|
-
|
|
32
|
-
**Note:** Version bump only for package @thi.ng/math
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
## [5.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@5.0.1...@thi.ng/math@5.0.2) (2021-10-15)
|
|
39
|
-
|
|
40
|
-
**Note:** Version bump only for package @thi.ng/math
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
## [5.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@5.0.0...@thi.ng/math@5.0.1) (2021-10-13)
|
|
6
|
+
## [5.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@5.0.6...@thi.ng/math@5.0.7) (2021-11-03)
|
|
47
7
|
|
|
48
8
|
**Note:** Version bump only for package @thi.ng/math
|
|
49
9
|
|
|
@@ -80,189 +40,189 @@ Also:
|
|
|
80
40
|
|
|
81
41
|
|
|
82
42
|
|
|
83
|
-
## [4.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@4.0.5...@thi.ng/math@4.0.6) (2021-09-03)
|
|
43
|
+
## [4.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@4.0.5...@thi.ng/math@4.0.6) (2021-09-03)
|
|
84
44
|
|
|
85
|
-
### Bug Fixes
|
|
45
|
+
### Bug Fixes
|
|
86
46
|
|
|
87
|
-
- **math:** removing deprecated eqDeltaFixed() ([1de245b](https://github.com/thi-ng/umbrella/commit/1de245bff0d2c1d9436e39240ecd648cef744488))
|
|
47
|
+
- **math:** removing deprecated eqDeltaFixed() ([1de245b](https://github.com/thi-ng/umbrella/commit/1de245bff0d2c1d9436e39240ecd648cef744488))
|
|
88
48
|
|
|
89
|
-
# [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.4.0...@thi.ng/math@4.0.0) (2021-04-24)
|
|
49
|
+
# [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.4.0...@thi.ng/math@4.0.0) (2021-04-24)
|
|
90
50
|
|
|
91
|
-
### Features
|
|
51
|
+
### Features
|
|
92
52
|
|
|
93
|
-
- **math:** add libc math fns ([28b41a8](https://github.com/thi-ng/umbrella/commit/28b41a824758b83cea09c29f48e6f14f56368c40))
|
|
94
|
-
- **math:** add/update modulo functions ([be7b02b](https://github.com/thi-ng/umbrella/commit/be7b02beaf4ab1ab1030597a5f4eb94d43e1469b))
|
|
53
|
+
- **math:** add libc math fns ([28b41a8](https://github.com/thi-ng/umbrella/commit/28b41a824758b83cea09c29f48e6f14f56368c40))
|
|
54
|
+
- **math:** add/update modulo functions ([be7b02b](https://github.com/thi-ng/umbrella/commit/be7b02beaf4ab1ab1030597a5f4eb94d43e1469b))
|
|
95
55
|
|
|
96
|
-
### BREAKING CHANGES
|
|
56
|
+
### BREAKING CHANGES
|
|
97
57
|
|
|
98
|
-
- **math:** Introduction of standard libc math functions causes behavior change of existing `fmod()` function...
|
|
99
|
-
- rename `fmod()` => `mod()` to align w/ GLSL counterpart
|
|
100
|
-
- add new `fmod()` w/ standard libc behavior (same as JS % op)
|
|
101
|
-
- add `remainder()` w/ standard libc behavior
|
|
102
|
-
- update doc strings
|
|
58
|
+
- **math:** Introduction of standard libc math functions causes behavior change of existing `fmod()` function...
|
|
59
|
+
- rename `fmod()` => `mod()` to align w/ GLSL counterpart
|
|
60
|
+
- add new `fmod()` w/ standard libc behavior (same as JS % op)
|
|
61
|
+
- add `remainder()` w/ standard libc behavior
|
|
62
|
+
- update doc strings
|
|
103
63
|
|
|
104
|
-
# [3.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.3.0...@thi.ng/math@3.4.0) (2021-04-03)
|
|
64
|
+
# [3.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.3.0...@thi.ng/math@3.4.0) (2021-04-03)
|
|
105
65
|
|
|
106
|
-
### Bug Fixes
|
|
66
|
+
### Bug Fixes
|
|
107
67
|
|
|
108
|
-
- **math:** fix sigmoid01() signature ([378cb17](https://github.com/thi-ng/umbrella/commit/378cb17d4ad2ef2f301039e067af251c867d7da8))
|
|
68
|
+
- **math:** fix sigmoid01() signature ([378cb17](https://github.com/thi-ng/umbrella/commit/378cb17d4ad2ef2f301039e067af251c867d7da8))
|
|
109
69
|
|
|
110
|
-
### Features
|
|
70
|
+
### Features
|
|
111
71
|
|
|
112
|
-
- **math:** add lanczos(), fix/update/add sinc ([e661b7a](https://github.com/thi-ng/umbrella/commit/e661b7a8e8ce49e4d34ae572818d6b0e8e7a292d))
|
|
72
|
+
- **math:** add lanczos(), fix/update/add sinc ([e661b7a](https://github.com/thi-ng/umbrella/commit/e661b7a8e8ce49e4d34ae572818d6b0e8e7a292d))
|
|
113
73
|
|
|
114
|
-
# [3.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.2.5...@thi.ng/math@3.3.0) (2021-03-17)
|
|
74
|
+
# [3.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.2.5...@thi.ng/math@3.3.0) (2021-03-17)
|
|
115
75
|
|
|
116
|
-
### Features
|
|
76
|
+
### Features
|
|
117
77
|
|
|
118
|
-
- **math:** add mixBicubic(), mixCubicHermiteFromPoints() ([30dda42](https://github.com/thi-ng/umbrella/commit/30dda424cc1a433a71dfa762f0b8c453114466a0))
|
|
78
|
+
- **math:** add mixBicubic(), mixCubicHermiteFromPoints() ([30dda42](https://github.com/thi-ng/umbrella/commit/30dda424cc1a433a71dfa762f0b8c453114466a0))
|
|
119
79
|
|
|
120
|
-
### Performance Improvements
|
|
80
|
+
### Performance Improvements
|
|
121
81
|
|
|
122
|
-
- **math:** replace mixBilinear() w/ inline impl ([bb16dc5](https://github.com/thi-ng/umbrella/commit/bb16dc591dd9455b8d0061a664375a9dc8c74a36))
|
|
82
|
+
- **math:** replace mixBilinear() w/ inline impl ([bb16dc5](https://github.com/thi-ng/umbrella/commit/bb16dc591dd9455b8d0061a664375a9dc8c74a36))
|
|
123
83
|
|
|
124
|
-
# [3.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.1.0...@thi.ng/math@3.2.0) (2021-02-20)
|
|
84
|
+
# [3.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.1.0...@thi.ng/math@3.2.0) (2021-02-20)
|
|
125
85
|
|
|
126
|
-
### Features
|
|
86
|
+
### Features
|
|
127
87
|
|
|
128
|
-
- **math:** add clamp0() ([d18c869](https://github.com/thi-ng/umbrella/commit/d18c869b59499ee081bee7c75e6ed0ebd4720efb))
|
|
88
|
+
- **math:** add clamp0() ([d18c869](https://github.com/thi-ng/umbrella/commit/d18c869b59499ee081bee7c75e6ed0ebd4720efb))
|
|
129
89
|
|
|
130
|
-
# [3.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.0.1...@thi.ng/math@3.1.0) (2021-01-10)
|
|
90
|
+
# [3.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.0.1...@thi.ng/math@3.1.0) (2021-01-10)
|
|
131
91
|
|
|
132
|
-
### Features
|
|
92
|
+
### Features
|
|
133
93
|
|
|
134
|
-
- **math:** add floorTo/ceilTo() ([595fe83](https://github.com/thi-ng/umbrella/commit/595fe83475f4a4080408033d3448fd4c36ef1652))
|
|
94
|
+
- **math:** add floorTo/ceilTo() ([595fe83](https://github.com/thi-ng/umbrella/commit/595fe83475f4a4080408033d3448fd4c36ef1652))
|
|
135
95
|
|
|
136
|
-
# [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@2.2.2...@thi.ng/math@3.0.0) (2020-12-22)
|
|
96
|
+
# [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@2.2.2...@thi.ng/math@3.0.0) (2020-12-22)
|
|
137
97
|
|
|
138
|
-
### Bug Fixes
|
|
98
|
+
### Bug Fixes
|
|
139
99
|
|
|
140
|
-
- **math:** fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace enum w/ type alias ([8f00375](https://github.com/thi-ng/umbrella/commit/8f00375722ff3e207f1711229acff69c3bd1343f))
|
|
100
|
+
- **math:** fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace enum w/ type alias ([8f00375](https://github.com/thi-ng/umbrella/commit/8f00375722ff3e207f1711229acff69c3bd1343f))
|
|
141
101
|
|
|
142
|
-
### Code Refactoring
|
|
102
|
+
### Code Refactoring
|
|
143
103
|
|
|
144
|
-
- **math:** update/fix sigmoid() behavior ([07a278f](https://github.com/thi-ng/umbrella/commit/07a278fdd82004610aa9b7acb585c3c841af24ba))
|
|
104
|
+
- **math:** update/fix sigmoid() behavior ([07a278f](https://github.com/thi-ng/umbrella/commit/07a278fdd82004610aa9b7acb585c3c841af24ba))
|
|
145
105
|
|
|
146
|
-
### Features
|
|
106
|
+
### Features
|
|
147
107
|
|
|
148
|
-
- **math:** add gaussian() ([138befe](https://github.com/thi-ng/umbrella/commit/138befe1f2d14eb9a4fb3829179b8d03d49e6bbc))
|
|
149
|
-
- **math:** add more parametric T-norms ([38bd40e](https://github.com/thi-ng/umbrella/commit/38bd40e1595e318c6472a526e03c8c8a06ebf396))
|
|
150
|
-
- **math:** add various T-norm functions ([ab4a810](https://github.com/thi-ng/umbrella/commit/ab4a810981c08c54365d5ea3212cd465d2589cf0))
|
|
108
|
+
- **math:** add gaussian() ([138befe](https://github.com/thi-ng/umbrella/commit/138befe1f2d14eb9a4fb3829179b8d03d49e6bbc))
|
|
109
|
+
- **math:** add more parametric T-norms ([38bd40e](https://github.com/thi-ng/umbrella/commit/38bd40e1595e318c6472a526e03c8c8a06ebf396))
|
|
110
|
+
- **math:** add various T-norm functions ([ab4a810](https://github.com/thi-ng/umbrella/commit/ab4a810981c08c54365d5ea3212cd465d2589cf0))
|
|
151
111
|
|
|
152
|
-
### BREAKING CHANGES
|
|
112
|
+
### BREAKING CHANGES
|
|
153
113
|
|
|
154
|
-
- **math:** replace Crossing enum w/ type alias
|
|
155
|
-
- **math:** add new bias arg for sigmoid() to satisfy more use cases. Use sigmoid01() for old behavior.
|
|
156
|
-
- add/update docstrings
|
|
157
|
-
- add desmos links
|
|
114
|
+
- **math:** replace Crossing enum w/ type alias
|
|
115
|
+
- **math:** add new bias arg for sigmoid() to satisfy more use cases. Use sigmoid01() for old behavior.
|
|
116
|
+
- add/update docstrings
|
|
117
|
+
- add desmos links
|
|
158
118
|
|
|
159
|
-
# [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@2.1.1...@thi.ng/math@2.2.0) (2020-11-24)
|
|
119
|
+
# [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@2.1.1...@thi.ng/math@2.2.0) (2020-11-24)
|
|
160
120
|
|
|
161
|
-
### Features
|
|
121
|
+
### Features
|
|
162
122
|
|
|
163
|
-
- **math:** add generalized schlick curve ([4b6eb84](https://github.com/thi-ng/umbrella/commit/4b6eb844f3588679ee78d0e7d60b52cfcec8eb87))
|
|
123
|
+
- **math:** add generalized schlick curve ([4b6eb84](https://github.com/thi-ng/umbrella/commit/4b6eb844f3588679ee78d0e7d60b52cfcec8eb87))
|
|
164
124
|
|
|
165
|
-
# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@2.0.4...@thi.ng/math@2.1.0) (2020-09-13)
|
|
125
|
+
# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@2.0.4...@thi.ng/math@2.1.0) (2020-09-13)
|
|
166
126
|
|
|
167
|
-
### Features
|
|
127
|
+
### Features
|
|
168
128
|
|
|
169
|
-
- **math:** add lens(), invCircular() interpolators ([56dce17](https://github.com/thi-ng/umbrella/commit/56dce1779ee314179771fa14f31d0f36e1ec6a12))
|
|
129
|
+
- **math:** add lens(), invCircular() interpolators ([56dce17](https://github.com/thi-ng/umbrella/commit/56dce1779ee314179771fa14f31d0f36e1ec6a12))
|
|
170
130
|
|
|
171
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.7.13...@thi.ng/math@2.0.0) (2020-07-17)
|
|
131
|
+
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.7.13...@thi.ng/math@2.0.0) (2020-07-17)
|
|
172
132
|
|
|
173
|
-
### Code Refactoring
|
|
133
|
+
### Code Refactoring
|
|
174
134
|
|
|
175
|
-
- **math:** swap `eqDelta()` impls, rename ([5404a56](https://github.com/thi-ng/umbrella/commit/5404a5699a44d7ef6c2ccb5804f2b099a4358eb1))
|
|
135
|
+
- **math:** swap `eqDelta()` impls, rename ([5404a56](https://github.com/thi-ng/umbrella/commit/5404a5699a44d7ef6c2ccb5804f2b099a4358eb1))
|
|
176
136
|
|
|
177
|
-
### BREAKING CHANGES
|
|
137
|
+
### BREAKING CHANGES
|
|
178
138
|
|
|
179
|
-
- **math:** Revert/rename `eqDeltaFixed()` => `eqDelta()`. Rename curr `eqDelta()` => `eqDeltaScaled()`
|
|
180
|
-
- this is essentially a revert to 5018009
|
|
181
|
-
- also keep, but deprecate `eqDeltaFixed()` (synonym for `eqDelta` now)
|
|
139
|
+
- **math:** Revert/rename `eqDeltaFixed()` => `eqDelta()`. Rename curr `eqDelta()` => `eqDeltaScaled()`
|
|
140
|
+
- this is essentially a revert to 5018009
|
|
141
|
+
- also keep, but deprecate `eqDeltaFixed()` (synonym for `eqDelta` now)
|
|
182
142
|
|
|
183
|
-
# [1.7.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.6.0...@thi.ng/math@1.7.0) (2020-02-25)
|
|
143
|
+
# [1.7.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.6.0...@thi.ng/math@1.7.0) (2020-02-25)
|
|
184
144
|
|
|
185
|
-
### Features
|
|
145
|
+
### Features
|
|
186
146
|
|
|
187
|
-
- **math:** add minNonZero2/3() ([49c88d9](https://github.com/thi-ng/umbrella/commit/49c88d917ca7089841f5c26ca92293582d80f148))
|
|
188
|
-
- **math:** add safeDiv() (from [@nkint](https://github.com/nkint) PR [#206](https://github.com/thi-ng/umbrella/issues/206)) ([0567b93](https://github.com/thi-ng/umbrella/commit/0567b93b881467c634fc4723cad986432faecd83))
|
|
147
|
+
- **math:** add minNonZero2/3() ([49c88d9](https://github.com/thi-ng/umbrella/commit/49c88d917ca7089841f5c26ca92293582d80f148))
|
|
148
|
+
- **math:** add safeDiv() (from [@nkint](https://github.com/nkint) PR [#206](https://github.com/thi-ng/umbrella/issues/206)) ([0567b93](https://github.com/thi-ng/umbrella/commit/0567b93b881467c634fc4723cad986432faecd83))
|
|
189
149
|
|
|
190
|
-
# [1.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.5.1...@thi.ng/math@1.6.0) (2020-01-24)
|
|
150
|
+
# [1.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.5.1...@thi.ng/math@1.6.0) (2020-01-24)
|
|
191
151
|
|
|
192
|
-
### Features
|
|
152
|
+
### Features
|
|
193
153
|
|
|
194
|
-
- **math:** add clamp05, update wrapOnce, wrap01, wrap11 ([19af252](https://github.com/thi-ng/umbrella/commit/19af2527a3c7afee4f829e36bf06acaeaf045be7))
|
|
195
|
-
- **math:** add expFactor(), update wrap/wrapOnce() ([bb07348](https://github.com/thi-ng/umbrella/commit/bb07348da2e252641c1bc4de1e577451ead3607b))
|
|
154
|
+
- **math:** add clamp05, update wrapOnce, wrap01, wrap11 ([19af252](https://github.com/thi-ng/umbrella/commit/19af2527a3c7afee4f829e36bf06acaeaf045be7))
|
|
155
|
+
- **math:** add expFactor(), update wrap/wrapOnce() ([bb07348](https://github.com/thi-ng/umbrella/commit/bb07348da2e252641c1bc4de1e577451ead3607b))
|
|
196
156
|
|
|
197
|
-
# [1.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.4.2...@thi.ng/math@1.5.0) (2019-11-09)
|
|
157
|
+
# [1.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.4.2...@thi.ng/math@1.5.0) (2019-11-09)
|
|
198
158
|
|
|
199
|
-
### Features
|
|
159
|
+
### Features
|
|
200
160
|
|
|
201
|
-
- **math:** add mixCubicHermite & tangent fns ([d6b4b37](https://github.com/thi-ng/umbrella/commit/d6b4b3710b80fa1366cb40c193ad745bc63d4253))
|
|
161
|
+
- **math:** add mixCubicHermite & tangent fns ([d6b4b37](https://github.com/thi-ng/umbrella/commit/d6b4b3710b80fa1366cb40c193ad745bc63d4253))
|
|
202
162
|
|
|
203
|
-
# [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.3.0...@thi.ng/math@1.4.0) (2019-07-07)
|
|
163
|
+
# [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.3.0...@thi.ng/math@1.4.0) (2019-07-07)
|
|
204
164
|
|
|
205
|
-
### Features
|
|
165
|
+
### Features
|
|
206
166
|
|
|
207
|
-
- **math:** add signed/unsigned int math ops ([518d79a](https://github.com/thi-ng/umbrella/commit/518d79a))
|
|
167
|
+
- **math:** add signed/unsigned int math ops ([518d79a](https://github.com/thi-ng/umbrella/commit/518d79a))
|
|
208
168
|
|
|
209
|
-
# [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.2.3...@thi.ng/math@1.3.0) (2019-05-22)
|
|
169
|
+
# [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.2.3...@thi.ng/math@1.3.0) (2019-05-22)
|
|
210
170
|
|
|
211
|
-
### Features
|
|
171
|
+
### Features
|
|
212
172
|
|
|
213
|
-
- **math:** add extrema & crossing fns and Crossing enum ([e102f39](https://github.com/thi-ng/umbrella/commit/e102f39))
|
|
214
|
-
- **math:** add sigmoid / sigmoid11 fns ([3f085a3](https://github.com/thi-ng/umbrella/commit/3f085a3))
|
|
173
|
+
- **math:** add extrema & crossing fns and Crossing enum ([e102f39](https://github.com/thi-ng/umbrella/commit/e102f39))
|
|
174
|
+
- **math:** add sigmoid / sigmoid11 fns ([3f085a3](https://github.com/thi-ng/umbrella/commit/3f085a3))
|
|
215
175
|
|
|
216
|
-
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.1.1...@thi.ng/math@1.2.0) (2019-03-18)
|
|
176
|
+
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.1.1...@thi.ng/math@1.2.0) (2019-03-18)
|
|
217
177
|
|
|
218
|
-
### Features
|
|
178
|
+
### Features
|
|
219
179
|
|
|
220
|
-
- **math:** add consts ([28e9898](https://github.com/thi-ng/umbrella/commit/28e9898))
|
|
221
|
-
- **math:** add cos/sin approximations, loc(), add docstrings ([78ed751](https://github.com/thi-ng/umbrella/commit/78ed751))
|
|
222
|
-
- **math:** more trigonometry ([b5e1c02](https://github.com/thi-ng/umbrella/commit/b5e1c02))
|
|
180
|
+
- **math:** add consts ([28e9898](https://github.com/thi-ng/umbrella/commit/28e9898))
|
|
181
|
+
- **math:** add cos/sin approximations, loc(), add docstrings ([78ed751](https://github.com/thi-ng/umbrella/commit/78ed751))
|
|
182
|
+
- **math:** more trigonometry ([b5e1c02](https://github.com/thi-ng/umbrella/commit/b5e1c02))
|
|
223
183
|
|
|
224
|
-
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.0.1...@thi.ng/math@1.1.0) (2019-02-05)
|
|
184
|
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.0.1...@thi.ng/math@1.1.0) (2019-02-05)
|
|
225
185
|
|
|
226
|
-
### Features
|
|
186
|
+
### Features
|
|
227
187
|
|
|
228
|
-
- **math:** add minError() search ([cae8394](https://github.com/thi-ng/umbrella/commit/cae8394))
|
|
229
|
-
- **math:** add PHI const ([57d4488](https://github.com/thi-ng/umbrella/commit/57d4488))
|
|
230
|
-
- **math:** add simplifyRatio() ([31e369b](https://github.com/thi-ng/umbrella/commit/31e369b))
|
|
188
|
+
- **math:** add minError() search ([cae8394](https://github.com/thi-ng/umbrella/commit/cae8394))
|
|
189
|
+
- **math:** add PHI const ([57d4488](https://github.com/thi-ng/umbrella/commit/57d4488))
|
|
190
|
+
- **math:** add simplifyRatio() ([31e369b](https://github.com/thi-ng/umbrella/commit/31e369b))
|
|
231
191
|
|
|
232
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@0.2.2...@thi.ng/math@1.0.0) (2019-01-21)
|
|
192
|
+
# [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@0.2.2...@thi.ng/math@1.0.0) (2019-01-21)
|
|
233
193
|
|
|
234
|
-
### Build System
|
|
194
|
+
### Build System
|
|
235
195
|
|
|
236
|
-
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
196
|
+
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
237
197
|
|
|
238
|
-
### Features
|
|
198
|
+
### Features
|
|
239
199
|
|
|
240
|
-
- **math:** add absInnerAngle() ([a78bd87](https://github.com/thi-ng/umbrella/commit/a78bd87))
|
|
241
|
-
- **math:** add constants ([8fa05c3](https://github.com/thi-ng/umbrella/commit/8fa05c3))
|
|
242
|
-
- **math:** add cossin(), add opt scale arg for sincos() ([0043fb5](https://github.com/thi-ng/umbrella/commit/0043fb5))
|
|
243
|
-
- **math:** update eqDelta w/ adaptive eps, rename old => eqDeltaFixed ([5018009](https://github.com/thi-ng/umbrella/commit/5018009))
|
|
200
|
+
- **math:** add absInnerAngle() ([a78bd87](https://github.com/thi-ng/umbrella/commit/a78bd87))
|
|
201
|
+
- **math:** add constants ([8fa05c3](https://github.com/thi-ng/umbrella/commit/8fa05c3))
|
|
202
|
+
- **math:** add cossin(), add opt scale arg for sincos() ([0043fb5](https://github.com/thi-ng/umbrella/commit/0043fb5))
|
|
203
|
+
- **math:** update eqDelta w/ adaptive eps, rename old => eqDeltaFixed ([5018009](https://github.com/thi-ng/umbrella/commit/5018009))
|
|
244
204
|
|
|
245
|
-
### BREAKING CHANGES
|
|
205
|
+
### BREAKING CHANGES
|
|
246
206
|
|
|
247
|
-
- enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
248
|
-
- build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
249
|
-
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
|
|
207
|
+
- enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
208
|
+
- build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
209
|
+
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
|
|
250
210
|
|
|
251
|
-
## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@0.2.0...@thi.ng/math@0.2.1) (2018-11-20)
|
|
211
|
+
## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@0.2.0...@thi.ng/math@0.2.1) (2018-11-20)
|
|
252
212
|
|
|
253
|
-
### Bug Fixes
|
|
213
|
+
### Bug Fixes
|
|
254
214
|
|
|
255
|
-
- **math:** fix [#60](https://github.com/thi-ng/umbrella/issues/60), add range check for norm() ([143c47c](https://github.com/thi-ng/umbrella/commit/143c47c))
|
|
215
|
+
- **math:** fix [#60](https://github.com/thi-ng/umbrella/issues/60), add range check for norm() ([143c47c](https://github.com/thi-ng/umbrella/commit/143c47c))
|
|
256
216
|
|
|
257
|
-
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@0.1.0...@thi.ng/math@0.2.0) (2018-10-21)
|
|
217
|
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@0.1.0...@thi.ng/math@0.2.0) (2018-10-21)
|
|
258
218
|
|
|
259
|
-
### Features
|
|
219
|
+
### Features
|
|
260
220
|
|
|
261
|
-
- **math:** add sincos() & roundEps() ([f891c41](https://github.com/thi-ng/umbrella/commit/f891c41))
|
|
262
|
-
- **math:** migrate mixCubic()/mixQuadratic() from geom package ([4a47daa](https://github.com/thi-ng/umbrella/commit/4a47daa))
|
|
221
|
+
- **math:** add sincos() & roundEps() ([f891c41](https://github.com/thi-ng/umbrella/commit/f891c41))
|
|
222
|
+
- **math:** migrate mixCubic()/mixQuadratic() from geom package ([4a47daa](https://github.com/thi-ng/umbrella/commit/4a47daa))
|
|
263
223
|
|
|
264
|
-
# 0.1.0 (2018-10-17)
|
|
224
|
+
# 0.1.0 (2018-10-17)
|
|
265
225
|
|
|
266
|
-
### Features
|
|
226
|
+
### Features
|
|
267
227
|
|
|
268
228
|
- **math:** extract maths fns from [@thi](https://github.com/thi).ng/vectors as new package ([4af1fba](https://github.com/thi-ng/umbrella/commit/4af1fba))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/math",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.7",
|
|
4
4
|
"description": "Assorted common math functions & utilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.0
|
|
37
|
+
"@thi.ng/api": "^8.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@thi.ng/testament": "^0.1.6"
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"thi.ng": {
|
|
124
124
|
"year": 2013
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
|
|
127
127
|
}
|