Commit Graph

5028 Commits

Author SHA1 Message Date
jzmaddock
49af977a28 Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-numbers 2014-01-02 09:32:09 +00:00
jzmaddock
7484e888a4 Fix error message strings. 2014-01-02 09:31:48 +00:00
Christopher Kormanyos
03e4dbc8c6 Continued work on tgamma() for multiprecision. 2014-01-02 00:08:21 +01:00
Christopher Kormanyos
825c2b97fd Work on tgamma() multiprecision code. 2014-01-01 22:39:00 +01:00
Christopher Kormanyos
d0da0e6020 Simplify the overflow index calculation (now based on root-finding). 2014-01-01 20:28:00 +01:00
Christopher Kormanyos
d44e95c59a Use ACM TOMS 748 bracketed root finding to estimate the index of the B2n that might overflow. 2014-01-01 18:20:12 +01:00
Christopher Kormanyos
49759f10b9 Correct Bernoulli-log estimation formula. Remove some, but not all, warnings for x64 size_t versus int, unsigned. 2014-01-01 15:56:18 +01:00
Christopher Kormanyos
b849611732 Corrected the Luschny approximation of log(b2n). 2013-12-31 18:03:11 +01:00
Christopher Kormanyos
bc105590a2 Preliminary tests of tgamma(). The undefined_lanczos is hard-coded. 2013-12-31 18:02:37 +01:00
Christopher Kormanyos
e02a7a5695 Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-tgamma 2013-12-31 17:28:29 +01:00
Nikhar Agrawal
58206f08b7 changed tgamma using bernoulli to mimic previous lanczos implementation for z<=-20 2013-12-31 18:51:31 +05:30
Nikhar Agrawal
6072e5f1a2 Added gamma file that uses Bernoulli implementation from gsoc work. The bernoulli using gamma function is currently called using gamma_imp_bernoulli(). Changes need to be further made. 2013-12-31 18:09:17 +05:30
jzmaddock
72934d6b24 Make parameters const consistent.
Add support for UDT's not convertible from long long.
2013-12-31 09:48:24 +00:00
Christopher Kormanyos
f60b4d1279 Change use of non-portable "int" to "boost::int32_t". 2013-12-30 12:29:07 +01:00
jzmaddock
5b5550222a Fix issues raised from the regression tests: some using declaration in the Bessel code, and some changed assumptions in the airy-zeros. 2013-12-30 09:44:11 +00:00
jzmaddock
3bc0ec66c3 Hook up the concept checks. 2013-12-29 18:46:39 +00:00
jzmaddock
2a4aa11c65 Add tangent numbers overflow test. 2013-12-29 18:01:18 +00:00
jzmaddock
36d5698421 Fix buggy overflow check.
Add B2n overflow test.
2013-12-29 18:00:21 +00:00
jzmaddock
2642c41b22 Fix GCC test failure. 2013-12-29 17:14:32 +00:00
jzmaddock
c5dde54a13 Fix gcc compiler failures 2013-12-29 10:49:27 +00:00
jzmaddock
05b8bd016c Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-numbers
Conflicts:
	include/boost/math/special_functions/detail/bernoulli_details.hpp
2013-12-29 09:46:40 +00:00
jzmaddock
5c628a3700 Enable tangent numbers.
Fix several error handling issues.
2013-12-29 09:40:15 +00:00
Christopher Kormanyos
3fc1266dba Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-numbers
Conflicts:
	include/boost/math/special_functions/bernoulli.hpp
2013-12-28 19:40:14 +01:00
Christopher Kormanyos
5330a48cc4 Include header bernoulli.h. 2013-12-28 19:25:09 +01:00
Christopher Kormanyos
bdd113c2c5 Use atomic enumeration member from std, not boost. 2013-12-28 19:24:48 +01:00
Christopher Kormanyos
ce39ae3802 Consist input parameters for Bessel/Airy zeros. 2013-12-28 19:23:37 +01:00
jzmaddock
5991ef3e9c Move unchecked_bernoulli_b2n over to new header and add to tests. 2013-12-28 18:18:19 +00:00
jzmaddock
5dba5e7785 Commit test case.
Refactor into class-based details, and split big tables off into new header.
2013-12-28 18:12:33 +00:00
jzmaddock
01e943386a Fix namespace used for atomic operations. 2013-12-28 16:46:42 +00:00
jzmaddock
e8a72fe32d Move Nikhar Agrawal's Bernoulli code into mainstream Boost. 2013-12-28 16:28:15 +00:00
jzmaddock
756e22033a Update history and regenerate docs. 2013-12-23 10:03:14 +00:00
jzmaddock
1bdcacf7bb Clean up negative argument usage in Bessel I0 and I1: negative arguments are handled at a higher level, so strip out support for them here and add an assert. See https://svn.boost.org/trac/boost/ticket/9512. 2013-12-23 09:49:28 +00:00
jzmaddock
5492dce1ed Add and document options to enable/disable __float128 usage explicitly, see: https://svn.boost.org/trac/boost/ticket/9240 2013-12-22 18:01:11 +00:00
jzmaddock
c5ab3497b5 Document max_iter parameter correctly, see: https://svn.boost.org/trac/boost/ticket/9225 2013-12-22 18:00:13 +00:00
Anton Bikineev
8e805f02dd Merge pull request #1 from jzmaddock/patch-1
change log(2) to constants::ln_two<T>()
2013-12-05 07:32:39 -08:00
jzmaddock
fe28fea2de change log(2) to constants::ln_two<T>() 2013-12-05 13:00:16 +00:00
AntonBikineev
1edb61ffa3 Fix: tag dispatching for optimisation is added.
See bessel_derivatives_linear.hpp.
	modified:   boost/math/special_functions/bessel_derivatives.hpp
	new file:   boost/math/special_functions/detail/bessel_derivatives_linear.hpp
2013-12-04 14:23:17 +04:00
Beman
8cf8768929 End-of-line normalization. Most normalization was taken care of by .gitattributes, but a few files originally committed to svn with incorrect eol tags need explicit normalization. See .gitattributes man page and extensive list discussion. 2013-12-02 03:35:07 -05:00
AntonBikineev
f6cede3a2f Refactoring: Constness is added. Count of multiple temporaries is reduced.
modified:   boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp
2013-12-02 03:38:53 +04:00
Beman
cdd60d1dc9 End-of-line normalization. Most normalization was taken care of by .gitattributes, but a few files originally committed to svn with incorrect eol tags need explicit normalization. See .gitattributes man page and extensive list discussion. 2013-12-01 17:19:36 -05:00
Beman
ec438ff39d End-of-line normalization. Most normalization was taken care of by .gitattributes, but a few files originally committed to svn with incorrect eol tags need explicit normalization. See .gitattributes man page and extensive list discussion. 2013-12-01 09:14:12 -05:00
AntonBikineev
13448774ed cyl_bessel_k_derivative is tested.
new file:   libs/math/test/bessel_k_derivative_data.ipp
	new file:   libs/math/test/bessel_k_derivative_int_data.ipp
	new file:   libs/math/test/test_bessel_k_derivative.cpp
	new file:   libs/math/test/test_bessel_k_derivative.hpp
2013-12-01 17:05:28 +04:00
AntonBikineev
c386c9e75c cyl_bessel_i is tested. A few new expected results are added.
new file:   libs/math/test/bessel_i_derivative_data.ipp
	new file:   libs/math/test/bessel_i_derivative_int_data.ipp
	new file:   libs/math/test/test_bessel_i_derivative.cpp
	new file:   libs/math/test/test_bessel_i_derivative.hpp
2013-12-01 15:03:01 +04:00
AntonBikineev
a4959e2cb8 cyl_neumann_derivative and sph_neumann_derivative are tested.
new file:   libs/math/test/bessel_y01_derivative_data.ipp
	new file:   libs/math/test/bessel_yn_derivative_data.ipp
	new file:   libs/math/test/bessel_yv_derivative_data.ipp
	new file:   libs/math/test/sph_neumann_derivative_data.ipp
	new file:   libs/math/test/test_bessel_y_derivative.cpp
	new file:   libs/math/test/test_bessel_y_derivative.hpp
2013-11-30 02:58:24 +04:00
AntonBikineev
1b2e39b242 Fix: Always return non-null from cyl_neumann_derivative series term
eval.
	modified:   boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp
2013-11-30 00:47:48 +04:00
AntonBikineev
12222161a6 cyl_bessel_j_derivative and sph_bessel_derivative are tested.
new file:   libs/math/test/bessel_j_derivative_data.ipp
	new file:   libs/math/test/bessel_j_derivative_int_data.ipp
	new file:   libs/math/test/bessel_j_derivative_large_data.ipp
	new file:   libs/math/test/sph_bessel_derivative_data.ipp
	new file:   libs/math/test/test_bessel_j_derivative.cpp
	new file:   libs/math/test/test_bessel_j_derivative.hpp
2013-11-29 18:13:09 +04:00
AntonBikineev
1c93194869 Fix: series for small x and v = 0 are fixed.
modified:   boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp
	modified:   boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp
2013-11-28 01:40:14 +04:00
AntonBikineev
5ea617aefc Fix: itrunk function is'not fully qualified for ADL lookup.
modified:   boost/math/special_functions/bessel_derivatives.hpp
	modified:   boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp
	modified:   boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp
2013-11-24 21:00:23 +04:00
AntonBikineev
c32cfb4e78 Taylor series for BesselJ' and BesselY' small arguments are
added.
	modified:   boost/math/special_functions/bessel_derivatives.hpp
	modified:   boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp
	new file:   boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp
2013-11-24 04:53:15 +04:00
AntonBikineev
7c403dbd78 Precision for amplitude is improved
modified:   boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp
2013-11-23 01:04:35 +04:00