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
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
00e141fb19
Update quaternion documentation
2025-08-14 21:46:04 -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
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
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
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
Stephen Canon
2c19b7b8cd
Last few review notes on complex.
2025-08-12 15:13:07 -04:00
Stephen Canon
221387985a
Further review edits from Nate.
2025-08-12 15:04:11 -04:00