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
1ded0b7c56
Update transformation hashing and equality tests
2025-08-14 21:46:31 -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
Markus Winter
1b1c7cddf5
Add canonicalized transform representation to Quaternion
2025-08-14 21:46:27 -04:00
Markus Winter
e7aa60d838
Add canonicalized quaternion representation
2025-08-14 21:46:25 -04:00
Markus Winter
7896ee2eef
Update rotation documentation on Quaternion
2025-08-14 21:46:24 -04:00
Markus Winter
e5b84606f5
Update rotation equals documentation on Quaternion
2025-08-14 21:46:23 -04:00
Markus Winter
273c6f7e54
Refine Hashable and Equatable on Quaternion
2025-08-14 21:46:23 -04:00
Markus Winter
8ec29a889b
Change initializer on quaternion to be more explicit
2025-08-14 21:46:22 -04:00
Markus Winter
03e1f5ba6b
Split static imaginary units on quaternion
2025-08-14 21:46:20 -04:00
Markus Winter
4188358cb4
Change quaternion initializer to more explicit variants
2025-08-14 21:46:19 -04:00
Markus Winter
fcab66685d
Use shorthand isZero operator on SIMD storage of quaternion
2025-08-14 21:46:17 -04:00
Markus Winter
bb05e58135
Fix isNormal on quaternion
2025-08-14 21:46:15 -04:00
Markus Winter
5e1de5d8e0
Change the conjugate implementation on quaternion
2025-08-14 21:46:13 -04:00
Markus Winter
9b7cbcdb4a
Flip storage order on quaternion to real part last
...
This commit will also replace references to a,b,c,d with r,x,y,z respectivly.
2025-08-14 21:46:12 -04:00
Markus Winter
43932b1cfe
Fix parameter on multiplication header
2025-08-14 21:46:11 -04:00
Markus Winter
09c038ed3b
Replace imaginary setter on quaternion with SIMD variant
2025-08-14 21:46:09 -04:00
Markus Winter
69100e86b4
Update documentation on quaternions
2025-08-14 21:46:07 -04:00
Markus Winter
2bf3285bde
Make type casts explicit in quaternion tests
2025-08-14 21:46:06 -04:00
Markus Winter
4dd08f1c10
Remove debug print in quaternion tests
2025-08-14 21:46:05 -04:00
Markus Winter
00e141fb19
Update quaternion documentation
2025-08-14 21:46:04 -04:00
Markus Winter
000df70c1b
Update quaternion tests
2025-08-14 21:46:02 -04:00
Markus Winter
bdd9b2f4bc
Update README for inclusion of quaternioin module
2025-08-14 21:45:56 -04:00
Markus Winter
2f438bd6c9
Add more basic arithmetic tests to quaternions
2025-08-14 21:45:03 -04:00
Markus Winter
57fc357bfc
Fix invalid multiplication of quaternions
2025-08-14 21:45:01 -04:00
Markus Winter
7fb314a581
Update header documentation on quaternion
2025-08-14 21:45:00 -04:00
Markus Winter
f1e353ec03
Split quaternion norms from polar implementation
2025-08-14 21:44:59 -04:00
Markus Winter
e2ad631369
Update README in quaaternion module
2025-08-14 21:44:57 -04:00
Markus Winter
e29fa04051
Add first quaternion arithmetic tests
2025-08-14 21:44:56 -04:00
Markus Winter
22ec1b960b
Add property tests on quaternions
2025-08-14 21:44:54 -04:00
Markus Winter
99a7c6113d
Fix typo in Quaternion Documentation
2025-08-14 21:44:52 -04:00
Markus Winter
15fee28c1f
Update quaternions
2025-08-14 21:44:50 -04:00
Markus Winter
dd731f3362
Add quaternion module
2025-08-14 21:44:45 -04:00
Stephen Canon
be0d7c65d1
Merge pull request #325 from stephentyrone/enable-wasm-testing
...
Enable workflows testing for wasm.
2025-08-14 12:57:32 -04:00
Stephen Canon
5bfe9e16ce
Remove relaxed add/mul for Float16 on wasm, as they cannot be defined.
2025-08-14 09:45:04 -04:00
Stephen Canon
46619b49ec
Attempt to turn on workflows testing for wasm.
2025-08-14 09:40:35 -04:00
Stephen Canon
231815ea4b
Merge pull request #324 from stephentyrone/disable-windows-5.9
...
Disable Swift 5.9 testing on Windows for now
2025-08-14 09:36:21 -04:00
Stephen Canon
e74905c6d5
Disable Swift 5.9 testing on Windows for now
...
That docker image seems to be broken, so it's all false positives.
2025-08-14 09:08:40 -04:00
Stephen Canon
a50d9575fe
Merge pull request #265 from stephentyrone/docc-stuff
...
Documentation overhaul, including broad .docc adoption and organization.
2025-08-13 23:02:13 -04:00
Stephen Canon
1e94d23860
Cleanup further doc comment typos.
2025-08-13 14:37:51 -04:00
Stephen Canon
b3fe4357f8
Fix typo.
2025-08-13 13:50:49 -04:00
Stephen Canon
aa901641d1
Further docc improvements for RealModule.
...
This commit _also_ relaxes the constraint on Augmented algorithms from Real to FloatingPoint. It's worth calling out that fastTwoSum does not work with decimal floating-point types, so the unordered `Augemented.sum(_:_:)` now has a radix check and calls into the ordered twoSum function instead for Decimal. This makes more sense that a `BinaryFloatingPoint` constraint, as otherwise generic code written against Real or FloatingPoint would have to do the check at every call site.
2025-08-13 12:38:56 -04:00