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
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
Stephen Canon
8b2fd7bbde
Provide transliteration of Чебышёв.
2025-08-12 14:52:42 -04:00
Stephen Canon
b43c10c1e3
Merge branch 'main' into docc-stuff
2025-08-12 13:23:02 -04:00
Stephen Canon
61a8b91b3e
Some formatting cleanup around code blocks.
2025-08-12 13:20:29 -04:00
Stephen Canon
8c4747f116
Merge pull request #321 from stephentyrone/remove-2sum-assert
...
Remove precondition assert from Augmented.sum(large:small:)
2025-08-11 19:34:53 -04:00
Stephen Canon
c3757dc266
Fix typo. (Thanks, Guillaume)
2025-08-11 19:33:27 -04:00
Stephen Canon
d86286fc8b
Remove precondition assert from Augmented.sum(large:small:)
...
This is potentially useful to identify some bugs, but there are also algorithms (notably Kahan summation) that can be written in terms of fast2sum but would fail this check. Rework documentation to account for the change.
2025-08-11 18:14:41 -04:00
Stephen Canon
9c548804c8
Massage docc files to make the Documentation check happier
2025-08-11 18:11:44 -04:00
Stephen Canon
acbf4257ca
Remove precondition assert from Augmented.sum(large:small:)
...
This is potentially useful to identify some bugs, but there are also algorithms (notably Kahan summation) that can be written in terms of fast2sum but would fail this check. Rework documentation to account for the change.
2025-08-11 18:09:22 -04:00
Stephen Canon
6ff93f255e
Merge pull request #319 from lamtrinhdev/Fix_Typo_Issue
...
Correct typo issue at ApproximateEquality.swift
2025-08-09 20:18:34 -04:00
Stephen Canon
af0352e8b1
Some additional organization for Complex docc.
2025-08-09 14:29:05 -04:00
LamTrinh.Dev
e79692fab1
Correct typo issue from occured to occurred at ApproximateEquality.swift
2025-08-10 01:15:04 +07:00
Stephen Canon
c1e6972eeb
Merge pull request #315 from stephentyrone/algebraic-field-magnitude
...
Constrain AlgebraicField to required Magnitude:AlgebraicField
2025-08-08 17:17:28 -04:00
Stephen Canon
da6c765795
Constrain AlgebraicField to required Magnitude:AlgebraicField
...
This is formally a source-breaking change. However it is expected to not be source-breaking in practice, because any conforming type either has a real magnitude (in the case of real or complex types), which would necessarily have to support all the AF operations to implement the type, or is perhaps a finite field with a bogus stand-in Magnitude.
2025-08-08 13:45:33 -04:00
Stephen Canon
2361b4959b
Add overview for RealModule documentation.
2025-08-08 13:43:30 -04:00
Stephen Canon
264b17140b
Merge pull request #314 from stephentyrone/relax-f16-x86
...
Restore relaxed mul/add bindings for Float16 on x86
2025-08-08 10:07:29 -04:00
Stephen Canon
5cc83cc00a
WIP
2025-08-08 09:56:01 -04:00
Stephen Canon
5b34639450
Further documentation work for Complex.
2025-08-08 09:55:59 -04:00
Stephen Canon
450691764d
typo.
2025-08-08 09:55:56 -04:00
Stephen Canon
95e9441f8c
Changes from review feedback.
2025-08-08 09:55:54 -04:00
Stephen Canon
d2f6811b87
More docc changes.
2025-08-08 09:55:47 -04:00