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