@thi.ng/math 5.0.2 → 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 -114
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,15 +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.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)
|
|
15
7
|
|
|
16
8
|
**Note:** Version bump only for package @thi.ng/math
|
|
17
9
|
|
|
@@ -48,189 +40,189 @@ Also:
|
|
|
48
40
|
|
|
49
41
|
|
|
50
42
|
|
|
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)
|
|
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)
|
|
52
44
|
|
|
53
|
-
### Bug Fixes
|
|
45
|
+
### Bug Fixes
|
|
54
46
|
|
|
55
|
-
- **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))
|
|
56
48
|
|
|
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)
|
|
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)
|
|
58
50
|
|
|
59
|
-
### Features
|
|
51
|
+
### Features
|
|
60
52
|
|
|
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))
|
|
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))
|
|
63
55
|
|
|
64
|
-
### BREAKING CHANGES
|
|
56
|
+
### BREAKING CHANGES
|
|
65
57
|
|
|
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
|
|
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
|
|
71
63
|
|
|
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)
|
|
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)
|
|
73
65
|
|
|
74
|
-
### Bug Fixes
|
|
66
|
+
### Bug Fixes
|
|
75
67
|
|
|
76
|
-
- **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))
|
|
77
69
|
|
|
78
|
-
### Features
|
|
70
|
+
### Features
|
|
79
71
|
|
|
80
|
-
- **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))
|
|
81
73
|
|
|
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)
|
|
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)
|
|
83
75
|
|
|
84
|
-
### Features
|
|
76
|
+
### Features
|
|
85
77
|
|
|
86
|
-
- **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))
|
|
87
79
|
|
|
88
|
-
### Performance Improvements
|
|
80
|
+
### Performance Improvements
|
|
89
81
|
|
|
90
|
-
- **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))
|
|
91
83
|
|
|
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)
|
|
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)
|
|
93
85
|
|
|
94
|
-
### Features
|
|
86
|
+
### Features
|
|
95
87
|
|
|
96
|
-
- **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))
|
|
97
89
|
|
|
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)
|
|
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)
|
|
99
91
|
|
|
100
|
-
### Features
|
|
92
|
+
### Features
|
|
101
93
|
|
|
102
|
-
- **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))
|
|
103
95
|
|
|
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)
|
|
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)
|
|
105
97
|
|
|
106
|
-
### Bug Fixes
|
|
98
|
+
### Bug Fixes
|
|
107
99
|
|
|
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))
|
|
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))
|
|
109
101
|
|
|
110
|
-
### Code Refactoring
|
|
102
|
+
### Code Refactoring
|
|
111
103
|
|
|
112
|
-
- **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))
|
|
113
105
|
|
|
114
|
-
### Features
|
|
106
|
+
### Features
|
|
115
107
|
|
|
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))
|
|
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))
|
|
119
111
|
|
|
120
|
-
### BREAKING CHANGES
|
|
112
|
+
### BREAKING CHANGES
|
|
121
113
|
|
|
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
|
|
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
|
|
126
118
|
|
|
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)
|
|
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)
|
|
128
120
|
|
|
129
|
-
### Features
|
|
121
|
+
### Features
|
|
130
122
|
|
|
131
|
-
- **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))
|
|
132
124
|
|
|
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)
|
|
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)
|
|
134
126
|
|
|
135
|
-
### Features
|
|
127
|
+
### Features
|
|
136
128
|
|
|
137
|
-
- **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))
|
|
138
130
|
|
|
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)
|
|
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)
|
|
140
132
|
|
|
141
|
-
### Code Refactoring
|
|
133
|
+
### Code Refactoring
|
|
142
134
|
|
|
143
|
-
- **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))
|
|
144
136
|
|
|
145
|
-
### BREAKING CHANGES
|
|
137
|
+
### BREAKING CHANGES
|
|
146
138
|
|
|
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)
|
|
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)
|
|
150
142
|
|
|
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)
|
|
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)
|
|
152
144
|
|
|
153
|
-
### Features
|
|
145
|
+
### Features
|
|
154
146
|
|
|
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))
|
|
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))
|
|
157
149
|
|
|
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)
|
|
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)
|
|
159
151
|
|
|
160
|
-
### Features
|
|
152
|
+
### Features
|
|
161
153
|
|
|
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))
|
|
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))
|
|
164
156
|
|
|
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)
|
|
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)
|
|
166
158
|
|
|
167
|
-
### Features
|
|
159
|
+
### Features
|
|
168
160
|
|
|
169
|
-
- **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))
|
|
170
162
|
|
|
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)
|
|
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)
|
|
172
164
|
|
|
173
|
-
### Features
|
|
165
|
+
### Features
|
|
174
166
|
|
|
175
|
-
- **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))
|
|
176
168
|
|
|
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)
|
|
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)
|
|
178
170
|
|
|
179
|
-
### Features
|
|
171
|
+
### Features
|
|
180
172
|
|
|
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))
|
|
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))
|
|
183
175
|
|
|
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)
|
|
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)
|
|
185
177
|
|
|
186
|
-
### Features
|
|
178
|
+
### Features
|
|
187
179
|
|
|
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))
|
|
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))
|
|
191
183
|
|
|
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)
|
|
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)
|
|
193
185
|
|
|
194
|
-
### Features
|
|
186
|
+
### Features
|
|
195
187
|
|
|
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))
|
|
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))
|
|
199
191
|
|
|
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)
|
|
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)
|
|
201
193
|
|
|
202
|
-
### Build System
|
|
194
|
+
### Build System
|
|
203
195
|
|
|
204
|
-
- 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))
|
|
205
197
|
|
|
206
|
-
### Features
|
|
198
|
+
### Features
|
|
207
199
|
|
|
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))
|
|
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))
|
|
212
204
|
|
|
213
|
-
### BREAKING CHANGES
|
|
205
|
+
### BREAKING CHANGES
|
|
214
206
|
|
|
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.
|
|
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.
|
|
218
210
|
|
|
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)
|
|
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)
|
|
220
212
|
|
|
221
|
-
### Bug Fixes
|
|
213
|
+
### Bug Fixes
|
|
222
214
|
|
|
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))
|
|
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))
|
|
224
216
|
|
|
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)
|
|
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)
|
|
226
218
|
|
|
227
|
-
### Features
|
|
219
|
+
### Features
|
|
228
220
|
|
|
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))
|
|
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))
|
|
231
223
|
|
|
232
|
-
# 0.1.0 (2018-10-17)
|
|
224
|
+
# 0.1.0 (2018-10-17)
|
|
233
225
|
|
|
234
|
-
### Features
|
|
226
|
+
### Features
|
|
235
227
|
|
|
236
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,10 +34,10 @@
|
|
|
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
|
-
"@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": "852cd2450617c86d15d18477dc634f17f04202eb"
|
|
127
127
|
}
|