2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 07:02:08 +00:00
Commit Graph

2315 Commits

Author SHA1 Message Date
jzmaddock
c712041547 Merge branch 'develop' of https://github.com/boostorg/math into develop 2020-03-13 18:06:41 +00:00
jzmaddock
5c3544c44e Qualify calls to erf/erfc so we don't accidentally find ::erf(double). 2020-03-13 18:06:20 +00:00
Conor Jackson
54a4723309 Fixed type mismatch in exp_sinh quadrature
Fixed bug in quadrature::exp_sinh, which caused it to fail to compile
when used with a complex valued integrand over a non-native range. This
was due to the lambdas perfoming the change of variables to shift onto
the native range requiring the return type to be Real, rather than using
the type infered from the integrand.
2020-03-10 18:30:16 +00:00
Gattag
79417bfd34 Fix typo in lambert w diagnostic output constant
Fixes #319
2020-03-02 13:41:57 -05:00
Axel Huebl
cd185e7738 Factorials: Fix Comparison Warning
Fix GCC warning:
```
warning #186-D: pointless comparison of unsigned integer with zero
```

`n` is an unsigned and always `>= 0`.
2020-02-15 00:29:51 -08:00
John Maddock
00588337b1 Merge branch 'develop' into git_issue_310 2020-01-28 15:07:26 +00:00
jzmaddock
ddcff7de88 Merge pull request #313 from boostorg/autodiff_include_fix
Autodiff: minimise #includes and change type_traits usage to the std …
2020-01-28 15:05:29 +00:00
NAThompson
9215ed569b Fix include guards for cubic_hermite [CI SKIP] 2020-01-27 14:22:21 +08:00
NAThompson
38b8f5a96a Remove bug in quintic_hermite interpolation. Add graph to exhibit its utility. 2020-01-27 13:35:14 +08:00
NAThompson
8dc319940d Vastly improve the computation of the derivatives of cubic Hermite interpolation. 2020-01-27 10:09:41 +08:00
NAThompson
cb30d438aa Loosen restrictions on cubic_hermite.hpp; only 2 points are required. [CI SKIP] 2020-01-27 09:36:37 +08:00
jzmaddock
775d6b0caf autodiff: Fix up C++11 support in std::decay usage. 2020-01-26 10:17:39 +00:00
jzmaddock
2d6cd609c9 Autodiff: minimise #includes and change type_traits usage to the std versions.
Update tests to match.
2020-01-25 18:41:40 +00:00
Nick
8213c19b30 Merge pull request #306 from boostorg/quintic_hermite
Quintic Hermite interpolation
2020-01-25 08:08:50 +08:00
jzmaddock
0404ea50b5 Switch pFq over to using <chrono> since it's all C++11 code anyway.
Removes dependency on Boost.Chrono which breaks Microsoft's std lib build.
Fixes https://github.com/boostorg/math/issues/310.
2020-01-24 11:33:13 +00:00
NAThompson
f1a90ae686 Quintic Hermite interpolation: Add test of cubic polynomials, fully Hornerize the basis functions. 2020-01-21 10:01:04 -05:00
Nick Thompson
2755d7a8f1 Check for independent compilation of headers by globbing. [CI SKIP] 2020-01-19 10:41:42 -05:00
Nick Thompson
8fe47b6a32 Cubic Hermite interpolation: Improve error message to make it less frustrating. 2020-01-19 10:25:09 -05:00
Nick
b1996cbe21 Merge branch 'develop' into quintic_hermite 2020-01-19 09:49:42 -05:00
Nick
c9c4b33353 Merge pull request #298 from boostorg/cubic_hermite
Cubic Hermite spline interpolation.
2020-01-19 09:48:23 -05:00
Nick Thompson
2a37abd93a Cubic Hermite spline: Backend pchip and makima to cubic_hermite. 2020-01-18 14:11:31 -05:00
NAThompson
408392dff0 Update timing [CI SKIP] 2020-01-17 17:39:48 -05:00
NAThompson
0242d1ac6b Quintic Hermite: Fix #include, fix docs, add test to Jamfile. 2020-01-16 18:08:34 -05:00
NAThompson
de67bcb45c Quintic Hermite interpolation [CI SKIP] 2020-01-16 16:31:32 -05:00
Christopher Kormanyos
474cc89654 fixes i304 2020-01-15 22:19:03 +01:00
jzmaddock
6d900c436c Merge pull request #302 from boostorg/no_mpl_dispatching
Remove dispatching via mpl and stick to boost::integral_constant.
2020-01-14 09:38:53 +00:00
jzmaddock
b38a0a9202 Remove commented out code.
[CI SKIP]
2020-01-14 09:38:27 +00:00
jzmaddock
1e0179c883 Remove dispatching via mpl and stick to boost::integral_constant.
Simplify the dispatching logic to use mpl::if_ and broken compiler workarounds less often.
Fixes: https://github.com/boostorg/type_traits/issues/133.
2020-01-13 15:14:48 +00:00
Brian Wignall
740a73c523 Fix typos 2020-01-12 15:30:30 -05:00
NAThompson
d8c2219a23 Cubic Hermite spline interpolation. [CI SKIP] 2020-01-10 13:41:11 -05:00
NAThompson
6ce45899b6 PCHIP interpolation. 2020-01-09 14:17:08 -05:00
Nick Thompson
50e9f67c3f Enforce monotonicity of the abscissas. 2020-01-08 19:57:12 -05:00
NAThompson
1dc0015429 Makima: Fix .prime() by reverting to linear interpolation. Add precision to error message to make it less frustrating. 2020-01-08 18:09:52 -05:00
NAThompson
19b1813850 Differentiate interpolant instead of interpolating derivatives. 2020-01-08 17:11:48 -05:00
NAThompson
90411e58bb Implement update, implement .prime(), compatibility with boost::circular_buffer. 2020-01-08 16:09:57 -05:00
NAThompson
0876ff3f3f Modified Akima: Fix build error on Windows. Fix float128 support. [CI SKIP] 2020-01-06 09:22:59 -05:00
Nick Thompson
2e5f67fa11 Makima interpolation: pimpl it. [CI SKIP] 2020-01-05 19:27:10 -05:00
Nick Thompson
e4c4f6db94 Makima spline: First build. 2020-01-05 17:42:17 -05:00
Nick Thompson
31c5daf921 Fix evaluation bug. [CI SKIP] 2020-01-05 14:05:43 -05:00
Nick Thompson
936bba1d9e Makima: Implement quadratic extrapolation at left-hand boundary [CI SKIP] 2020-01-05 13:26:10 -05:00
Nick Thompson
1d984f4fe7 Makima spline: Improve performance of evaluation [CI SKIP] 2020-01-05 11:53:10 -05:00
Nick Thompson
1f426a0e95 Makima spline: Copyright year. [CI SKIP] 2020-01-04 12:29:07 -05:00
Nick Thompson
8b248a92b0 Makima spline: Sketch out a little more [CI SKIP] 2020-01-04 12:05:45 -05:00
NAThompson
ccc8726e48 makima spline [CI SKIP] 2020-01-03 17:21:11 -05:00
NAThompson
87bb7d29fb Readable code for interquartile_range. 2019-12-31 12:53:01 -05:00
NAThompson
ff528a8f1d Commit working version before changing to readable code. 2019-12-31 12:29:05 -05:00
Nick Thompson
f943649e68 First pass at interquartile range. 2019-12-29 15:34:22 -05:00
Nick
e5f019c62a Merge branch 'develop' into distribution_entropy 2019-12-27 14:05:19 -05:00
Brian Wignall
8b277e3ff3 Fix more typos 2019-12-26 09:18:02 -05:00
Brian Wignall
e3a45bd10b Fix typos, after fixing bug in typochecker 2019-12-25 22:42:26 -05:00