Stephen Canon
|
e4b6b631fb
|
Cleanup some swift 6 warnings.
|
2025-08-15 16:13:56 -04:00 |
|
Markus Winter
|
9a726a793e
|
Remove AlgebraicField conformance on quaternions
Replace the (incorrect) conformance on AlgebraicField with a conformance to SignedNumeric
|
2025-08-14 21:50:12 -04:00 |
|
Markus Winter
|
98b9088b4c
|
Replace argument with halfAngle
|
2025-08-14 21:50:11 -04:00 |
|
Markus Winter
|
bb31091fdc
|
Simplify implementation of halfAngle
|
2025-08-14 21:50:10 -04:00 |
|
Markus Winter
|
8a9ad438cb
|
Rename halfAngle to argument and make it public
|
2025-08-14 21:50:08 -04:00 |
|
 Joe SchulteandMarkus Winter
|
1bab0de693
|
Update Sources/QuaternionModule/README.md
Co-authored-by: Markus Winter <markus@wntr.me>
|
2025-08-14 21:50:07 -04:00 |
|
Joe Schulte
|
0b6cdc3844
|
Update Quaternions README.md
|
2025-08-14 21:50:05 -04:00 |
|
Markus Winter
|
e5ed4ac651
|
Fix header documentation
|
2025-08-14 21:50:02 -04:00 |
|
Markus Winter
|
eeff10ed00
|
Sync quaternion module structure with complex module
|
2025-08-14 21:49:57 -04:00 |
|
Markus Winter
|
aa376839bf
|
Remove log and pow functions
|
2025-08-14 21:49:21 -04:00 |
|
Markus Winter
|
bc944e79f0
|
Update trig tests
|
2025-08-14 21:49:20 -04:00 |
|
Markus Winter
|
ff9f52fc92
|
Update implementations of sin/cos/tan
|
2025-08-14 21:49:19 -04:00 |
|
Markus Winter
|
360b914e9c
|
First stab at log1p
|
2025-08-14 21:49:18 -04:00 |
|
Markus Winter
|
e7c68b70b7
|
Add norms to imaginary helper
|
2025-08-14 21:49:17 -04:00 |
|
Markus Winter
|
c142bcedfe
|
Add more comments to pow like functions
|
2025-08-14 21:49:15 -04:00 |
|
Markus Winter
|
e8940b786e
|
Fix sign of tan special case and add more comments
|
2025-08-14 21:49:13 -04:00 |
|
Markus Winter
|
5ea4f613d3
|
Fix todos and update comments
|
2025-08-14 21:49:12 -04:00 |
|
Markus Winter
|
f99c42cacb
|
Fix a typo in the comments
|
2025-08-14 21:49:10 -04:00 |
|
Markus Winter
|
9d7b668a10
|
Add log to quaternion
|
2025-08-14 21:49:09 -04:00 |
|
Markus Winter
|
42c26ee85d
|
Add pow, sqrt and root to quaternions
|
2025-08-14 21:49:07 -04:00 |
|
Markus Winter
|
844aff56c5
|
Add cos, sin and tan to quaternions
|
2025-08-14 21:49:06 -04:00 |
|
Markus Winter
|
b197152494
|
Add cosh, sinh and tanh to quaternions
|
2025-08-14 21:49:04 -04:00 |
|
Markus Winter
|
85281cc937
|
Add expMinusOne to quaternions
|
2025-08-14 21:49:03 -04:00 |
|
Markus Winter
|
52bb20ad8f
|
Add more comments and clean up comments and variable names
|
2025-08-14 21:49:02 -04:00 |
|
Markus Winter
|
af266bb9d9
|
Add an early skip when calculating the length in exp
|
2025-08-14 21:49:00 -04:00 |
|
Markus Winter
|
92af6727ee
|
Add exponential function to quaternions
|
2025-08-14 21:48:58 -04:00 |
|
Markus Winter
|
e9dfc766be
|
Move imaginary helper functions into a distinct file
|
2025-08-14 21:48:56 -04:00 |
|
Markus Winter
|
211b94fb16
|
Add isReal to quaternion and refined comments on isPure
|
2025-08-14 21:48:51 -04:00 |
|
Markus Winter
|
ea46df54b9
|
Account for over and underflow in quaternion length
|
2025-08-14 21:48:17 -04:00 |
|
Markus Winter
|
fda8513ec0
|
Prevents infinite loop in quaternion act on zero lanes
|
2025-08-14 21:48:13 -04:00 |
|
Markus Winter
|
1b541a1581
|
Update transformation APIs to use the new SIMD initializer on quaternion
|
2025-08-14 21:47:29 -04:00 |
|
Markus Winter
|
acbdeeaa3d
|
Update Transformation.md of quaternions
|
2025-08-14 21:47:27 -04:00 |
|
Markus Winter
|
daff65f930
|
Account for underflow in quaternion rotation
|
2025-08-14 21:47:24 -04:00 |
|
Markus Winter
|
22f1901206
|
Account for over/underflow on halfAngle and axis calculations
|
2025-08-14 21:47:23 -04:00 |
|
Markus Winter
|
111d482833
|
Update polar initializer to assume a unit axis parameter
|
2025-08-14 21:47:19 -04:00 |
|
Markus Winter
|
5c4bce2635
|
Add length parameter to angle/axis initializer
|
2025-08-14 21:47:18 -04:00 |
|
Markus Winter
|
31bf80751a
|
Update documentation of act(on:)
|
2025-08-14 21:47:17 -04:00 |
|
Markus Winter
|
bd99cdeffb
|
Add links to documentation and fix typo in comment
|
2025-08-14 21:47:15 -04:00 |
|
Markus Winter
|
5b96cba10e
|
Rename half angle with phase to make it more distinct
|
2025-08-14 21:47:15 -04:00 |
|
Markus Winter
|
e99724f03b
|
Add transformation documentation
|
2025-08-14 21:47:13 -04:00 |
|
Markus Winter
|
896142fc32
|
Add method to rotate a vector by a quaternion
|
2025-08-14 21:47:10 -04:00 |
|
Markus Winter
|
528fb9daf1
|
Add transformation representations
|
2025-08-14 21:47:08 -04:00 |
|
Markus Winter
|
ab8c3d9ddb
|
Exposes QuaternionModule as part of the Numerics module
|
2025-08-14 21:47:02 -04:00 |
|
Markus Winter
|
1fe4ce7b1f
|
Update documentation on 3D transformations
|
2025-08-14 21:46:37 -04:00 |
|
Markus Winter
|
e50371b030
|
Rename transformEquals to equals(as3DTransform:)
|
2025-08-14 21:46:35 -04:00 |
|
Markus Winter
|
39bd408dad
|
Remove duplicated comment on equatable
|
2025-08-14 21:46:33 -04:00 |
|
Markus Winter
|
06341f3bea
|
Fix invalid canonicalizedTransform for quaternions with negative real
|
2025-08-14 21:46:33 -04:00 |
|
Markus Winter
|
fb718d6f74
|
Rename transformCanonicalized to canonicalizedTransform
|
2025-08-14 21:46:30 -04:00 |
|
Markus Winter
|
a5c6f27f26
|
Rename rotationEquals to transformationEquals on Quaternion
|
2025-08-14 21:46:29 -04:00 |
|
Markus Winter
|
a5478a7885
|
Change hashing behavior of Quaternion to use the canonical form
|
2025-08-14 21:46:28 -04:00 |
|