Christopher Kormanyos
bb7767de20
LCOV-Exclude octonion Input-Streaming
2024-02-12 18:47:08 +01:00
Christopher Kormanyos
43c7cd7381
Repair typo semicolon in proper place
2024-02-11 17:58:45 +01:00
Christopher Kormanyos
6ac438c888
Pick up a few more coverage lines
2024-02-11 17:48:22 +01:00
Nick Thompson
f8da4ba2be
Units compatibility for optimization
2024-02-10 20:58:18 -08:00
jzmaddock
bdcecaa7be
Correct variable name.
2024-02-10 10:42:45 +00:00
jzmaddock
48b249115f
Add better bessel_iterator tests.
2024-02-10 10:33:36 +00:00
jzmaddock
319a521430
Merge branch 'develop' into improve_coverage
...
Fixed Conflicts:
test/Jamfile.v2
test/condition_number_test.cpp
2024-02-10 09:54:04 +00:00
jzmaddock
da7a945e02
Add missing using statement.
2024-02-10 09:27:35 +00:00
Nick Thompson
222d266048
CMA-ES
2024-02-09 12:09:53 -08:00
jzmaddock
851c171f16
More bessel function tests for improved coverage.
...
Kill some unused variable warnings.
Mark up code we think is unreachable but aren't sure about.
2024-02-09 19:34:42 +00:00
jzmaddock
eef497efea
Make bessel_k_prime integer order aware.
2024-02-09 18:25:31 +00:00
jzmaddock
1d1a52cc27
Correct gauss and gauss_kronrod integrators with strange-precision types.
2024-02-09 18:11:18 +00:00
John Maddock
26e21c9720
Merge branch 'develop' into improve_coverage
2024-02-09 16:24:26 +00:00
jzmaddock
cbf6b96a09
Merge pull request #1079 from boostorg/issue1075
...
Update pre-computed constexpr Gauss and Gauss-Kronrod constants
2024-02-09 12:28:23 +00:00
jzmaddock
b8ea32436a
Correct concept failures.
2024-02-08 19:56:27 +00:00
jzmaddock
d6ec06df3a
Improve Bessel K and Y prime coverage.
...
Improve overflow handling in the implementations themselves.
2024-02-08 19:25:56 +00:00
jzmaddock
2adbc21370
Correct assertion usage.
2024-02-06 18:31:28 +00:00
jzmaddock
60134c06e9
Improve Bessel Y derivative coverage.
...
Also fixes a bug in bessel_y_derivative_small_z_series corner case.
2024-02-06 18:26:35 +00:00
John Maddock
e1033c9558
Merge branch 'develop' into improve_coverage
2024-02-06 15:01:40 +00:00
jzmaddock
a57fb0a894
Reinstate root finding protection against huge jumps.
...
Apply error handling more rigorously to any root finding client.
Mark evaluation_error's as not reachable for code coverage.
Fixes https://github.com/boostorg/math/issues/184 .
2024-02-05 19:16:33 +00:00
Andrew Johnson
12e33a5db4
Avoid unused variable warning
2024-02-04 13:54:00 +02:00
jzmaddock
549baa5677
Correct gauss method selection logic.
2024-02-03 18:25:11 +00:00
jzmaddock
c5feae34bb
Simplify tables of constants in gauss and gauss_kronrod code.
...
Also mark up anything that uses BOOST_MATH_HUGE_CONSTANT as unreachable by code coverage as gcov seems to have an issue with it.
2024-02-02 18:48:57 +00:00
jzmaddock
87a905ab1a
Cast result of weights() calls to the correct type.
2024-02-01 19:10:52 +00:00
jzmaddock
c35f12c1f5
Update pre-computed constexpr Gauss and Gauss-Kronrod constants
...
to always store literal types.
Fixes: https://github.com/boostorg/math/issues/1077 .
2024-02-01 18:43:41 +00:00
jzmaddock
d0bade9858
Improve Bessel Y coverage.
2024-02-01 16:56:39 +00:00
jzmaddock
b30b637f35
Remove some impossible to reach bessel_jn code.
...
Add some more tests for the code that can be reached.
2024-01-29 18:05:37 +00:00
jzmaddock
14eee3781e
Correct assert usage.
2024-01-26 19:43:14 +00:00
jzmaddock
797714419b
Continue improving Bessel coverage and removing dead code.
2024-01-26 19:31:34 +00:00
Nick
fccad84bf5
Random search ( #1071 )
2024-01-24 17:26:24 -08:00
jzmaddock
317b7a64e4
More Bessel function coverage.
...
Remove I0 initializers and rely on C++11 thread safe static const initialization.
2024-01-23 17:18:25 +00:00
jzmaddock
36496d4fb7
Correct sign of cyl_neumann(0,0) result in multiprecision case.
2024-01-23 12:18:10 +00:00
Nick
a1f7a305ee
Algorithm jSO ( #1065 )
...
Follows: Brest, Janez, Mirjam Sepesy Maucec, and Borko Boskovic. "Single objective real-parameter optimization: Algorithm jSO." 2017 IEEE congress on evolutionary computation (CEC). IEEE, 2017.
2024-01-22 14:06:52 -08:00
jzmaddock
27b3f9ea09
Begin improving ibeta coverage.
2024-01-22 19:28:16 +00:00
jzmaddock
7431f8141c
Improve bernoulli and bessel coverage.
2024-01-22 13:23:33 +00:00
jzmaddock
9e18943090
Improve test coverage.
...
Try and get all the special_functions/a*.hpp files up to 100%.
2024-01-21 16:58:08 +00:00
jzmaddock
9f5e81d4ea
Fix missing newline.
2024-01-21 10:26:53 +00:00
jzmaddock
469541984d
Improve cstdfloat iostream code.
...
Copies input stream parsing from multiprecision.
Fixes https://github.com/boostorg/math/issues/1064
This is still not "proper" iostream code, but it's much better than it was.
2024-01-20 19:04:59 +00:00
Nick
de9a1a0ee5
Fix race conditions in differential evolution ( #1063 )
...
Through a combination of silly mistakes, I missed a pile of race conditions in the OpenMP threading.
Switch to C++ threading. Note that this change requires serial generation of trial vectors.
Hopefully I can figure out to parallelize the generation of trial vectors to reduce the serial section a la Ahmdahl's law,
while simultaneously keeping thread sanitizer happy.
2024-01-17 10:20:41 -08:00
Nick
4ee83916c5
Differential evolution ( #1062 )
...
* Differential evolution
---------
Co-authored-by: Matt Borland <matt@mattborland.com >
2024-01-01 17:09:16 -08:00
Matt Borland
8332808ebc
Address review comments [CI SKIP]
2023-12-22 07:13:10 -05:00
Matt Borland
c4e15ddda0
Fix index for MSVC 14.0
2023-12-22 06:06:57 -05:00
Matt Borland
8d575067e9
Rename bessel components
2023-12-22 05:17:55 -05:00
Matt Borland
a8ee8eb5d8
Protect dependencies with macros
2023-12-22 05:15:38 -05:00
Matt Borland
de67ad3207
Rename our components
2023-12-22 05:09:32 -05:00
Matt Borland
bd49c8311a
Improve logic and shield other boost libraries in non-standalone mode
2023-12-21 08:33:23 -05:00
Matt Borland
e24e884562
Undef I after pushing onto the stack
2023-12-21 07:48:13 -05:00
Matt Borland
23d54b385b
Fix for msvc defining _Complex_I in complex.h
2023-12-21 07:20:24 -05:00
Matt Borland
b3a21bcbcb
Fix cstdfloat numeric limits detection macro for libstdc++14
2023-12-13 08:43:43 +01:00
Nick
e0c17f6856
Improve accuracy of quartic_roots ( #1056 )
2023-11-27 17:52:56 +01:00