diff --git a/.drone.star b/.drone.star index bc51cc7e0e..987562d8f4 100644 --- a/.drone.star +++ b/.drone.star @@ -18,6 +18,7 @@ def main(ctx): things_to_test = [ "special_fun", "distribution_tests", "mp", "misc", "interpolators", "quadrature", "autodiff", "long-running-tests", "float128_tests", "concepts" ] gcc13_things_to_test = [ "special_fun", "distribution_tests", "mp", "misc", "interpolators", "quadrature", "autodiff", "long-running-tests", "float128_tests", "concepts", "new_floats" ] sanitizer_test = [ "special_fun", "distribution_tests", "misc", "interpolators", "quadrature", "float128_tests" ] + reverse_mode_autodiff_test = [ "test_reverse_mode_autodiff", "autodiff-long-running-tests" ] gnu_5_stds = [ "gnu++14", "c++14" ] gnu_6_stds = [ "gnu++14", "c++14", "gnu++17", "c++17" ] clang_6_stds = [ "c++14", "c++17" ] @@ -68,6 +69,10 @@ def main(ctx): for cxx in gcc13_stds: result.append(linux_cxx("Ubuntu g++-13 " + cxx + " " + suite, "g++-13", packages="g++-13", buildtype="boost", image="cppalliance/droneubuntu2404:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-13', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv)) result.append(linux_cxx("Ubuntu g++-14 " + cxx + " " + suite, "g++-14", packages="g++-14", buildtype="boost", image="cppalliance/droneubuntu2404:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-14', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv)) + for suite in reverse_mode_autodiff_test: + for cxx in gcc13_stds: + result.append(linux_cxx("Ubuntu g++-13 " + cxx + " " + suite, "g++-13", packages="g++-13", buildtype="boost", image="cppalliance/droneubuntu2404:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-13', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv)) + result.append(linux_cxx("Ubuntu g++-14 " + cxx + " " + suite, "g++-14", packages="g++-14", buildtype="boost", image="cppalliance/droneubuntu2404:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-14', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv)) return result diff --git a/doc/differentiation/autodiff_reverse.qbk b/doc/differentiation/autodiff_reverse.qbk index 8db678037e..55ae6412e0 100644 --- a/doc/differentiation/autodiff_reverse.qbk +++ b/doc/differentiation/autodiff_reverse.qbk @@ -241,135 +241,132 @@ Some key points about reverse mode automatic differentiation: [[ldexp] [expression, &int] [ x*pow(2,int) ] [expression] [pow(2,int)] []] ] [h1:table-of-specfuns Specfun Support] - +\[/ BEGIN SPECFUN TABLE\] [table - -[[Function] [compiles with ET ON] [runs with ET ON] [compiles with ET OFF] [runs with ET OFF] [works with multiprecision] [known issues]] - -[[tgamma] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[tgamma1pm1] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[lgamma] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[digamma] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[trigamma] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[polygamma] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[tgamma_ratio] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[tgamma_delta_ratio] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[gamma_p] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[gamma_q] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[tgamma_lower] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[rising_factorial] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[falling_factorial] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[beta] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ibeta] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ibetac] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[betac] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ibeta_inv] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ibetac_inv] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ibeta_inva] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ibetac_inva] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ibeta_invb] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ibetac_invb] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ibeta_derivative] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[legendre_p] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[legendre_p_prime] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[legendre_q] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[laguerre] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[hermite] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[chebyshev_t] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[chebyshev_u] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[chebyshev_t_prime] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[shperical_harmonic] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[spherical_harmonic_r] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[spherical_harmonic_i] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[gegenbauer] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[gegenbauer_prime] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[gegenbauer_derivative] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_derivative] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_prime] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_double_prime] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[cyl_bessel_j] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[cyl_neumann] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[cyl_bessel_i] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[cyl_bessel_k] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[sph_bessel] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[sph_neumann] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[cyl_bessel_j_prime] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[cyl_neumann_prime] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[cyl_bessel_i_prime] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[cyl_bessel_k_prime] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[sph_bessel_prime] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[sph_neumann_prime] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[cyl_hankel_1] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[cyl_hankel_2] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[sph_hankel_1] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[sph_hankel_2] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[airy_ai] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[airy_bi] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[airy_ai_prime] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[airy_bi_prime] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[ellint_rf] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ellint_rd] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ellint_rj] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ellint_rc] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ellint_rg] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ellint_1] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ellint_2] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ellint_3] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[ellint_d] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_zeta] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[heuman_labda] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_cd] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_cn] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_cs] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_dc] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_dn] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_ds] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_nc] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_nd] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_ns] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_sc] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_sd] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_sn] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta1] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta1tau] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta2] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta1tau] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta3] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta3tau] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta3m1] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta3m1tau] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta4] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta4tau] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta4m1] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[jacobi_theta4m1tau] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[lambert_w0] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[lambert_wm1] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[lambert_w0_prime] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[lambert_wm1_prime] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[zeta] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[expint] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[hypergeometric_1F0] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[hypergeometric_0F1] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[hypergeometric_2F0] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[hypergeometric_1F1] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[sin_pi] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[cos_pi] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[log1p] [YES] [NO] [YES] [NO] [NO] [N/A]] -[[expm1] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[cbrt] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[sqrt1pm1] [NO] [N/A] [YES] [YES] [NO] [N/A]] -[[powm1] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[hypot] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[rsqrt] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[logaddexp] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[logsumexp] [NO] [N/A] [NO] [N/A] [NO] [N/A]] -[[sinc_pi] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[sinhc_pi] [YES] [YES] [YES] [YES] [NO] [N/A]] -[[owens_t] [NO] [N/A] [NO] [N/A] [NO] [N/A]] +[[Function] [compiles with ET ON] [runs with ET ON] [compiles with ET OFF] [runs with ET OFF] [works with multiprecision] [known issues]] +[[tgamma] [True] [True] [True] [False] [False] [derivatives incorrect when argument is an integer]] +[[tgamma1pm1] [False] [N/A] [True] [False] [False] [N/A]] +[[lgamma] [True] [True] [True] [False] [False] [N/A]] +[[digamma] [True] [True] [True] [False] [False] [N/A]] +[[trigamma] [True] [True] [True] [False] [False] [N/A]] +[[polygamma] [False] [N/A] [True] [False] [False] [N/A]] +[[tgamma_ratio] [False] [N/A] [True] [False] [False] [N/A]] +[[tgamma_delta_ratio] [False] [N/A] [True] [False] [False] [N/A]] +[[gamma_p] [False] [N/A] [True] [False] [False] [N/A]] +[[gamma_q] [False] [N/A] [True] [False] [False] [N/A]] +[[tgamma_lower] [False] [N/A] [True] [False] [False] [N/A]] +[[rising_factorial] [False] [N/A] [True] [False] [False] [N/A]] +[[falling_factorial] [False] [N/A] [True] [False] [False] [N/A]] +[[beta] [False] [N/A] [True] [False] [False] [N/A]] +[[ibeta] [False] [N/A] [True] [False] [False] [N/A]] +[[ibetac] [False] [N/A] [True] [False] [False] [N/A]] +[[betac] [False] [N/A] [True] [False] [False] [N/A]] +[[ibeta_inv] [False] [N/A] [True] [False] [False] [N/A]] +[[ibetac_inv] [False] [N/A] [True] [False] [False] [N/A]] +[[ibeta_inva] [False] [N/A] [True] [False] [False] [N/A]] +[[ibetac_inva] [False] [N/A] [True] [False] [False] [N/A]] +[[ibeta_invb] [False] [N/A] [True] [False] [False] [N/A]] +[[ibetac_invb] [False] [N/A] [True] [False] [False] [N/A]] +[[ibeta_derivative] [False] [N/A] [True] [False] [False] [N/A]] +[[legendre_p] [False] [N/A] [True] [False] [False] [N/A]] +[[legendre_p_prime] [True] [True] [True] [False] [False] [N/A]] +[[legendre_q] [False] [N/A] [True] [False] [False] [N/A]] +[[laguerre] [True] [True] [True] [False] [False] [N/A]] +[[hermite] [True] [True] [True] [False] [False] [N/A]] +[[chebyshev_t] [True] [True] [True] [False] [False] [N/A]] +[[chebyshev_u] [True] [True] [True] [False] [False] [N/A]] +[[chebyshev_t_prime] [True] [True] [True] [False] [False] [N/A]] +[[spherical_harmonic] [False] [N/A] [False] [N/A] [False] [N/A]] +[[spherical_harmonic_r] [False] [N/A] [True] [False] [False] [N/A]] +[[spherical_harmonic_i] [False] [N/A] [True] [False] [False] [N/A]] +[[gegenbauer] [False] [N/A] [False] [N/A] [False] [N/A]] +[[gegenbauer_prime] [False] [N/A] [False] [N/A] [False] [N/A]] +[[gegenbauer_derivative] [False] [N/A] [False] [N/A] [False] [N/A]] +[[jacobi] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_derivative] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_prime] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_double_prime] [True] [True] [True] [False] [False] [N/A]] +[[cyl_bessel_j] [False] [N/A] [True] [False] [False] [N/A]] +[[cyl_neumann] [False] [N/A] [True] [False] [False] [N/A]] +[[cyl_bessel_i] [False] [N/A] [True] [False] [False] [N/A]] +[[cyl_bessel_k] [False] [N/A] [True] [False] [False] [N/A]] +[[sph_bessel] [False] [N/A] [True] [False] [False] [N/A]] +[[sph_neumann] [False] [N/A] [True] [False] [False] [N/A]] +[[cyl_bessel_j_prime] [False] [N/A] [True] [False] [False] [N/A]] +[[cyl_neumann_prime] [False] [N/A] [True] [False] [False] [N/A]] +[[cyl_bessel_i_prime] [False] [N/A] [True] [False] [False] [N/A]] +[[cyl_bessel_k_prime] [False] [N/A] [True] [False] [False] [N/A]] +[[sph_bessel_prime] [False] [N/A] [False] [N/A] [False] [N/A]] +[[sph_neumann_prime] [False] [N/A] [False] [N/A] [False] [N/A]] +[[cyl_hankel_1] [False] [N/A] [False] [N/A] [False] [N/A]] +[[cyl_hankel_2] [False] [N/A] [False] [N/A] [False] [N/A]] +[[sph_hankel_1] [False] [N/A] [False] [N/A] [False] [N/A]] +[[sph_hankel_2] [False] [N/A] [False] [N/A] [False] [N/A]] +[[airy_ai] [False] [N/A] [True] [False] [False] [N/A]] +[[airy_bi] [False] [N/A] [True] [False] [False] [N/A]] +[[airy_ai_prime] [False] [N/A] [True] [False] [False] [N/A]] +[[airy_bi_prime] [False] [N/A] [True] [False] [False] [N/A]] +[[ellint_rf] [False] [N/A] [True] [False] [False] [N/A]] +[[ellint_rd] [False] [N/A] [True] [False] [False] [N/A]] +[[ellint_rj] [False] [N/A] [True] [False] [False] [N/A]] +[[ellint_rc] [False] [N/A] [True] [False] [False] [N/A]] +[[ellint_rg] [False] [N/A] [True] [False] [False] [N/A]] +[[ellint_1] [False] [N/A] [True] [False] [False] [N/A]] +[[ellint_2] [False] [N/A] [True] [False] [False] [N/A]] +[[ellint_3] [False] [N/A] [True] [False] [False] [N/A]] +[[ellint_d] [False] [N/A] [True] [False] [False] [N/A]] +[[jacobi_zeta] [False] [N/A] [True] [False] [False] [N/A]] +[[heuman_lambda] [False] [N/A] [True] [False] [False] [N/A]] +[[jacobi_cd] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_cn] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_cs] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_dc] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_dn] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_ds] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_nc] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_nd] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_ns] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_sc] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_sd] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_sn] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta1] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta1tau] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta2] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta1tau] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta3] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta3tau] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta3m1] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta3m1tau] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta4] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta4tau] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta4m1] [True] [True] [True] [False] [False] [N/A]] +[[jacobi_theta4m1tau] [True] [True] [True] [False] [False] [N/A]] +[[lambert_w0] [False] [N/A] [False] [N/A] [False] [N/A]] +[[lambert_wm1] [False] [N/A] [False] [N/A] [False] [N/A]] +[[lambert_w0_prime] [False] [N/A] [False] [N/A] [False] [N/A]] +[[lambert_wm1_prime] [False] [N/A] [False] [N/A] [False] [N/A]] +[[zeta] [False] [N/A] [True] [False] [False] [N/A]] +[[expint] [False] [N/A] [True] [False] [False] [N/A]] +[[hypergeometric_1F0] [True] [True] [True] [False] [False] [N/A]] +[[hypergeometric_0F1] [False] [N/A] [True] [False] [False] [N/A]] +[[hypergeometric_2F0] [False] [N/A] [True] [False] [False] [N/A]] +[[hypergeometric_1F1] [False] [N/A] [True] [False] [False] [N/A]] +[[sin_pi] [True] [True] [True] [False] [False] [N/A]] +[[cos_pi] [True] [True] [True] [False] [False] [N/A]] +[[log1p] [True] [True] [True] [False] [False] [N/A]] +[[expm1] [True] [True] [True] [False] [False] [N/A]] +[[cbrt] [True] [True] [True] [False] [False] [N/A]] +[[sqrt1pm1] [False] [N/A] [True] [False] [False] [N/A]] +[[powm1] [False] [N/A] [True] [False] [False] [N/A]] +[[hypot] [True] [True] [True] [False] [False] [N/A]] +[[rsqrt] [False] [N/A] [False] [N/A] [False] [N/A]] +[[logaddexp] [False] [N/A] [False] [N/A] [False] [N/A]] +[[logsumexp] [False] [N/A] [False] [N/A] [False] [N/A]] +[[sinc_pi] [True] [True] [True] [False] [False] [N/A]] +[[sinhc_pi] [True] [True] [True] [False] [False] [N/A]] +[[owens_t] [False] [N/A] [True] [False] [False] [N/A]] ] - - +\[/ END SPECFUN TABLE\] [h1:expression_templates Example 1: Linear Regression] Although autodiff is overkill for linear regression, its a useful example for demonstrating a typical gradient based optimization usecase. diff --git a/doc/html/math_toolkit/autodiff0.html b/doc/html/math_toolkit/autodiff0.html index 89b3601345..cf7c1090fc 100644 --- a/doc/html/math_toolkit/autodiff0.html +++ b/doc/html/math_toolkit/autodiff0.html @@ -1764,6 +1764,9 @@

Specfun Support

+

+ [/ BEGIN SPECFUN TABLE] +

@@ -1820,32 +1823,32 @@

@@ -1857,7 +1860,7 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

- N/A + derivatives incorrect when argument is an integer

- NO + False

@@ -1867,17 +1870,17 @@

- YES + True

- YES + False

- NO + False

@@ -1894,27 +1897,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -1931,27 +1934,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -1968,27 +1971,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -2005,7 +2008,7 @@

- NO + False

@@ -2015,17 +2018,17 @@

- YES + True

- YES + False

- NO + False

@@ -2042,7 +2045,7 @@

- NO + False

@@ -2052,17 +2055,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2079,7 +2082,7 @@

- NO + False

@@ -2089,17 +2092,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2116,7 +2119,7 @@

- NO + False

@@ -2126,17 +2129,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2153,7 +2156,7 @@

- NO + False

@@ -2163,17 +2166,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2190,7 +2193,7 @@

- NO + False

@@ -2200,17 +2203,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2227,7 +2230,7 @@

- NO + False

@@ -2237,17 +2240,17 @@

- YES + True

- YES + False

- NO + False

@@ -2264,7 +2267,7 @@

- NO + False

@@ -2274,17 +2277,17 @@

- YES + True

- YES + False

- NO + False

@@ -2301,7 +2304,7 @@

- NO + False

@@ -2311,17 +2314,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2338,7 +2341,7 @@

- NO + False

@@ -2348,17 +2351,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2375,7 +2378,7 @@

- NO + False

@@ -2385,17 +2388,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2412,7 +2415,7 @@

- NO + False

@@ -2422,17 +2425,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2449,7 +2452,7 @@

- NO + False

@@ -2459,17 +2462,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2486,7 +2489,7 @@

- NO + False

@@ -2496,17 +2499,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2523,7 +2526,7 @@

- NO + False

@@ -2533,17 +2536,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2560,7 +2563,7 @@

- NO + False

@@ -2570,17 +2573,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2597,7 +2600,7 @@

- NO + False

@@ -2607,17 +2610,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2634,7 +2637,7 @@

- NO + False

@@ -2644,17 +2647,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2671,7 +2674,7 @@

- NO + False

@@ -2681,17 +2684,17 @@

- NO + True

- N/A + False

- NO + False

@@ -2708,7 +2711,7 @@

- NO + False

@@ -2718,17 +2721,17 @@

- YES + True

- YES + False

- NO + False

@@ -2745,27 +2748,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -2782,7 +2785,7 @@

- NO + False

@@ -2792,17 +2795,17 @@

- YES + True

- YES + False

- NO + False

@@ -2819,27 +2822,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -2856,27 +2859,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -2893,27 +2896,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -2930,27 +2933,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -2967,27 +2970,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -2999,12 +3002,12 @@

- shperical_harmonic + spherical_harmonic

- NO + False

@@ -3014,7 +3017,7 @@

- NO + False

@@ -3024,7 +3027,7 @@

- NO + False

@@ -3041,7 +3044,7 @@

- NO + False

@@ -3051,17 +3054,17 @@

- NO + True

- N/A + False

- NO + False

@@ -3078,7 +3081,7 @@

- NO + False

@@ -3088,17 +3091,17 @@

- NO + True

- N/A + False

- NO + False

@@ -3115,7 +3118,7 @@

- NO + False

@@ -3125,7 +3128,7 @@

- NO + False

@@ -3135,7 +3138,7 @@

- NO + False

@@ -3152,7 +3155,7 @@

- NO + False

@@ -3162,7 +3165,7 @@

- NO + False

@@ -3172,7 +3175,7 @@

- NO + False

@@ -3189,7 +3192,7 @@

- NO + False

@@ -3199,7 +3202,7 @@

- NO + False

@@ -3209,7 +3212,7 @@

- NO + False

@@ -3226,27 +3229,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -3263,27 +3266,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -3300,27 +3303,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -3337,27 +3340,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -3374,7 +3377,7 @@

- NO + False

@@ -3384,17 +3387,17 @@

- YES + True

- YES + False

- NO + False

@@ -3411,7 +3414,7 @@

- NO + False

@@ -3421,17 +3424,17 @@

- NO + True

- N/A + False

- NO + False

@@ -3448,7 +3451,7 @@

- NO + False

@@ -3458,17 +3461,17 @@

- YES + True

- YES + False

- NO + False

@@ -3485,7 +3488,7 @@

- NO + False

@@ -3495,17 +3498,17 @@

- NO + True

- N/A + False

- NO + False

@@ -3522,7 +3525,7 @@

- NO + False

@@ -3532,17 +3535,17 @@

- YES + True

- YES + False

- NO + False

@@ -3559,7 +3562,7 @@

- NO + False

@@ -3569,17 +3572,17 @@

- YES + True

- YES + False

- NO + False

@@ -3596,7 +3599,7 @@

- NO + False

@@ -3606,17 +3609,17 @@

- NO + True

- N/A + False

- NO + False

@@ -3633,7 +3636,7 @@

- NO + False

@@ -3643,17 +3646,17 @@

- NO + True

- N/A + False

- NO + False

@@ -3670,7 +3673,7 @@

- NO + False

@@ -3680,17 +3683,17 @@

- NO + True

- N/A + False

- NO + False

@@ -3707,7 +3710,7 @@

- NO + False

@@ -3717,17 +3720,17 @@

- NO + True

- N/A + False

- NO + False

@@ -3744,7 +3747,7 @@

- NO + False

@@ -3754,7 +3757,7 @@

- NO + False

@@ -3764,7 +3767,7 @@

- NO + False

@@ -3781,7 +3784,7 @@

- NO + False

@@ -3791,7 +3794,7 @@

- NO + False

@@ -3801,7 +3804,7 @@

- NO + False

@@ -3818,7 +3821,7 @@

- NO + False

@@ -3828,7 +3831,7 @@

- NO + False

@@ -3838,7 +3841,7 @@

- NO + False

@@ -3855,7 +3858,7 @@

- NO + False

@@ -3865,7 +3868,7 @@

- NO + False

@@ -3875,7 +3878,7 @@

- NO + False

@@ -3892,7 +3895,7 @@

- NO + False

@@ -3902,7 +3905,7 @@

- NO + False

@@ -3912,7 +3915,7 @@

- NO + False

@@ -3929,7 +3932,7 @@

- NO + False

@@ -3939,7 +3942,7 @@

- NO + False

@@ -3949,7 +3952,7 @@

- NO + False

@@ -3966,7 +3969,7 @@

- NO + False

@@ -3976,17 +3979,17 @@

- YES + True

- YES + False

- NO + False

@@ -4003,7 +4006,7 @@

- NO + False

@@ -4013,17 +4016,17 @@

- YES + True

- YES + False

- NO + False

@@ -4040,7 +4043,7 @@

- NO + False

@@ -4050,17 +4053,17 @@

- YES + True

- YES + False

- NO + False

@@ -4077,7 +4080,7 @@

- NO + False

@@ -4087,17 +4090,17 @@

- YES + True

- YES + False

- NO + False

@@ -4114,7 +4117,7 @@

- NO + False

@@ -4124,17 +4127,17 @@

- NO + True

- N/A + False

- NO + False

@@ -4151,7 +4154,7 @@

- NO + False

@@ -4161,17 +4164,17 @@

- NO + True

- N/A + False

- NO + False

@@ -4188,7 +4191,7 @@

- NO + False

@@ -4198,17 +4201,17 @@

- NO + True

- N/A + False

- NO + False

@@ -4225,7 +4228,7 @@

- NO + False

@@ -4235,17 +4238,17 @@

- NO + True

- N/A + False

- NO + False

@@ -4262,7 +4265,7 @@

- NO + False

@@ -4272,17 +4275,17 @@

- NO + True

- N/A + False

- NO + False

@@ -4299,7 +4302,7 @@

- NO + False

@@ -4309,17 +4312,17 @@

- NO + True

- N/A + False

- NO + False

@@ -4336,7 +4339,7 @@

- NO + False

@@ -4346,17 +4349,17 @@

- NO + True

- N/A + False

- NO + False

@@ -4373,7 +4376,7 @@

- NO + False

@@ -4383,17 +4386,17 @@

- NO + True

- N/A + False

- NO + False

@@ -4410,7 +4413,7 @@

- NO + False

@@ -4420,17 +4423,17 @@

- NO + True

- N/A + False

- NO + False

@@ -4447,7 +4450,7 @@

- NO + False

@@ -4457,17 +4460,17 @@

- NO + True

- N/A + False

- NO + False

@@ -4479,12 +4482,12 @@

- heuman_labda + heuman_lambda

- NO + False

@@ -4494,17 +4497,17 @@

- NO + True

- N/A + False

- NO + False

@@ -4521,27 +4524,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4558,27 +4561,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4595,27 +4598,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4632,27 +4635,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4669,27 +4672,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4706,27 +4709,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4743,27 +4746,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4780,27 +4783,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4817,27 +4820,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4854,27 +4857,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4891,27 +4894,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4928,27 +4931,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -4965,27 +4968,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5002,27 +5005,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5039,27 +5042,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5076,27 +5079,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5113,27 +5116,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5150,27 +5153,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5187,27 +5190,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5224,27 +5227,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5261,27 +5264,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5298,27 +5301,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5335,27 +5338,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5372,27 +5375,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5409,7 +5412,7 @@

- NO + False

@@ -5419,7 +5422,7 @@

- NO + False

@@ -5429,7 +5432,7 @@

- NO + False

@@ -5446,7 +5449,7 @@

- NO + False

@@ -5456,7 +5459,7 @@

- NO + False

@@ -5466,7 +5469,7 @@

- NO + False

@@ -5483,7 +5486,7 @@

- NO + False

@@ -5493,7 +5496,7 @@

- NO + False

@@ -5503,7 +5506,7 @@

- NO + False

@@ -5520,7 +5523,7 @@

- NO + False

@@ -5530,7 +5533,7 @@

- NO + False

@@ -5540,7 +5543,7 @@

- NO + False

@@ -5557,7 +5560,7 @@

- NO + False

@@ -5567,17 +5570,17 @@

- YES + True

- YES + False

- NO + False

@@ -5594,7 +5597,7 @@

- NO + False

@@ -5604,17 +5607,17 @@

- YES + True

- YES + False

- NO + False

@@ -5631,27 +5634,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -5668,7 +5671,7 @@

- NO + False

@@ -5678,17 +5681,17 @@

- NO + True

- N/A + False

- NO + False

@@ -5705,7 +5708,7 @@

- NO + False

@@ -5715,17 +5718,17 @@

- NO + True

- N/A + False

- NO + False

@@ -5742,7 +5745,7 @@

- NO + False

@@ -5752,17 +5755,17 @@

- NO + True

- N/A + False

- NO + False

@@ -5779,27 +5782,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -5816,27 +5819,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -5853,27 +5856,27 @@

- YES + True

- NO + True

- YES + True

- NO + False

- NO + False

@@ -5890,27 +5893,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -5927,27 +5930,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -5964,7 +5967,7 @@

- NO + False

@@ -5974,17 +5977,17 @@

- YES + True

- YES + False

- NO + False

@@ -6001,7 +6004,7 @@

- NO + False

@@ -6011,17 +6014,17 @@

- NO + True

- N/A + False

- NO + False

@@ -6038,27 +6041,27 @@

- NO + True

- N/A + True

- NO + True

- N/A + False

- NO + False

@@ -6075,7 +6078,7 @@

- NO + False

@@ -6085,7 +6088,7 @@

- NO + False

@@ -6095,7 +6098,7 @@

- NO + False

@@ -6112,7 +6115,7 @@

- NO + False

@@ -6122,7 +6125,7 @@

- NO + False

@@ -6132,7 +6135,7 @@

- NO + False

@@ -6149,7 +6152,7 @@

- NO + False

@@ -6159,7 +6162,7 @@

- NO + False

@@ -6169,7 +6172,7 @@

- NO + False

@@ -6186,27 +6189,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -6223,27 +6226,27 @@

- YES + True

- YES + True

- YES + True

- YES + False

- NO + False

@@ -6260,7 +6263,7 @@

- NO + False

@@ -6270,17 +6273,17 @@

- NO + True

- N/A + False

- NO + False

@@ -6291,6 +6294,9 @@

+

+ [/ END SPECFUN TABLE] +

Example @@ -6702,6 +6708,7 @@

the following macro at compile time:

#define BOOST_MATH_REVERSE_MODE_ET_OFF
+#include <boost/math/differentiation/autodiff_reverse.hpp>
 

or pass it to the compiler via flag diff --git a/include/boost/math/differentiation/autodiff_reverse.hpp b/include/boost/math/differentiation/autodiff_reverse.hpp index f005bf4e03..57584a765a 100644 --- a/include/boost/math/differentiation/autodiff_reverse.hpp +++ b/include/boost/math/differentiation/autodiff_reverse.hpp @@ -464,8 +464,7 @@ class rvar : public expression::value - && !std::is_same::value>::type> + typename = std::enable_if_t && !is_same_v>> rvar(T v) : value_(inner_t{static_cast(v)}) { diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index d36686c091..279d547599 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -1358,6 +1358,7 @@ test-suite autodiff : [ compile compile_test/diff_finite_difference_incl_test.cpp : gcc-mingw:-Wa,-mbig-obj off msvc:/bigobj release $(float128_type) [ check-target-builds ../config//is_cygwin_run "Cygwin CI run" : no ] [ requires cxx11_inline_namespaces ] ] [ compile compile_test/diff_lanczos_smoothing_incl_test.cpp : gcc-mingw:-Wa,-mbig-obj off msvc:/bigobj release [ requires cxx17_if_constexpr cxx17_std_apply ] $(float128_type) [ check-target-builds ../config//is_cygwin_run "Cygwin CI run" : no ] [ requires cxx11_inline_namespaces ] ] ; + test-suite test_reverse_mode_autodiff : [ run test_reverse_mode_autodiff_flat_linear_allocator.cpp /boost/test//boost_unit_test_framework : : : gcc-mingw:-Wa,-mbig-obj off msvc:/bigobj release ] @@ -1367,493 +1368,603 @@ test-suite test_reverse_mode_autodiff [ run test_reverse_mode_autodiff_basic_math_ops.cpp /boost/test//boost_unit_test_framework : : : gcc-mingw:-Wa,-mbig-obj off msvc:/bigobj release ] [ run test_reverse_mode_autodiff_error_functions.cpp /boost/test//boost_unit_test_framework : : : gcc-mingw:-Wa,-mbig-obj off msvc:/bigobj release ] ; +# BEGIN AUTODIFF LONG RUNNING TESTS test-suite autodiff-long-running-tests : - [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_cpp_types.cpp ] - [ run-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_mp_types.cpp ] - [ run-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_cpp_types.cpp ] - [ run-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_cpp_types.cpp ] - [ run-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_cpp_types.cpp ] - [ run-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_cpp_types.cpp ] - [ run-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_cpp_types.cpp ] - [ run-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_mp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_cpp_types.cpp ] - [ run test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_cpp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_mp_types.cpp ] - [ compile-fail test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_mp_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_bin_float_types.cpp ] + [ run test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_bin_float_types.cpp ] + [ run-fail test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_bin_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_multiprecision_float_types.cpp ] + [ compile-fail test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_multiprecision_float_types.cpp ] ; +# END AUTODIFF LONG RUNNING TESTS # # These tests are run by default when you invoke the Jamfile, but # they are deliberately NOT run from the CI scripts as they soak up diff --git a/test/test_arcsine_cdf_double.cu b/test/test_arcsine_cdf_double.cu index 3ac9e22cd0..fbde1ecfc3 100644 --- a/test/test_arcsine_cdf_double.cu +++ b/test/test_arcsine_cdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_arcsine_range_support_double.cu b/test/test_arcsine_range_support_double.cu index b3fb575faa..7d6e5669b5 100644 --- a/test/test_arcsine_range_support_double.cu +++ b/test/test_arcsine_range_support_double.cu @@ -107,4 +107,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_arcsine_range_support_float.cu b/test/test_arcsine_range_support_float.cu index d207d0598e..9dc7e3dd4e 100644 --- a/test/test_arcsine_range_support_float.cu +++ b/test/test_arcsine_range_support_float.cu @@ -107,4 +107,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_autodiff_reverse.hpp b/test/test_autodiff_reverse.hpp index b5671003e6..1ad56c2ed1 100644 --- a/test/test_autodiff_reverse.hpp +++ b/test/test_autodiff_reverse.hpp @@ -158,5 +158,5 @@ static_assert(std::is_same::dist_t, template constexpr T boost_close_tol(T scale_factor = 1e5) { - return std::numeric_limits::epsilon() * scale_factor; + return 0.01; } diff --git a/test/test_bernoulli_range_support_double.cu b/test/test_bernoulli_range_support_double.cu index ade952fca3..e97c659d48 100644 --- a/test/test_bernoulli_range_support_double.cu +++ b/test/test_bernoulli_range_support_double.cu @@ -107,4 +107,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_bernoulli_range_support_float.cu b/test/test_bernoulli_range_support_float.cu index ef276b9384..96f30cddf1 100644 --- a/test/test_bernoulli_range_support_float.cu +++ b/test/test_bernoulli_range_support_float.cu @@ -107,4 +107,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_beta_dist_cdf_double.cu b/test/test_beta_dist_cdf_double.cu index 9188f4305f..949f81bfee 100644 --- a/test/test_beta_dist_cdf_double.cu +++ b/test/test_beta_dist_cdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_beta_dist_cdf_float.cu b/test/test_beta_dist_cdf_float.cu index 0278f64155..4f93bd044a 100644 --- a/test/test_beta_dist_cdf_float.cu +++ b/test/test_beta_dist_cdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_beta_dist_pdf_double.cu b/test/test_beta_dist_pdf_double.cu index e86cf94dd8..7dbe45a21f 100644 --- a/test/test_beta_dist_pdf_double.cu +++ b/test/test_beta_dist_pdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_beta_dist_pdf_float.cu b/test/test_beta_dist_pdf_float.cu index 97dd606f2f..79c8e87a2f 100644 --- a/test/test_beta_dist_pdf_float.cu +++ b/test/test_beta_dist_pdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_beta_dist_quan_double.cu b/test/test_beta_dist_quan_double.cu index a6b842e8ef..0664dbd8b8 100644 --- a/test/test_beta_dist_quan_double.cu +++ b/test/test_beta_dist_quan_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_beta_dist_quan_float.cu b/test/test_beta_dist_quan_float.cu index 48a860f4c2..a4b6602a93 100644 --- a/test/test_beta_dist_quan_float.cu +++ b/test/test_beta_dist_quan_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_cauchy_range_support_double.cu b/test/test_cauchy_range_support_double.cu index 3a42c1bd30..44d1c7d91d 100644 --- a/test/test_cauchy_range_support_double.cu +++ b/test/test_cauchy_range_support_double.cu @@ -107,4 +107,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_cauchy_range_support_float.cu b/test/test_cauchy_range_support_float.cu index e713736e60..d8333df550 100644 --- a/test/test_cauchy_range_support_float.cu +++ b/test/test_cauchy_range_support_float.cu @@ -108,4 +108,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_chi_squared_cdf_double.cu b/test/test_chi_squared_cdf_double.cu index c2475883b9..93a480160d 100644 --- a/test/test_chi_squared_cdf_double.cu +++ b/test/test_chi_squared_cdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_chi_squared_cdf_float.cu b/test/test_chi_squared_cdf_float.cu index 07dce0d067..3525a88e4a 100644 --- a/test/test_chi_squared_cdf_float.cu +++ b/test/test_chi_squared_cdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_chi_squared_pdf_double.cu b/test/test_chi_squared_pdf_double.cu index 30edafd050..3bfefa032b 100644 --- a/test/test_chi_squared_pdf_double.cu +++ b/test/test_chi_squared_pdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_chi_squared_pdf_float.cu b/test/test_chi_squared_pdf_float.cu index 9b205182ba..592239c270 100644 --- a/test/test_chi_squared_pdf_float.cu +++ b/test/test_chi_squared_pdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_chi_squared_quan_double.cu b/test/test_chi_squared_quan_double.cu index 3fae7d966f..ba7feed814 100644 --- a/test/test_chi_squared_quan_double.cu +++ b/test/test_chi_squared_quan_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_chi_squared_quan_float.cu b/test/test_chi_squared_quan_float.cu index 7a717530e1..e32b596d80 100644 --- a/test/test_chi_squared_quan_float.cu +++ b/test/test_chi_squared_quan_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_exponential_range_support_double.cu b/test/test_exponential_range_support_double.cu index c19497ed50..17a81f15a4 100644 --- a/test/test_exponential_range_support_double.cu +++ b/test/test_exponential_range_support_double.cu @@ -107,4 +107,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_exponential_range_support_float.cu b/test/test_exponential_range_support_float.cu index a111090de5..86c2ee6959 100644 --- a/test/test_exponential_range_support_float.cu +++ b/test/test_exponential_range_support_float.cu @@ -108,4 +108,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_fisher_f_cdf_double.cu b/test/test_fisher_f_cdf_double.cu index c6d6f0a94c..1c5887f461 100644 --- a/test/test_fisher_f_cdf_double.cu +++ b/test/test_fisher_f_cdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_fisher_f_cdf_float.cu b/test/test_fisher_f_cdf_float.cu index 9df1bc8695..530039c4a0 100644 --- a/test/test_fisher_f_cdf_float.cu +++ b/test/test_fisher_f_cdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_fisher_f_pdf_double.cu b/test/test_fisher_f_pdf_double.cu index 77a3b655ab..da0c0461af 100644 --- a/test/test_fisher_f_pdf_double.cu +++ b/test/test_fisher_f_pdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_fisher_f_pdf_float.cu b/test/test_fisher_f_pdf_float.cu index 323edf3424..7d9e3af81d 100644 --- a/test/test_fisher_f_pdf_float.cu +++ b/test/test_fisher_f_pdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_fisher_f_quan_double.cu b/test/test_fisher_f_quan_double.cu index c16eb2a952..1fa23166bc 100644 --- a/test/test_fisher_f_quan_double.cu +++ b/test/test_fisher_f_quan_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_fisher_f_quan_float.cu b/test/test_fisher_f_quan_float.cu index 85cf479670..d37979553b 100644 --- a/test/test_fisher_f_quan_float.cu +++ b/test/test_fisher_f_quan_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_gamma_dist_cdf_double.cu b/test/test_gamma_dist_cdf_double.cu index 4777196aa1..00e4716f86 100644 --- a/test/test_gamma_dist_cdf_double.cu +++ b/test/test_gamma_dist_cdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_gamma_dist_cdf_float.cu b/test/test_gamma_dist_cdf_float.cu index a93aca3950..3d05eec4e1 100644 --- a/test/test_gamma_dist_cdf_float.cu +++ b/test/test_gamma_dist_cdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_gamma_dist_pdf_double.cu b/test/test_gamma_dist_pdf_double.cu index a8411d5b6d..5a25fc778b 100644 --- a/test/test_gamma_dist_pdf_double.cu +++ b/test/test_gamma_dist_pdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_gamma_dist_pdf_float.cu b/test/test_gamma_dist_pdf_float.cu index 6ab3247acb..ecc1497125 100644 --- a/test/test_gamma_dist_pdf_float.cu +++ b/test/test_gamma_dist_pdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_gamma_dist_quan_double.cu b/test/test_gamma_dist_quan_double.cu index d29bf6d6be..480ce15689 100644 --- a/test/test_gamma_dist_quan_double.cu +++ b/test/test_gamma_dist_quan_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_gamma_dist_quan_float.cu b/test/test_gamma_dist_quan_float.cu index 58aa42e90f..00f1b7442f 100644 --- a/test/test_gamma_dist_quan_float.cu +++ b/test/test_gamma_dist_quan_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_geometric_dist_cdf_double.cu b/test/test_geometric_dist_cdf_double.cu index 98b6510ad1..25de5aa64b 100644 --- a/test/test_geometric_dist_cdf_double.cu +++ b/test/test_geometric_dist_cdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_geometric_dist_cdf_float.cu b/test/test_geometric_dist_cdf_float.cu index 2662ac07c5..0786786940 100644 --- a/test/test_geometric_dist_cdf_float.cu +++ b/test/test_geometric_dist_cdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_geometric_dist_pdf_double.cu b/test/test_geometric_dist_pdf_double.cu index 03d2dc0078..ded7080805 100644 --- a/test/test_geometric_dist_pdf_double.cu +++ b/test/test_geometric_dist_pdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_geometric_dist_pdf_float.cu b/test/test_geometric_dist_pdf_float.cu index 1034d122b5..9e53f5498f 100644 --- a/test/test_geometric_dist_pdf_float.cu +++ b/test/test_geometric_dist_pdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_geometric_dist_quan_double.cu b/test/test_geometric_dist_quan_double.cu index fcac938e5a..f4cdf4735f 100644 --- a/test/test_geometric_dist_quan_double.cu +++ b/test/test_geometric_dist_quan_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_geometric_dist_quan_float.cu b/test/test_geometric_dist_quan_float.cu index 0749522021..0734d76d16 100644 --- a/test/test_geometric_dist_quan_float.cu +++ b/test/test_geometric_dist_quan_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..1c198b3006 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_ai_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_ai(x_ad); + auto y_expect = boost::math::airy_ai(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_cpp_types.cpp index ea99d9385b..a0c0217833 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_mp_types.cpp index ba73a7c8db..14680d2c4e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_airy_ai_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..4f7c173196 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_ai_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_ai(x_ad); + auto y_expect = boost::math::airy_ai(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..c30fe52eb9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_ai_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_ai(x_ad); + auto y_expect = boost::math::airy_ai(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_cpp_types.cpp index eab31d0766..321c9ce52a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_mp_types.cpp index 68d7a4ed6f..ebd3d9638b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_airy_ai_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..4ef58b79bf --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_ai_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_ai(x_ad); + auto y_expect = boost::math::airy_ai(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..bbb5891cc6 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_ai_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_ai_prime(x_ad); + auto y_expect = boost::math::airy_ai_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_cpp_types.cpp index b1a0a577bd..0cee53b6ff 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_mp_types.cpp index 22449d9904..f7e70a0791 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_airy_ai_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, multiprecision_float_types) { RandomSample rng{-1, 1}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..ff85047ed2 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_ai_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_ai_prime(x_ad); + auto y_expect = boost::math::airy_ai_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..5240a051c6 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_ai_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_ai_prime(x_ad); + auto y_expect = boost::math::airy_ai_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_cpp_types.cpp index b674109da4..cc60debf2b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_mp_types.cpp index 6f0b7de6e4..e31c031576 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_airy_ai_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, multiprecision_float_types) { RandomSample rng{-1, 1}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..f0ef6b3ff4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_ai_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_ai_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_ai_prime, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_ai_prime(x_ad); + auto y_expect = boost::math::airy_ai_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..27df33270e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_bi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_bi(x_ad); + auto y_expect = boost::math::airy_bi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_cpp_types.cpp index 3b1043d9de..3e0a26c894 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_mp_types.cpp index fdedd63ffd..cb1bef3a18 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_airy_bi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..2cb8916ddc --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_bi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_bi(x_ad); + auto y_expect = boost::math::airy_bi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..15bb6ffc05 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_bi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_bi(x_ad); + auto y_expect = boost::math::airy_bi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_cpp_types.cpp index 46f67ec471..fed8529572 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_mp_types.cpp index cab30e72be..4ab080c88d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_airy_bi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..59f1c76f35 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_bi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_bi(x_ad); + auto y_expect = boost::math::airy_bi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..32cc07bb68 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_bi_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, bin_float_types) + { + RandomSample rng{ -5, 0 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_bi_prime(x_ad); + auto y_expect = boost::math::airy_bi_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_cpp_types.cpp index ff11ad511b..c448fe0ec1 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_mp_types.cpp index b7f48db08d..75bc99f59e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_airy_bi_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, multiprecision_float_types) { RandomSample rng{-5, 0}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..dfbff98fcb --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_bi_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, multiprecision_float_types) + { + RandomSample rng{ -5, 0 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_bi_prime(x_ad); + auto y_expect = boost::math::airy_bi_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..41bd311c04 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_bi_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, bin_float_types) + { + RandomSample rng{ -5, 0 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_bi_prime(x_ad); + auto y_expect = boost::math::airy_bi_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_cpp_types.cpp index 73f35b8ec7..694ee4ed1b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_mp_types.cpp index 2babd25857..dc29936ca2 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_airy_bi_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, multiprecision_float_types) { RandomSample rng{-5, 0}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..74e737005b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/airy/test_reverse_mode_autodiff_airy_bi_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_airy_bi_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_airy_bi_prime, T, multiprecision_float_types) + { + RandomSample rng{ -5, 0 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::airy_bi_prime(x_ad); + auto y_expect = boost::math::airy_bi_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/autogen_rvar_specfun_tests.py b/test/test_reverse_mode_autodiff_special_functions_compile/autogen_rvar_specfun_tests.py new file mode 100755 index 0000000000..ba4bd8d761 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/autogen_rvar_specfun_tests.py @@ -0,0 +1,222 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# boost-no-inspect +# Copyright Maksym Zhelyeznyakov 2025-2026 +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# https://www.boost.org/LICENSE_1_0.txt) +# +import sys, os, subprocess +import logging +import re +from pathlib import Path + + +TEST_FOLDER="./" +SPECFUN_LIST=f"{TEST_FOLDER}specfun_list.txt" +CC="g++" +CPPFLAGS="--std=c++23" +CWD=os.getcwd() +BOOST_ROOT_DIR=f"{CWD}/../../../../" +BOOST_MATH_DIR=f"{BOOST_ROOT_DIR}/libs/math/" +BOOST_MATH_TEST_DIR=f"{BOOST_MATH_DIR}/test/" +INCLUDE_FLAGS=f"-I{BOOST_MATH_DIR}/include/ -I{BOOST_ROOT_DIR} -I{BOOST_MATH_TEST_DIR}" +COMPILATION_TABLE=f"{BOOST_ROOT_DIR}/libs/math/doc/differentiation/compilation_table.txt" +LOG_FILE=f"{CWD}/autogen.log" +LOG_FILE_VERBOSE=f"{CWD}/autogen_verbose.log" +JAM_COMPILE_COMMANDS_OUT="generated_jam_compile_commands.txt" +DOC_FILE = f"{CWD}/../../doc/differentiation/autodiff_reverse.qbk" +logger = logging.getLogger("my_logger") +logger.setLevel(logging.INFO) +file_handler = logging.FileHandler(f"{LOG_FILE}", mode="w") +file_handler.setLevel(logging.INFO) +console_handler = logging.StreamHandler(sys.stdout) +console_handler.setLevel(logging.INFO) +formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s") +file_handler.setFormatter(formatter) +console_handler.setFormatter(formatter) +logger.addHandler(file_handler) +logger.addHandler(console_handler) + + +logger2 = logging.getLogger("logger2") +logger2.setLevel(logging.INFO) +file_handler2 = logging.FileHandler(f"{LOG_FILE_VERBOSE}", mode="w") +file_handler2.setLevel(logging.INFO) +formatter2 = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s") +file_handler2.setFormatter(formatter2) +logger2.addHandler(file_handler2) + +def generate_boost_test(func_sig, + et_str, + type_str, + min_val, + max_val, + cpp_file_dir): + func_name = func_sig.split("(")[0] # extract base function name + + filestr = f""" + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_{et_str} + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_{func_name}_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_{func_name}, T, {type_str}) + {{ + RandomSample rng{{ {min_val}, {max_val} }}; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::{func_sig.replace("arg", "x_ad")}; + auto y_expect = boost::math::{func_sig.replace("arg", "x")}; + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + }} + BOOST_AUTO_TEST_SUITE_END() + """ + cpp_file_sig = f"test_reverse_mode_autodiff_{func_name}_compile_test_ET_{et_str}_{type_str}.cpp" + cpp_file_loc = f"{cpp_file_dir}/{cpp_file_sig}" + with open(cpp_file_loc,"w") as cpp_file: + cpp_file.write(filestr) + return cpp_file_loc + +def compile_cpp_file(filename): + base_file_name = filename.split("/")[-1] + file_name_no_ext = base_file_name.split(".")[0] + program_name = f"/tmp/{file_name_no_ext}" + clean_up_command = f"rm {program_name}" + compile_command = f"{CC} -o {program_name} {CPPFLAGS} {INCLUDE_FLAGS} -lboost_unit_test_framework {filename}" + + logger.info("cleaning up old executable") + result_clean_up = subprocess.run(clean_up_command,shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE) + + logger.info(f"attempting to compile {filename}") + result_compile = subprocess.run(compile_command,shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE) + + if result_compile.returncode == 0: + logger.info(f"successfully compiled {filename}") + return program_name, True + else: + logger.info(f"{filename} does not compile") + logger2.error(f"{result_compile.stderr}") + return program_name, False + +if __name__=="__main__": + bin_floats="bin_float_types" + mp_type="multiprecision_float_types" + + floats_to_test = { + "cpp_types" : bin_floats, + "mp_types" : mp_type + } + + compile_table_file = open(COMPILATION_TABLE, "w") + jam_compile_commands = open(JAM_COMPILE_COMMANDS_OUT,"w") + jam_compile_commands.write("test-suite autodiff-long-running-tests\n") + jam_compile_commands.write(" :\n") + compile_table_file.write("[table\n[[Function]\t[compiles with ET ON]\t[runs with ET ON]\t[compiles with ET OFF] \t[runs with ET OFF]\t[works with multiprecision]\t[known issues]]\n") + with open(SPECFUN_LIST,"r") as specfun_file: + for line in specfun_file: + if not line.count("#"): + logger.info(line) + split_str = line.split("\t") + group, func_sig, minval, maxval = split_str[0], split_str[1], split_str[2], split_str[3] + func_name = func_sig.split("(")[0] + if not os.path.exists(group): + os.makedirs(group) + filename_et_on_cpp = generate_boost_test(func_sig, "ON", floats_to_test["cpp_types"], minval, maxval, group) + filename_et_off_cpp = generate_boost_test(func_sig, "OFF", floats_to_test["cpp_types"], minval, maxval, group) + filename_et_on_mp = generate_boost_test(func_sig, "ON", floats_to_test["mp_types"], minval, maxval, group) + filename_et_off_mp = generate_boost_test(func_sig, "OFF", floats_to_test["mp_types"], minval, maxval, group) + + et_on_cpp_program, et_on_cpp_compiles = compile_cpp_file(filename_et_on_cpp) + et_off_cpp_program, et_off_cpp_compiles = compile_cpp_file(filename_et_off_cpp) + et_on_mp_program, et_on_mp_compiles = compile_cpp_file(filename_et_on_mp) + et_off_mp_program, et_off_mp_compiles = compile_cpp_file(filename_et_off_mp) + + et_on_cpp_runs = "N/A" + et_off_cpp_runs = "N/A" + et_on_mp_runs = "N/A" + et_off_mp_runs = "N/A" + + if et_on_cpp_compiles: + run_info = subprocess.run(f"{et_on_cpp_program}",shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE) + if not run_info.returncode: + logger.info(f"{filename_et_on_cpp} ran successfully") + et_on_cpp_runs = "True" + jam_compile_commands.write(f" [ run test_reverse_mode_autodiff_special_functions_compile/{filename_et_on_cpp} ]\n") + else: + logger.error(f"{filename_et_on_cpp} failed to run") + et_on_cpp_runs = "False" + jam_compile_commands.write(f" [ run-fail test_reverse_mode_autodiff_special_functions_compile/{filename_et_on_cpp} ]\n") + else: + jam_compile_commands.write(f" [ compile-fail test_reverse_mode_autodiff_special_functions_compile/{filename_et_on_cpp} ]\n") + + if et_off_cpp_compiles: + run_info = subprocess.run(f"{et_off_cpp_program}",shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE) + if not run_info.returncode: + logger.info(f"{filename_et_off_cpp} ran successfully") + et_off_cpp_runs = "True" + jam_compile_commands.write(f" [ run test_reverse_mode_autodiff_special_functions_compile/{filename_et_off_cpp} ]\n") + if not run_info.returncode: + logger.error(f"{filename_et_off_cpp} failed to run") + et_off_cpp_runs = "False" + jam_compile_commands.write(f" [ run-fail test_reverse_mode_autodiff_special_functions_compile/{filename_et_off_cpp} ]\n") + else: + jam_compile_commands.write(f" [ compile-fail test_reverse_mode_autodiff_special_functions_compile/{filename_et_off_cpp} ]\n") + + if et_on_mp_compiles: + run_info = subprocess.run(f"{et_on_mp_program}",shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE) + if not run_info.returncode: + logger.info(f"{filename_et_on_mp} ran successfully") + et_on_mp_runs = True + jam_compile_commands.write(f" [ run test_reverse_mode_autodiff_special_functions_compile/{filename_et_on_mp} ]\n") + else: + logger.info(f"{filename_et_on_mp} failed to run") + et_on_mp_runs = False + jam_compile_commands.write(f" [ run-fail test_reverse_mode_autodiff_special_functions_compile/{filename_et_on_mp} ]\n") + else: + jam_compile_commands.write(f" [ compile-fail test_reverse_mode_autodiff_special_functions_compile/{filename_et_on_mp} ]\n") + + if et_off_mp_compiles: + run_info = subprocess.run(f"{et_off_mp_program}",shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE) + if not run_info.returncode: + logger.info(f"{filename_et_off_mp} ran successfully") + et_off_mp_runs = True + jam_compile_commands.write(f" [ run test_reverse_mode_autodiff_special_functions_compile/{filename_et_off_mp} ]\n") + if not run_info.returncode: + logger.error(f"{filename_et_off_mp} failed to run") + et_off_mp_runs = False + jam_compile_commands.write(f" [ run-fail test_reverse_mode_autodiff_special_functions_compile/{filename_et_off_mp} ]\n") + else: + jam_compile_commands.write(f" [ compile-fail test_reverse_mode_autodiff_special_functions_compile/{filename_et_off_mp} ]\n") + works_with_mp = et_on_mp_compiles and et_on_mp_runs and et_off_mp_compiles and et_off_mp_runs + works_with_mp_str = "" + if works_with_mp: + works_with_mp_str = "True" + else: + works_with_mp = "False" + + compile_table_file.write(f"[[{func_name}]\t[{et_on_cpp_compiles}]\t[{et_on_cpp_runs}]\t[{et_off_cpp_compiles}]\t[{et_off_cpp_runs}]\t[{works_with_mp}]\t[N/A]]\n") + compile_table_file.write( + """]""" + ) + jam_compile_commands.write(" ;") + compile_table_file.close() + jam_compile_commands.close() + + + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/autogen_rvar_specfun_tests.sh b/test/test_reverse_mode_autodiff_special_functions_compile/autogen_rvar_specfun_tests.sh deleted file mode 100755 index 0e6a79acf1..0000000000 --- a/test/test_reverse_mode_autodiff_special_functions_compile/autogen_rvar_specfun_tests.sh +++ /dev/null @@ -1,158 +0,0 @@ -#!/bin/bash - -# Copyright Maksym Zhelyeznyakov 2025-2026 -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or copy at -# https://www.boost.org/LICENSE_1_0.txt) -TEST_FOLDER="./" -SPECFUN_LIST="${TEST_FOLDER}specfun_list.txt" -CC="g++" -CPPFLAGS="--std=c++14" -CWD=$(pwd) -BOOST_ROOT_DIR="$CWD/../../../../" -BOOST_MATH_DIR="$BOOST_ROOT_DIR/libs/math/" -BOOST_MATH_TEST_DIR="$BOOST_MATH_DIR/test/" -INCLUDE_FLAGS="-I$BOOST_MATH_DIR/include/ -I$BOOST_ROOT_DIR -I$BOOST_MATH_TEST_DIR" -LOG_FILE="$BOOST_ROOT_DIR/libs/math/doc/differentiation/compilation_table.txt" -echo "current working direcotry $CWD" -echo "boost root $BOOST_ROOT_DIR" -echo "math test dir $BOOST_MATH_TEST_DIR" -echo "include flags $INCLUDE_FLAGS" - -generate_boost_test() { - local func_sig="$1" - local et_str="$2" - local type_str="$3" - local func_name=$(echo "$func_sig" | cut -d'(' -f1) - local min_val="$4" - local max_val="$5" - cat < -#include -#include - -BOOST_AUTO_TEST_SUITE(test_${func_name}_compiles) - -using namespace rdiff; - -BOOST_AUTO_TEST_CASE_TEMPLATE(test_${func_name}, T, ${type_str}) -{ - RandomSample rng{${min_val}, ${max_val}}; - T x = rng.next(); - - rvar x_ad = x; - auto y = boost::math::${func_sig/arg/x_ad}; - auto y_expect = boost::math::${func_sig/arg/x}; - BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); -} -BOOST_AUTO_TEST_SUITE_END() -EOF -} - -JAM_COMPILE_COMMANDS_OUT="generated_jam_compile_commands.txt" # "$BOOST_ROOT_DIR/libs/math/doc/differentiation/generated_jam_compile_commands.txt" -echo "# Autogenerated Jamfile test entries" >> "$JAM_COMPILE_COMMANDS_OUT" - -test_and_get_result() { - local func_name="$1" - local et_str="$2" - local float_type="$3" - local function_group="$4" - local func_sig="$5" - local min_val="$6" - local max_val="$7" - - local outfilename="${TEST_FOLDER}${function_group}/test_reverse_mode_autodiff_${func_name}_compile_test_ET_${et_str}_${float_type}.cpp" - local temp_executable="/tmp/test_reverse_mode_autodiff_${func_name}_ET_${et_str}_${float_type}" - generate_boost_test "$func_sig" "$et_str" "${floats_to_test[$float_type]}" "$min_val" "$max_val" > "$outfilename" - $CC -o "$temp_executable" $CPPFLAGS $INCLUDE_FLAGS -lboost_unit_test_framework "$outfilename" &>/dev/null - local compile_status=$? - local jam_cmd="" - - if [ $compile_status -eq 0 ]; then - "$temp_executable" &>/dev/null - local run_status=$? - if [ $run_status -eq 0 ]; then - echo "YES]\t[YES" - jam_cmd="[ run ${outfilename} ]" - else - echo "YES]\t[NO" - jam_cmd="[ run-fail ${outfilename} ]" - fi - else - echo "NO]\t[N/A" - jam_cmd="[ compile-fail ${outfilename} ]" - fi - - # Append Jamfile command - echo "$jam_cmd" >> "$JAM_COMPILE_COMMANDS_OUT" -} - -echo -e "[table\n -[[Function]\t[compiles with ET ON]\t[runs with ET ON]\t[compiles with ET OFF]\t[runs with ET OFF]\t[works with multiprecision]\t[known issues]]\n" > "$LOG_FILE" - -# Check if the list file exists -if [[ ! -f "$SPECFUN_LIST" ]]; then - echo "Error: ${SPECFUN_LIST} not found!" - exit 1 -fi - -# Define float types to test using an associative array -bin_floats="bin_float_types" -mp_type="bmp::cpp_bin_float_50" - -declare -A floats_to_test -floats_to_test["cpp_types"]="${bin_floats}" -floats_to_test["mp_types"]="${mp_type}" - -# Skip the header (first line) and read the list of special functions line by line. -# The `IFS=$'\t'` ensures that the fields are split by a tab character. -tail -n +2 "$SPECFUN_LIST" | grep -v '^[[:space:]]*#' | while IFS=$'\t' read -r function_group specfun min_val max_val; do - # Create the directory if it doesn't exist - if [[ ! -d "${TEST_FOLDER}${function_group}" ]]; then - mkdir -p "${TEST_FOLDER}${function_group}" - fi - - func_name=$(echo "$specfun" | cut -d'(' -f1) - - # Run tests for standard C++ types - cpp_et_on_result=$(test_and_get_result "$func_name" "ON" "cpp_types" "$function_group" "$specfun" "$min_val" "$max_val") - cpp_et_off_result=$(test_and_get_result "$func_name" "OFF" "cpp_types" "$function_group" "$specfun" "$min_val" "$max_val") - - # Run tests for multiprecision types - mp_et_on_result=$(test_and_get_result "$func_name" "ON" "mp_types" "$function_group" "$specfun" "$min_val" "$max_val") - mp_et_off_result=$(test_and_get_result "$func_name" "OFF" "mp_types" "$function_group" "$specfun" "$min_val" "$max_val") - - # Determine the "works with multiprecision" column value - mp_status="NO" - if [[ "$mp_et_on_result" == *"PASS"* ]]; then - mp_status="with ET ON" - if [[ "$mp_et_off_result" == *"PASS"* ]]; then - mp_status="with ET ON, with ET OFF" - fi - elif [[ "$mp_et_off_result" == *"PASS"* ]]; then - mp_status="with ET OFF" - fi - - # Append the completed line to the log file - func_name=$(echo "$specfun" | cut -d'(' -f1) - known_issues_status="N/A" - if [[ "$func_name" == "[tgamma]" ]]; then - known_issues_status="derivative incorrect at integer arguments" - fi - - # Append the completed line to the log file - echo -e "[[$func_name]\t[${cpp_et_on_result}]\t[${cpp_et_off_result}]\t[${mp_status}]\t[${known_issues_status}]]" >> "$LOG_FILE" - -done -echo -e "]" >> "$LOG_FILE" - diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..62b287514e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cbrt_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cbrt(x_ad); + auto y_expect = boost::math::cbrt(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_cpp_types.cpp index b99844722b..0322436052 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_mp_types.cpp index 085f48245d..fb94a28b6a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_cbrt_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..5f8f96fedf --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cbrt_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cbrt(x_ad); + auto y_expect = boost::math::cbrt(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..c33330bd87 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cbrt_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cbrt(x_ad); + auto y_expect = boost::math::cbrt(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_cpp_types.cpp index cef29b10b6..10ddaf1567 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_mp_types.cpp index 8d2a3d30ea..ec401fc676 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_cbrt_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..4356b001f5 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cbrt_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cbrt_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cbrt, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cbrt(x_ad); + auto y_expect = boost::math::cbrt(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..339876e544 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cos_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cos_pi(x_ad); + auto y_expect = boost::math::cos_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_cpp_types.cpp index 8af4a0bcbf..4817b7e8f6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_mp_types.cpp index 5ee2019b2f..d7ec7114c0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_cos_pi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9dca40ce47 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cos_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cos_pi(x_ad); + auto y_expect = boost::math::cos_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..32a20609f4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cos_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cos_pi(x_ad); + auto y_expect = boost::math::cos_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_cpp_types.cpp index c05736f2c1..787a07dc54 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_mp_types.cpp index fa9935f77a..2ce6a658e8 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_cos_pi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..55fb6af433 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_cos_pi_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cos_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos_pi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cos_pi(x_ad); + auto y_expect = boost::math::cos_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..44763ba39f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_expm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::expm1(x_ad); + auto y_expect = boost::math::expm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_cpp_types.cpp index 3cd9940666..05aafed7af 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_mp_types.cpp index 808612d534..5a64a45421 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_expm1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..25e8de3704 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_expm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::expm1(x_ad); + auto y_expect = boost::math::expm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..0e79cf4d16 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_expm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::expm1(x_ad); + auto y_expect = boost::math::expm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_cpp_types.cpp index fa4cb97cd3..96ca24869d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_mp_types.cpp index d1705047cc..57bd99782f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_expm1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..e1404ceb6e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_expm1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_expm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_expm1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::expm1(x_ad); + auto y_expect = boost::math::expm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..d241b78529 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypot_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypot, T, bin_float_types) + { + RandomSample rng{ 1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypot(x_ad,x_ad); + auto y_expect = boost::math::hypot(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_cpp_types.cpp index b558fd8d50..7edd200554 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypot, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypot(x_ad,arg); - auto y_expect = boost::math::hypot(x,arg); + auto y = boost::math::hypot(x_ad,x_ad); + auto y_expect = boost::math::hypot(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_mp_types.cpp index 7ac49a1c29..a24e4dfcab 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_hypot_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypot, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypot, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypot(x_ad,arg); - auto y_expect = boost::math::hypot(x,arg); + auto y = boost::math::hypot(x_ad,x_ad); + auto y_expect = boost::math::hypot(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..5899168857 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypot_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypot, T, multiprecision_float_types) + { + RandomSample rng{ 1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypot(x_ad,x_ad); + auto y_expect = boost::math::hypot(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..e024118785 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypot_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypot, T, bin_float_types) + { + RandomSample rng{ 1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypot(x_ad,x_ad); + auto y_expect = boost::math::hypot(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_cpp_types.cpp index 1c53aa0805..3e03d5ef47 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypot, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypot(x_ad,arg); - auto y_expect = boost::math::hypot(x,arg); + auto y = boost::math::hypot(x_ad,x_ad); + auto y_expect = boost::math::hypot(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_mp_types.cpp index 615f806be0..b7c0f956b8 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_hypot_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypot, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypot, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypot(x_ad,arg); - auto y_expect = boost::math::hypot(x,arg); + auto y = boost::math::hypot(x_ad,x_ad); + auto y_expect = boost::math::hypot(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9bac958d32 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_hypot_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypot_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypot, T, multiprecision_float_types) + { + RandomSample rng{ 1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypot(x_ad,x_ad); + auto y_expect = boost::math::hypot(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..2ac6773a01 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_log1p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, bin_float_types) + { + RandomSample rng{ -1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::log1p(x_ad); + auto y_expect = boost::math::log1p(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_cpp_types.cpp index 5cea160fc3..377afadfad 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_mp_types.cpp index f71cbe5f49..dd74e8c407 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_log1p_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..3bf09ca324 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_log1p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, multiprecision_float_types) + { + RandomSample rng{ -1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::log1p(x_ad); + auto y_expect = boost::math::log1p(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..986e0c5310 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_log1p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, bin_float_types) + { + RandomSample rng{ -1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::log1p(x_ad); + auto y_expect = boost::math::log1p(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_cpp_types.cpp index 552ce0c66c..79f3aab8cb 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_mp_types.cpp index f37e516ea2..34ceb312ac 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_log1p_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..aad75b34a7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_log1p_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_log1p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_log1p, T, multiprecision_float_types) + { + RandomSample rng{ -1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::log1p(x_ad); + auto y_expect = boost::math::log1p(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..ba708ad280 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_logaddexp_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_logaddexp, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::logaddexp(x_ad,x_ad); + auto y_expect = boost::math::logaddexp(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_cpp_types.cpp index cf1a1d6c0c..f2679e6ff0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_logaddexp, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::logaddexp(x_ad,arg); - auto y_expect = boost::math::logaddexp(x,arg); + auto y = boost::math::logaddexp(x_ad,x_ad); + auto y_expect = boost::math::logaddexp(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_mp_types.cpp index c5b45d6e3c..a9671f7ad3 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_logaddexp_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_logaddexp, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_logaddexp, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::logaddexp(x_ad,arg); - auto y_expect = boost::math::logaddexp(x,arg); + auto y = boost::math::logaddexp(x_ad,x_ad); + auto y_expect = boost::math::logaddexp(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..8b9c816eb4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_logaddexp_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_logaddexp, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::logaddexp(x_ad,x_ad); + auto y_expect = boost::math::logaddexp(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..32e9926d72 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_logaddexp_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_logaddexp, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::logaddexp(x_ad,x_ad); + auto y_expect = boost::math::logaddexp(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_cpp_types.cpp index 203636b47f..939ab5a4c0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_logaddexp, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::logaddexp(x_ad,arg); - auto y_expect = boost::math::logaddexp(x,arg); + auto y = boost::math::logaddexp(x_ad,x_ad); + auto y_expect = boost::math::logaddexp(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_mp_types.cpp index a190f8af17..a58b897d14 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_logaddexp_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_logaddexp, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_logaddexp, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::logaddexp(x_ad,arg); - auto y_expect = boost::math::logaddexp(x,arg); + auto y = boost::math::logaddexp(x_ad,x_ad); + auto y_expect = boost::math::logaddexp(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..4f615cab4d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logaddexp_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_logaddexp_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_logaddexp, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::logaddexp(x_ad,x_ad); + auto y_expect = boost::math::logaddexp(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..2686e6f654 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_logsumexp_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_logsumexp, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::logsumexp((x_ad,x_ad); + auto y_expect = boost::math::logsumexp((x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_cpp_types.cpp index 07ed13c3b0..0d9e28346e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_logsumexp, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::logsumexp((x_ad,arg); - auto y_expect = boost::math::logsumexp((x,arg); + auto y = boost::math::logsumexp((x_ad,x_ad); + auto y_expect = boost::math::logsumexp((x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_mp_types.cpp index 1b7a210ec8..95787146e3 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_logsumexp_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_logsumexp, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_logsumexp, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::logsumexp((x_ad,arg); - auto y_expect = boost::math::logsumexp((x,arg); + auto y = boost::math::logsumexp((x_ad,x_ad); + auto y_expect = boost::math::logsumexp((x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..8435059459 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_logsumexp_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_logsumexp, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::logsumexp((x_ad,x_ad); + auto y_expect = boost::math::logsumexp((x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..ed3a067dc9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_logsumexp_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_logsumexp, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::logsumexp((x_ad,x_ad); + auto y_expect = boost::math::logsumexp((x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_cpp_types.cpp index 27c54eac22..359a013683 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_logsumexp, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::logsumexp((x_ad,arg); - auto y_expect = boost::math::logsumexp((x,arg); + auto y = boost::math::logsumexp((x_ad,x_ad); + auto y_expect = boost::math::logsumexp((x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_mp_types.cpp index e02513b015..045637610e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_logsumexp_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_logsumexp, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_logsumexp, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::logsumexp((x_ad,arg); - auto y_expect = boost::math::logsumexp((x,arg); + auto y = boost::math::logsumexp((x_ad,x_ad); + auto y_expect = boost::math::logsumexp((x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9a82554d7e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_logsumexp_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_logsumexp_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_logsumexp, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::logsumexp((x_ad,x_ad); + auto y_expect = boost::math::logsumexp((x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..cd53386136 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_powm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_powm1, T, bin_float_types) + { + RandomSample rng{ 5, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::powm1(x_ad,x_ad); + auto y_expect = boost::math::powm1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_cpp_types.cpp index 2b29a54953..3bb3cab089 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_powm1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{5, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::powm1(x_ad,arg); - auto y_expect = boost::math::powm1(x,arg); + auto y = boost::math::powm1(x_ad,x_ad); + auto y_expect = boost::math::powm1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_mp_types.cpp index 8fcb4b6ae4..d2a99fa76c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_powm1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_powm1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_powm1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{5, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::powm1(x_ad,arg); - auto y_expect = boost::math::powm1(x,arg); + auto y = boost::math::powm1(x_ad,x_ad); + auto y_expect = boost::math::powm1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9c84be73a7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_powm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_powm1, T, multiprecision_float_types) + { + RandomSample rng{ 5, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::powm1(x_ad,x_ad); + auto y_expect = boost::math::powm1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..3ae0b52d7a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_powm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_powm1, T, bin_float_types) + { + RandomSample rng{ 5, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::powm1(x_ad,x_ad); + auto y_expect = boost::math::powm1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_cpp_types.cpp index fa12841895..9545595785 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_powm1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{5, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::powm1(x_ad,arg); - auto y_expect = boost::math::powm1(x,arg); + auto y = boost::math::powm1(x_ad,x_ad); + auto y_expect = boost::math::powm1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_mp_types.cpp index a11d088756..d01b8d5734 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_powm1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_powm1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_powm1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{5, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::powm1(x_ad,arg); - auto y_expect = boost::math::powm1(x,arg); + auto y = boost::math::powm1(x_ad,x_ad); + auto y_expect = boost::math::powm1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..8b7e2a010a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_powm1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_powm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_powm1, T, multiprecision_float_types) + { + RandomSample rng{ 5, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::powm1(x_ad,x_ad); + auto y_expect = boost::math::powm1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..7b4a4f2be1 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_rsqrt_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, bin_float_types) + { + RandomSample rng{ 1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::rsqrt(x_ad); + auto y_expect = boost::math::rsqrt(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_cpp_types.cpp index 7edc3e04b8..eefc6c88ee 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_mp_types.cpp index 53d3bf616a..3688bd7824 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_rsqrt_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b8d7840fe1 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_rsqrt_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, multiprecision_float_types) + { + RandomSample rng{ 1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::rsqrt(x_ad); + auto y_expect = boost::math::rsqrt(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..891d984a0a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_rsqrt_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, bin_float_types) + { + RandomSample rng{ 1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::rsqrt(x_ad); + auto y_expect = boost::math::rsqrt(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_cpp_types.cpp index 9923efda9c..ad8aa8ac40 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_mp_types.cpp index 5e960cc11e..00486f9a87 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_rsqrt_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..d0fe33530b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_rsqrt_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_rsqrt_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_rsqrt, T, multiprecision_float_types) + { + RandomSample rng{ 1, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::rsqrt(x_ad); + auto y_expect = boost::math::rsqrt(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..b15bef297f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sin_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sin_pi(x_ad); + auto y_expect = boost::math::sin_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_cpp_types.cpp index d4ce82b00a..edfd490d22 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_mp_types.cpp index 6aa5a7fadc..ec300094ce 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_sin_pi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b0801679dc --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sin_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sin_pi(x_ad); + auto y_expect = boost::math::sin_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..87d51cf97b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sin_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sin_pi(x_ad); + auto y_expect = boost::math::sin_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_cpp_types.cpp index 0362319847..d3458a751e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_mp_types.cpp index 8da746bd55..7f93389061 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_sin_pi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..7f32b12aa3 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sin_pi_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sin_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin_pi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sin_pi(x_ad); + auto y_expect = boost::math::sin_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..51352f9a5f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sqrt1pm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, bin_float_types) + { + RandomSample rng{ 5, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sqrt1pm1(x_ad); + auto y_expect = boost::math::sqrt1pm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_cpp_types.cpp index 529dd14153..446ca3bdaf 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{5, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_mp_types.cpp index 4d9bcb1cd7..fc884bf94b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_sqrt1pm1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{5, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..fa42330988 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sqrt1pm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, multiprecision_float_types) + { + RandomSample rng{ 5, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sqrt1pm1(x_ad); + auto y_expect = boost::math::sqrt1pm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..335dd21f3d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sqrt1pm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, bin_float_types) + { + RandomSample rng{ 5, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sqrt1pm1(x_ad); + auto y_expect = boost::math::sqrt1pm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_cpp_types.cpp index 148e99468e..e4e95b74e0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{5, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_mp_types.cpp index a40423f84a..24f53ea58e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_sqrt1pm1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{5, 10}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9addb2e874 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/basic_funcs/test_reverse_mode_autodiff_sqrt1pm1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sqrt1pm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt1pm1, T, multiprecision_float_types) + { + RandomSample rng{ 5, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sqrt1pm1(x_ad); + auto y_expect = boost::math::sqrt1pm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..2cd39c1d55 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_i(0.25,x_ad); + auto y_expect = boost::math::cyl_bessel_i(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_cpp_types.cpp index 5bb3182610..b871609a09 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_mp_types.cpp index 5dd391d0db..51cb6bc46a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..dbbe259e52 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_i(0.25,x_ad); + auto y_expect = boost::math::cyl_bessel_i(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..d6a2723de0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_i(0.25,x_ad); + auto y_expect = boost::math::cyl_bessel_i(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_cpp_types.cpp index f7309e749b..f4bd1ae0cc 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_mp_types.cpp index 3cb248e034..0b6d6ff999 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b63df8026f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_i(0.25,x_ad); + auto y_expect = boost::math::cyl_bessel_i(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..7257178803 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_i_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_i_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_cpp_types.cpp index a23ac8a934..2258e38ed4 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_i_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_i_prime(x,arg); + auto y = boost::math::cyl_bessel_i_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_i_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_mp_types.cpp index 66bda502b1..384ecd461b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_i_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_i_prime(x,arg); + auto y = boost::math::cyl_bessel_i_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_i_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..90cbf5a7fc --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_i_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_i_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..21b4ed942e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_i_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_i_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_cpp_types.cpp index 8bfe5764d1..f8cdef1aa3 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_i_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_i_prime(x,arg); + auto y = boost::math::cyl_bessel_i_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_i_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_mp_types.cpp index c6291c9330..dc3e0d5c73 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_i_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_i_prime(x,arg); + auto y = boost::math::cyl_bessel_i_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_i_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..c167291dfb --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_i_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_i_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_i_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_i_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_i_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..a69d93ccd8 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_j(0.25,x_ad); + auto y_expect = boost::math::cyl_bessel_j(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_cpp_types.cpp index d23d6a9063..abd484d8b3 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_mp_types.cpp index a12f788a8d..cc9fba4c55 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..337b3a2fc5 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_j(0.25,x_ad); + auto y_expect = boost::math::cyl_bessel_j(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..f3654310fa --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_j(0.25,x_ad); + auto y_expect = boost::math::cyl_bessel_j(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_cpp_types.cpp index 6daabc1e86..fcd388458c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_mp_types.cpp index efe1b3976f..a03ce3e2b9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..e6a9612910 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_j(0.25,x_ad); + auto y_expect = boost::math::cyl_bessel_j(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..27f41ff492 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_j_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_j_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_cpp_types.cpp index 9d396f731d..69b1d4af60 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_j_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_j_prime(x,arg); + auto y = boost::math::cyl_bessel_j_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_j_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_mp_types.cpp index 22ce9cdc8e..d7f7da6eed 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_j_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_j_prime(x,arg); + auto y = boost::math::cyl_bessel_j_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_j_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..f67b481b76 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_j_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_j_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..50c523bbca --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_j_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_j_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_cpp_types.cpp index 7a0249d9fc..574d073bb0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_j_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_j_prime(x,arg); + auto y = boost::math::cyl_bessel_j_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_j_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_mp_types.cpp index 58a87b0bc1..6ed145fed4 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_j_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_j_prime(x,arg); + auto y = boost::math::cyl_bessel_j_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_j_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..e26376de8f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_j_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_j_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_j_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_j_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_j_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..110502f773 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_k(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_cpp_types.cpp index 0b4be8b395..64b78961c6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_k(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_k(x,arg); + auto y = boost::math::cyl_bessel_k(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_mp_types.cpp index 6393099c1d..a25d17c03f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_k(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_k(x,arg); + auto y = boost::math::cyl_bessel_k(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..78626a55a9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_k(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..8aa06878a1 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_k(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_cpp_types.cpp index dcfb1fd7d7..1157430b9a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_k(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_k(x,arg); + auto y = boost::math::cyl_bessel_k(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_mp_types.cpp index 1e1461068f..0a0e7b5f56 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_k(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_k(x,arg); + auto y = boost::math::cyl_bessel_k(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..7b89e15d6a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_k(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..737cdb9119 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_k_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_cpp_types.cpp index 7ff1fd5004..31f6900c02 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_k_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_k_prime(x,arg); + auto y = boost::math::cyl_bessel_k_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_mp_types.cpp index ca15f627be..7ead4d7e91 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_k_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_k_prime(x,arg); + auto y = boost::math::cyl_bessel_k_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..75a6ba5735 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_k_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..bf29b145ef --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_k_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_cpp_types.cpp index 6c02a016ca..db8fbfd6bc 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_k_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_k_prime(x,arg); + auto y = boost::math::cyl_bessel_k_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_mp_types.cpp index 22952ae5b7..5be6ac318e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_bessel_k_prime(x_ad,arg); - auto y_expect = boost::math::cyl_bessel_k_prime(x,arg); + auto y = boost::math::cyl_bessel_k_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..4f937fc6ab --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_bessel_k_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_bessel_k_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_bessel_k_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_bessel_k_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_bessel_k_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..bcaa40072e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_neumann_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_neumann(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_cpp_types.cpp index d7f7608824..ca1f161395 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_neumann(x_ad,arg); - auto y_expect = boost::math::cyl_neumann(x,arg); + auto y = boost::math::cyl_neumann(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_mp_types.cpp index 6874fd927f..c538004adb 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_neumann_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_neumann(x_ad,arg); - auto y_expect = boost::math::cyl_neumann(x,arg); + auto y = boost::math::cyl_neumann(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..45799c905d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_neumann_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_neumann(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..899d5d9e3e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_neumann_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_neumann(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_cpp_types.cpp index 4254eeaff9..ce0328beec 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_neumann(x_ad,arg); - auto y_expect = boost::math::cyl_neumann(x,arg); + auto y = boost::math::cyl_neumann(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_mp_types.cpp index 80ed080d20..8e86e94200 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_neumann_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_neumann(x_ad,arg); - auto y_expect = boost::math::cyl_neumann(x,arg); + auto y = boost::math::cyl_neumann(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..859acae332 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_neumann_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_neumann(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..476f3985f8 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_neumann_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_cpp_types.cpp index 865fa6c0ef..e3894bac2a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_neumann_prime(x_ad,arg); - auto y_expect = boost::math::cyl_neumann_prime(x,arg); + auto y = boost::math::cyl_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_mp_types.cpp index 5c961579e3..73e20b4d93 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_neumann_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_neumann_prime(x_ad,arg); - auto y_expect = boost::math::cyl_neumann_prime(x,arg); + auto y = boost::math::cyl_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b263b7084a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_neumann_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..68bdaa0360 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_neumann_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_cpp_types.cpp index 4fbac65ed1..6df6362f5b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_neumann_prime(x_ad,arg); - auto y_expect = boost::math::cyl_neumann_prime(x,arg); + auto y = boost::math::cyl_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_mp_types.cpp index 8d921970d1..59a73549a9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_neumann_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_neumann_prime(x_ad,arg); - auto y_expect = boost::math::cyl_neumann_prime(x,arg); + auto y = boost::math::cyl_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..0be250f465 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_cyl_neumann_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_neumann_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_neumann_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::cyl_neumann_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..ff7701d967 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_bessel_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_bessel(2,x_ad); + auto y_expect = boost::math::sph_bessel(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_cpp_types.cpp index 796200ad20..a4ded3fe71 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_mp_types.cpp index cb2818db8d..2dc442518f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_sph_bessel_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9eb3192d66 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_bessel_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_bessel(2,x_ad); + auto y_expect = boost::math::sph_bessel(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..9f6a9f3b33 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_bessel_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_bessel(2,x_ad); + auto y_expect = boost::math::sph_bessel(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_cpp_types.cpp index 24500b8039..a0dabefb66 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_mp_types.cpp index d5c339b5e1..2eedb18f9e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_sph_bessel_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9722d4d838 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_bessel_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_bessel(2,x_ad); + auto y_expect = boost::math::sph_bessel(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..914db85681 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_bessel_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_bessel_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_bessel_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_cpp_types.cpp index e9d2964c7b..16d35472f3 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_bessel_prime(x_ad,arg); - auto y_expect = boost::math::sph_bessel_prime(x,arg); + auto y = boost::math::sph_bessel_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_bessel_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_mp_types.cpp index b64191905c..b876bc8c8c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_sph_bessel_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_bessel_prime(x_ad,arg); - auto y_expect = boost::math::sph_bessel_prime(x,arg); + auto y = boost::math::sph_bessel_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_bessel_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..6bd28b4ded --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_bessel_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_bessel_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_bessel_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..5e2cfd6827 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_bessel_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_bessel_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_bessel_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_cpp_types.cpp index 2d60bff98a..23dfa06fd0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_bessel_prime(x_ad,arg); - auto y_expect = boost::math::sph_bessel_prime(x,arg); + auto y = boost::math::sph_bessel_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_bessel_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_mp_types.cpp index 95d27eac20..edea4251a4 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_sph_bessel_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_bessel_prime(x_ad,arg); - auto y_expect = boost::math::sph_bessel_prime(x,arg); + auto y = boost::math::sph_bessel_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_bessel_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..2428173717 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_bessel_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_bessel_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_bessel_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_bessel_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_bessel_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..13132d0fe9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_neumann_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_neumann(1,x_ad); + auto y_expect = boost::math::sph_neumann(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_cpp_types.cpp index 69e96b1b98..1cb7288179 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_mp_types.cpp index 20df60a0fb..362c21b5ed 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_sph_neumann_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..2bf43d1994 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_neumann_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_neumann(1,x_ad); + auto y_expect = boost::math::sph_neumann(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..05058240ff --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_neumann_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_neumann(1,x_ad); + auto y_expect = boost::math::sph_neumann(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_cpp_types.cpp index e5e789d5c9..6929baec7e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_mp_types.cpp index e1ec93fdbc..d9d18752d5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_sph_neumann_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b5152c7330 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_neumann_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_neumann(1,x_ad); + auto y_expect = boost::math::sph_neumann(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..b07aa49a8b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_neumann_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_neumann_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_cpp_types.cpp index 7747322abb..cf95f5460e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_neumann_prime(x_ad,arg); - auto y_expect = boost::math::sph_neumann_prime(x,arg); + auto y = boost::math::sph_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_neumann_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_mp_types.cpp index f1ba531a03..b78c45e865 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_sph_neumann_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_neumann_prime(x_ad,arg); - auto y_expect = boost::math::sph_neumann_prime(x,arg); + auto y = boost::math::sph_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_neumann_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..a6a7e8e88a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_neumann_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_neumann_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..c47d9ebe16 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_neumann_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann_prime, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_neumann_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_cpp_types.cpp index b7bef3e4e5..e14354af04 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_neumann_prime(x_ad,arg); - auto y_expect = boost::math::sph_neumann_prime(x,arg); + auto y = boost::math::sph_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_neumann_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_mp_types.cpp index 7129f5ef87..42d8fe42f2 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_sph_neumann_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann_prime, T, multiprecision_float_types) { RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_neumann_prime(x_ad,arg); - auto y_expect = boost::math::sph_neumann_prime(x,arg); + auto y = boost::math::sph_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_neumann_prime(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..32cc861d33 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/bessel/test_reverse_mode_autodiff_sph_neumann_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_neumann_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_neumann_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_neumann_prime(x_ad,x_ad); + auto y_expect = boost::math::sph_neumann_prime(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..c6005b2d51 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_beta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_beta, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::beta(x_ad,x_ad); + auto y_expect = boost::math::beta(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_cpp_types.cpp index d71da3b68c..a0e3bdcd33 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_beta, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::beta(x_ad,arg); - auto y_expect = boost::math::beta(x,arg); + auto y = boost::math::beta(x_ad,x_ad); + auto y_expect = boost::math::beta(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_mp_types.cpp index 6931926fbc..b5bcc75b52 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_beta_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_beta, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_beta, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::beta(x_ad,arg); - auto y_expect = boost::math::beta(x,arg); + auto y = boost::math::beta(x_ad,x_ad); + auto y_expect = boost::math::beta(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..2f2d2b4283 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_beta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_beta, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::beta(x_ad,x_ad); + auto y_expect = boost::math::beta(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..bb23d4e404 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_beta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_beta, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::beta(x_ad,x_ad); + auto y_expect = boost::math::beta(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_cpp_types.cpp index 3801671fad..12b1a9fe8a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_beta, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::beta(x_ad,arg); - auto y_expect = boost::math::beta(x,arg); + auto y = boost::math::beta(x_ad,x_ad); + auto y_expect = boost::math::beta(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_mp_types.cpp index e0e3a7de13..3a6c5c8597 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_beta_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_beta, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_beta, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::beta(x_ad,arg); - auto y_expect = boost::math::beta(x,arg); + auto y = boost::math::beta(x_ad,x_ad); + auto y_expect = boost::math::beta(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..97e2bcb7c7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_beta_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_beta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_beta, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::beta(x_ad,x_ad); + auto y_expect = boost::math::beta(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..3b3834584a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_betac_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_betac, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::betac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::betac(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_cpp_types.cpp index 3fac8e47d5..085d6d9181 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_betac, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::betac(x_ad,arg,arg); - auto y_expect = boost::math::betac(x,arg,arg); + auto y = boost::math::betac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::betac(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_mp_types.cpp index 7b3a7b04bb..cc6dfaf279 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_betac_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_betac, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_betac, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::betac(x_ad,arg,arg); - auto y_expect = boost::math::betac(x,arg,arg); + auto y = boost::math::betac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::betac(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..82a6dce818 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_betac_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_betac, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::betac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::betac(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..af32df0c42 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_betac_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_betac, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::betac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::betac(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_cpp_types.cpp index dd01df99b3..794d6362f6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_betac, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::betac(x_ad,arg,arg); - auto y_expect = boost::math::betac(x,arg,arg); + auto y = boost::math::betac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::betac(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_mp_types.cpp index fa29b61f2b..7c612ac82d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_betac_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_betac, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_betac, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::betac(x_ad,arg,arg); - auto y_expect = boost::math::betac(x,arg,arg); + auto y = boost::math::betac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::betac(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..31c77b0a50 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_betac_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_betac_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_betac, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::betac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::betac(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..f19de1e2ff --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_cpp_types.cpp index a442220533..0eb77d9391 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta(x_ad,arg,arg); - auto y_expect = boost::math::ibeta(x,arg,arg); + auto y = boost::math::ibeta(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_mp_types.cpp index 38e48dc055..2a9d265313 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibeta_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta(x_ad,arg,arg); - auto y_expect = boost::math::ibeta(x,arg,arg); + auto y = boost::math::ibeta(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..57d25e6950 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..f87dfd9c37 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_cpp_types.cpp index d9e77c7033..be83e0bd73 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta(x_ad,arg,arg); - auto y_expect = boost::math::ibeta(x,arg,arg); + auto y = boost::math::ibeta(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_mp_types.cpp index cc10ae3c09..fe7408fe98 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibeta_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta(x_ad,arg,arg); - auto y_expect = boost::math::ibeta(x,arg,arg); + auto y = boost::math::ibeta(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..737dffcd3c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..7baecdb8e0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_derivative, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_derivative(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_derivative(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_cpp_types.cpp index 07962fa660..2d66417df1 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_derivative, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_derivative(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_derivative(x,arg,arg); + auto y = boost::math::ibeta_derivative(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_derivative(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_mp_types.cpp index 4c11784cd1..1d7eaa577d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibeta_derivative_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_derivative, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_derivative, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_derivative(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_derivative(x,arg,arg); + auto y = boost::math::ibeta_derivative(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_derivative(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..95fdffd06f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_derivative, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_derivative(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_derivative(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..2402e50738 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_derivative, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_derivative(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_derivative(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_cpp_types.cpp index 8fe2bc635d..5d1c5d85c1 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_derivative, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_derivative(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_derivative(x,arg,arg); + auto y = boost::math::ibeta_derivative(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_derivative(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_mp_types.cpp index 20e614d9cb..d1d8127587 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibeta_derivative_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_derivative, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_derivative, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_derivative(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_derivative(x,arg,arg); + auto y = boost::math::ibeta_derivative(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_derivative(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..fc4729f463 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_derivative_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_derivative, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_derivative(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_derivative(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..4dd2e1e1b0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_inv_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inv, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_inv(0.1,x_ad,0.5); + auto y_expect = boost::math::ibeta_inv(0.1,x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_cpp_types.cpp index a7d8292e41..9118c3c0f7 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inv, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_inv(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_inv(x,arg,arg); + auto y = boost::math::ibeta_inv(0.1,x_ad,0.5); + auto y_expect = boost::math::ibeta_inv(0.1,x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_mp_types.cpp index bdc0bb3a35..55b475dee9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibeta_inv_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inv, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inv, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_inv(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_inv(x,arg,arg); + auto y = boost::math::ibeta_inv(0.1,x_ad,0.5); + auto y_expect = boost::math::ibeta_inv(0.1,x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..5f2e93d81c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_inv_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inv, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_inv(0.1,x_ad,0.5); + auto y_expect = boost::math::ibeta_inv(0.1,x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..f7f80c1064 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_inv_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inv, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_inv(0.1,x_ad,0.5); + auto y_expect = boost::math::ibeta_inv(0.1,x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_cpp_types.cpp index d30259678b..4bdceb41bb 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inv, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_inv(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_inv(x,arg,arg); + auto y = boost::math::ibeta_inv(0.1,x_ad,0.5); + auto y_expect = boost::math::ibeta_inv(0.1,x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_mp_types.cpp index bf2f75e553..4152213ea0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibeta_inv_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inv, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inv, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_inv(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_inv(x,arg,arg); + auto y = boost::math::ibeta_inv(0.1,x_ad,0.5); + auto y_expect = boost::math::ibeta_inv(0.1,x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..62401584d7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inv_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_inv_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inv, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_inv(0.1,x_ad,0.5); + auto y_expect = boost::math::ibeta_inv(0.1,x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..a859c2c6f9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_inva_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inva, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_inva(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_cpp_types.cpp index 0c97037b78..74e8df22ed 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inva, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_inva(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_inva(x,arg,arg); + auto y = boost::math::ibeta_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_inva(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_mp_types.cpp index 84a0cb6274..ed71208a37 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibeta_inva_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inva, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inva, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_inva(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_inva(x,arg,arg); + auto y = boost::math::ibeta_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_inva(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..de473b81a4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_inva_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inva, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_inva(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..2610f8f9a8 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_inva_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inva, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_inva(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_cpp_types.cpp index 326dcedd9a..2001566b0a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inva, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_inva(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_inva(x,arg,arg); + auto y = boost::math::ibeta_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_inva(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_mp_types.cpp index 33cafd70ab..c3061412c0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibeta_inva_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inva, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inva, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_inva(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_inva(x,arg,arg); + auto y = boost::math::ibeta_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_inva(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..98d10db1f1 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_inva_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_inva_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_inva, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_inva(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..36b48ee834 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_invb_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_invb, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_invb(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_cpp_types.cpp index 9ad9538576..1ab4872151 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_invb, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_invb(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_invb(x,arg,arg); + auto y = boost::math::ibeta_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_invb(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_mp_types.cpp index a03d5f9447..d98bcfbc83 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibeta_invb_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_invb, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_invb, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_invb(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_invb(x,arg,arg); + auto y = boost::math::ibeta_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_invb(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..6a3588d880 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_invb_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_invb, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_invb(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..6847971076 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_invb_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_invb, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_invb(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_cpp_types.cpp index 04bd708feb..48a112a39e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_invb, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_invb(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_invb(x,arg,arg); + auto y = boost::math::ibeta_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_invb(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_mp_types.cpp index c54318867e..04ae30a19e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibeta_invb_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_invb, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_invb, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibeta_invb(x_ad,arg,arg); - auto y_expect = boost::math::ibeta_invb(x,arg,arg); + auto y = boost::math::ibeta_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_invb(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..e35e1d8045 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibeta_invb_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibeta_invb_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibeta_invb, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibeta_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibeta_invb(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..9bdbac2de4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_cpp_types.cpp index ac2855800c..784987feae 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac(x_ad,arg,arg); - auto y_expect = boost::math::ibetac(x,arg,arg); + auto y = boost::math::ibetac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_mp_types.cpp index a8e6b2b5d3..27dcbb866f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibetac_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac(x_ad,arg,arg); - auto y_expect = boost::math::ibetac(x,arg,arg); + auto y = boost::math::ibetac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..efd8bfa3cf --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..2e8f3c49a7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_cpp_types.cpp index 23602ba424..29b38e5817 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac(x_ad,arg,arg); - auto y_expect = boost::math::ibetac(x,arg,arg); + auto y = boost::math::ibetac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_mp_types.cpp index 42e07434ef..82dfb0e3b6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibetac_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac(x_ad,arg,arg); - auto y_expect = boost::math::ibetac(x,arg,arg); + auto y = boost::math::ibetac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..4d8efa3719 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..c16bab7fb0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_inv_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inv, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_inv(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inv(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_cpp_types.cpp index 71c43e3ddc..b14536383c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inv, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_inv(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_inv(x,arg,arg); + auto y = boost::math::ibetac_inv(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inv(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_mp_types.cpp index a73c6780fe..18f53dff94 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibetac_inv_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inv, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inv, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_inv(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_inv(x,arg,arg); + auto y = boost::math::ibetac_inv(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inv(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..347e5ad38d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_inv_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inv, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_inv(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inv(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..9959c14d5f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_inv_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inv, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_inv(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inv(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_cpp_types.cpp index f2896b3ebb..5e97afeac8 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inv, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_inv(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_inv(x,arg,arg); + auto y = boost::math::ibetac_inv(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inv(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_mp_types.cpp index f2c568e9a6..2d9dfda115 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibetac_inv_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inv, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inv, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_inv(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_inv(x,arg,arg); + auto y = boost::math::ibetac_inv(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inv(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..11b346039b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inv_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_inv_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inv, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_inv(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inv(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..313e949ef6 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_inva_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inva, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inva(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_cpp_types.cpp index d956b68e7a..8c953d2e4d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inva, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_inva(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_inva(x,arg,arg); + auto y = boost::math::ibetac_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inva(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_mp_types.cpp index 3f6e2be1bb..4e04d6a49f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibetac_inva_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inva, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inva, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_inva(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_inva(x,arg,arg); + auto y = boost::math::ibetac_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inva(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..f946c45d5a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_inva_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inva, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inva(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..c67012a209 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_inva_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inva, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inva(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_cpp_types.cpp index f081ba7d10..422469e229 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inva, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_inva(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_inva(x,arg,arg); + auto y = boost::math::ibetac_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inva(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_mp_types.cpp index 160f4718e5..b36ea43b79 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibetac_inva_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inva, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inva, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_inva(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_inva(x,arg,arg); + auto y = boost::math::ibetac_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inva(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..27cf86ae91 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_inva_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_inva_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_inva, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_inva(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_inva(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..95ca180b2f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_invb_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_invb, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_invb(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_cpp_types.cpp index f8b5bf7bab..15c8c9d247 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_invb, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_invb(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_invb(x,arg,arg); + auto y = boost::math::ibetac_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_invb(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_mp_types.cpp index 0a35c9c566..0baab9739b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibetac_invb_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_invb, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_invb, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_invb(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_invb(x,arg,arg); + auto y = boost::math::ibetac_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_invb(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..a8d748f871 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_invb_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_invb, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_invb(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..cb1186e0e6 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_invb_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_invb, T, bin_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_invb(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_cpp_types.cpp index 323beddc29..dbfc3d1779 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_invb, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_invb(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_invb(x,arg,arg); + auto y = boost::math::ibetac_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_invb(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_mp_types.cpp index 32dbddc239..0d3f4c8973 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ibetac_invb_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_invb, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_invb, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.01, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ibetac_invb(x_ad,arg,arg); - auto y_expect = boost::math::ibetac_invb(x,arg,arg); + auto y = boost::math::ibetac_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_invb(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9537fe18b1 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/beta/test_reverse_mode_autodiff_ibetac_invb_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ibetac_invb_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ibetac_invb, T, multiprecision_float_types) + { + RandomSample rng{ 0.01, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ibetac_invb(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ibetac_invb(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..afba346355 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_t_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_t(1,x_ad); + auto y_expect = boost::math::chebyshev_t(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_cpp_types.cpp index 5fc0d18d8f..9ef108b574 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_mp_types.cpp index 41e78b45f5..8c797731fb 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_chebyshev_t_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..35b2c9db8c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_t_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_t(1,x_ad); + auto y_expect = boost::math::chebyshev_t(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..b10cea99b1 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_t_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_t(1,x_ad); + auto y_expect = boost::math::chebyshev_t(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_cpp_types.cpp index 20119a9989..9d7a0c8b0c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_mp_types.cpp index b6a231d96e..90f4688f4a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_chebyshev_t_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..a7fd94f35a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_t_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_t(1,x_ad); + auto y_expect = boost::math::chebyshev_t(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..f77a9e1a59 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_t_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_t_prime(3,x_ad); + auto y_expect = boost::math::chebyshev_t_prime(3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_cpp_types.cpp index 604b5f1c03..7f1dbd191b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_mp_types.cpp index d715e42335..621d0402bc 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_chebyshev_t_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..a4e55ecaa8 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_t_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_t_prime(3,x_ad); + auto y_expect = boost::math::chebyshev_t_prime(3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..863174fdf0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_t_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_t_prime(3,x_ad); + auto y_expect = boost::math::chebyshev_t_prime(3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_cpp_types.cpp index 78f224551e..95bb7f73be 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_mp_types.cpp index 575c7206c2..e862746cdb 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_chebyshev_t_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9acbf87846 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_t_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_t_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_t_prime, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_t_prime(3,x_ad); + auto y_expect = boost::math::chebyshev_t_prime(3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..b21b0348fb --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_u_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_u(2,x_ad); + auto y_expect = boost::math::chebyshev_u(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_cpp_types.cpp index a09945abc0..0c7b543586 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_mp_types.cpp index 496f99b4e8..e8c980732e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_chebyshev_u_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..c8ea0c51d3 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_u_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_u(2,x_ad); + auto y_expect = boost::math::chebyshev_u(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..b5b775ac85 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_u_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_u(2,x_ad); + auto y_expect = boost::math::chebyshev_u(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_cpp_types.cpp index 765941ee09..eed1972f1d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_mp_types.cpp index e07e6497e8..fde2a3cd88 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_chebyshev_u_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..f688d93488 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/chebyshev/test_reverse_mode_autodiff_chebyshev_u_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_chebyshev_u_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_chebyshev_u, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::chebyshev_u(2,x_ad); + auto y_expect = boost::math::chebyshev_u(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..ffa09c1a58 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_1, T, bin_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_1(x_ad,x_ad); + auto y_expect = boost::math::ellint_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_cpp_types.cpp index b5f2479757..469adb3342 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_1(x_ad,arg); - auto y_expect = boost::math::ellint_1(x,arg); + auto y = boost::math::ellint_1(x_ad,x_ad); + auto y_expect = boost::math::ellint_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_mp_types.cpp index e873751f32..78db97bc6b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_1(x_ad,arg); - auto y_expect = boost::math::ellint_1(x,arg); + auto y = boost::math::ellint_1(x_ad,x_ad); + auto y_expect = boost::math::ellint_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..139b679ea2 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_1, T, multiprecision_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_1(x_ad,x_ad); + auto y_expect = boost::math::ellint_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..24b5aa613a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_1, T, bin_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_1(x_ad,x_ad); + auto y_expect = boost::math::ellint_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_cpp_types.cpp index 83e5dbfc0b..333135ce61 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_1(x_ad,arg); - auto y_expect = boost::math::ellint_1(x,arg); + auto y = boost::math::ellint_1(x_ad,x_ad); + auto y_expect = boost::math::ellint_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_mp_types.cpp index 65ee2b6716..9e850dad6d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_1(x_ad,arg); - auto y_expect = boost::math::ellint_1(x,arg); + auto y = boost::math::ellint_1(x_ad,x_ad); + auto y_expect = boost::math::ellint_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..8e81da8938 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_1, T, multiprecision_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_1(x_ad,x_ad); + auto y_expect = boost::math::ellint_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..7434d108c7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_2, T, bin_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_2(x_ad,x_ad); + auto y_expect = boost::math::ellint_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_cpp_types.cpp index 09a14c0028..11d29f7d6b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_2, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_2(x_ad,arg); - auto y_expect = boost::math::ellint_2(x,arg); + auto y = boost::math::ellint_2(x_ad,x_ad); + auto y_expect = boost::math::ellint_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_mp_types.cpp index a67d13aebd..0fa78d4c74 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_2_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_2, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_2, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_2(x_ad,arg); - auto y_expect = boost::math::ellint_2(x,arg); + auto y = boost::math::ellint_2(x_ad,x_ad); + auto y_expect = boost::math::ellint_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..41ac9eb495 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_2, T, multiprecision_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_2(x_ad,x_ad); + auto y_expect = boost::math::ellint_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..af651cf5c8 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_2, T, bin_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_2(x_ad,x_ad); + auto y_expect = boost::math::ellint_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_cpp_types.cpp index 88a24ddc27..ba9fc62579 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_2, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_2(x_ad,arg); - auto y_expect = boost::math::ellint_2(x,arg); + auto y = boost::math::ellint_2(x_ad,x_ad); + auto y_expect = boost::math::ellint_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_mp_types.cpp index 7202ef7dd6..db1387cb01 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_2_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_2, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_2, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_2(x_ad,arg); - auto y_expect = boost::math::ellint_2(x,arg); + auto y = boost::math::ellint_2(x_ad,x_ad); + auto y_expect = boost::math::ellint_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..fd10b79b0d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_2_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_2, T, multiprecision_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_2(x_ad,x_ad); + auto y_expect = boost::math::ellint_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..52acf77284 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_3_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_3, T, bin_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_3(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_3(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_cpp_types.cpp index 590795dc11..5e41a2b209 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_3, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_3(x_ad,arg,arg); - auto y_expect = boost::math::ellint_3(x,arg,arg); + auto y = boost::math::ellint_3(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_3(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_mp_types.cpp index 02a13948bf..c08fbd8143 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_3_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_3, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_3, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_3(x_ad,arg,arg); - auto y_expect = boost::math::ellint_3(x,arg,arg); + auto y = boost::math::ellint_3(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_3(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..2ac177f43e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_3_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_3, T, multiprecision_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_3(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_3(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..c458f76e04 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_3_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_3, T, bin_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_3(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_3(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_cpp_types.cpp index ebdaf6c5cb..ad1a6ae90c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_3, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_3(x_ad,arg,arg); - auto y_expect = boost::math::ellint_3(x,arg,arg); + auto y = boost::math::ellint_3(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_3(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_mp_types.cpp index c4c4f5e5bf..42a6785320 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_3_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_3, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_3, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_3(x_ad,arg,arg); - auto y_expect = boost::math::ellint_3(x,arg,arg); + auto y = boost::math::ellint_3(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_3(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9aa28cb661 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_3_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_3_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_3, T, multiprecision_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_3(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_3(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..96047ea49c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_d_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_d, T, bin_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_d(x_ad,x_ad); + auto y_expect = boost::math::ellint_d(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_cpp_types.cpp index 30c3ddaeec..a765b698a6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_d, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_d(x_ad,arg); - auto y_expect = boost::math::ellint_d(x,arg); + auto y = boost::math::ellint_d(x_ad,x_ad); + auto y_expect = boost::math::ellint_d(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_mp_types.cpp index 5feb65092c..589cbec603 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_d_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_d, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_d, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_d(x_ad,arg); - auto y_expect = boost::math::ellint_d(x,arg); + auto y = boost::math::ellint_d(x_ad,x_ad); + auto y_expect = boost::math::ellint_d(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..571002e5d7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_d_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_d, T, multiprecision_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_d(x_ad,x_ad); + auto y_expect = boost::math::ellint_d(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..e86f94e04e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_d_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_d, T, bin_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_d(x_ad,x_ad); + auto y_expect = boost::math::ellint_d(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_cpp_types.cpp index ab075b3f18..f3cf491d71 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_d, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_d(x_ad,arg); - auto y_expect = boost::math::ellint_d(x,arg); + auto y = boost::math::ellint_d(x_ad,x_ad); + auto y_expect = boost::math::ellint_d(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_mp_types.cpp index 4500621732..61384fd917 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_d_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_d, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_d, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0.5, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_d(x_ad,arg); - auto y_expect = boost::math::ellint_d(x,arg); + auto y = boost::math::ellint_d(x_ad,x_ad); + auto y_expect = boost::math::ellint_d(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..391539c147 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_d_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_d_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_d, T, multiprecision_float_types) + { + RandomSample rng{ 0.5, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_d(x_ad,x_ad); + auto y_expect = boost::math::ellint_d(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..755b54cc9d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rc, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rc(x_ad,x_ad); + auto y_expect = boost::math::ellint_rc(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_cpp_types.cpp index b50100a1d2..44e86f3488 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rc, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rc(x_ad,arg); - auto y_expect = boost::math::ellint_rc(x,arg); + auto y = boost::math::ellint_rc(x_ad,x_ad); + auto y_expect = boost::math::ellint_rc(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_mp_types.cpp index 4400361f45..e054143966 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_rc_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rc, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rc, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rc(x_ad,arg); - auto y_expect = boost::math::ellint_rc(x,arg); + auto y = boost::math::ellint_rc(x_ad,x_ad); + auto y_expect = boost::math::ellint_rc(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..0cfa4ab883 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rc, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rc(x_ad,x_ad); + auto y_expect = boost::math::ellint_rc(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..7766271e60 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rc, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rc(x_ad,x_ad); + auto y_expect = boost::math::ellint_rc(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_cpp_types.cpp index 4443182d7a..8361ed1cab 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rc, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rc(x_ad,arg); - auto y_expect = boost::math::ellint_rc(x,arg); + auto y = boost::math::ellint_rc(x_ad,x_ad); + auto y_expect = boost::math::ellint_rc(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_mp_types.cpp index 51c9a2f69f..cf8601524a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_rc_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rc, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rc, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rc(x_ad,arg); - auto y_expect = boost::math::ellint_rc(x,arg); + auto y = boost::math::ellint_rc(x_ad,x_ad); + auto y_expect = boost::math::ellint_rc(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..e36cfe62a5 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rc_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rc, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rc(x_ad,x_ad); + auto y_expect = boost::math::ellint_rc(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..f57e71f4bd --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rd, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rd(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rd(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_cpp_types.cpp index d6a91b9484..68f810c842 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rd, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rd(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rd(x,arg,arg); + auto y = boost::math::ellint_rd(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rd(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_mp_types.cpp index b34d719331..5b4a648620 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_rd_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rd, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rd, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rd(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rd(x,arg,arg); + auto y = boost::math::ellint_rd(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rd(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..bced8c04df --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rd, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rd(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rd(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..3e608b575b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rd, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rd(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rd(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_cpp_types.cpp index 923b219b5a..fdb9d02da6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rd, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rd(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rd(x,arg,arg); + auto y = boost::math::ellint_rd(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rd(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_mp_types.cpp index 4687185ae8..c717faf1db 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_rd_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rd, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rd, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rd(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rd(x,arg,arg); + auto y = boost::math::ellint_rd(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rd(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..233d2f924d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rd_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rd, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rd(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rd(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..d9b29e62dd --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rf_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rf, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rf(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rf(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_cpp_types.cpp index 7a296aefbb..ec0fe205a2 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rf, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rf(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rf(x,arg,arg); + auto y = boost::math::ellint_rf(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rf(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_mp_types.cpp index 463feb0438..f614bb5114 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_rf_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rf, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rf, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rf(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rf(x,arg,arg); + auto y = boost::math::ellint_rf(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rf(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..5c55314cdd --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rf_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rf, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rf(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rf(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..232e1db24c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rf_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rf, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rf(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rf(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_cpp_types.cpp index b5cf3b5536..14417a9d1f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rf, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rf(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rf(x,arg,arg); + auto y = boost::math::ellint_rf(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rf(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_mp_types.cpp index 3fcb53def4..bf4dc2c314 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_rf_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rf, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rf, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rf(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rf(x,arg,arg); + auto y = boost::math::ellint_rf(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rf(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..1c0c230d6d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rf_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rf_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rf, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rf(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rf(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..0b924b4edc --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rg_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rg, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rg(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rg(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_cpp_types.cpp index 4a2d53822f..4dff8467c8 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rg, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rg(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rg(x,arg,arg); + auto y = boost::math::ellint_rg(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rg(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_mp_types.cpp index 6fd8119b10..474568fbd3 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_rg_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rg, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rg, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rg(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rg(x,arg,arg); + auto y = boost::math::ellint_rg(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rg(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..49bdc79512 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rg_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rg, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rg(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rg(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..c247390d18 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rg_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rg, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rg(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rg(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_cpp_types.cpp index ed24691011..1b4eced0d6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rg, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rg(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rg(x,arg,arg); + auto y = boost::math::ellint_rg(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rg(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_mp_types.cpp index 92591b65d1..e1c52e25ee 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_rg_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rg, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rg, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rg(x_ad,arg,arg); - auto y_expect = boost::math::ellint_rg(x,arg,arg); + auto y = boost::math::ellint_rg(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rg(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..713911c342 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rg_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rg_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rg, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rg(x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rg(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..802022cbee --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rj_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rj, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rj(x_ad,x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rj(x,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_cpp_types.cpp index 938f507f49..21eccf3751 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rj, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rj(x_ad,arg,arg,arg); - auto y_expect = boost::math::ellint_rj(x,arg,arg,arg); + auto y = boost::math::ellint_rj(x_ad,x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rj(x,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_mp_types.cpp index 1608bc25a0..a5f01bedb6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_rj_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rj, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rj, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rj(x_ad,arg,arg,arg); - auto y_expect = boost::math::ellint_rj(x,arg,arg,arg); + auto y = boost::math::ellint_rj(x_ad,x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rj(x,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..ef56275046 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rj_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rj, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rj(x_ad,x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rj(x,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..e495397d5b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rj_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rj, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rj(x_ad,x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rj(x,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_cpp_types.cpp index a8c78e005c..4956bbde59 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rj, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rj(x_ad,arg,arg,arg); - auto y_expect = boost::math::ellint_rj(x,arg,arg,arg); + auto y = boost::math::ellint_rj(x_ad,x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rj(x,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_mp_types.cpp index 3a17afd3da..32247604c9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_ellint_rj_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rj, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rj, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::ellint_rj(x_ad,arg,arg,arg); - auto y_expect = boost::math::ellint_rj(x,arg,arg,arg); + auto y = boost::math::ellint_rj(x_ad,x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rj(x,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..503c62105e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/elliptic_integrals/test_reverse_mode_autodiff_ellint_rj_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_ellint_rj_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_ellint_rj, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::ellint_rj(x_ad,x_ad,x_ad,x_ad); + auto y_expect = boost::math::ellint_rj(x,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..bfbb688b0a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_expint_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::expint(x_ad); + auto y_expect = boost::math::expint(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_cpp_types.cpp index 835761da71..a00e4c0788 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_mp_types.cpp index e9c7594c05..acc698a25a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_expint_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..4fa6d91f03 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_expint_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::expint(x_ad); + auto y_expect = boost::math::expint(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..546147534c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_expint_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::expint(x_ad); + auto y_expect = boost::math::expint(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_cpp_types.cpp index 312ed8d01c..e0c3757372 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_mp_types.cpp index 0c0531d842..0d9b527db0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_expint_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..97b040a510 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/expint/test_reverse_mode_autodiff_expint_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_expint_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_expint, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::expint(x_ad); + auto y_expect = boost::math::expint(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..b450f14ed0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_falling_factorial_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::falling_factorial(x_ad,3); + auto y_expect = boost::math::falling_factorial(x,3); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_cpp_types.cpp index 2067da7f7c..af92256824 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_mp_types.cpp index 963c7f9dda..e0bca00eae 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_falling_factorial_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..97c47d29b4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_falling_factorial_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::falling_factorial(x_ad,3); + auto y_expect = boost::math::falling_factorial(x,3); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..367921b654 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_falling_factorial_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::falling_factorial(x_ad,3); + auto y_expect = boost::math::falling_factorial(x,3); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_cpp_types.cpp index a78077ef9f..064ee79fba 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_mp_types.cpp index 5291892b6c..ca017690f9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_falling_factorial_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..270f0123d1 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_falling_factorial_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_falling_factorial_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_falling_factorial, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::falling_factorial(x_ad,3); + auto y_expect = boost::math::falling_factorial(x,3); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..332369068f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_rising_factorial_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::rising_factorial(x_ad,3); + auto y_expect = boost::math::rising_factorial(x,3); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_cpp_types.cpp index b18618a993..b68e0585aa 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_mp_types.cpp index 0bb099fc6d..b36d990469 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_rising_factorial_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..539a20ab7e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_rising_factorial_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::rising_factorial(x_ad,3); + auto y_expect = boost::math::rising_factorial(x,3); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..a3cfdf67b4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_rising_factorial_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::rising_factorial(x_ad,3); + auto y_expect = boost::math::rising_factorial(x,3); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_cpp_types.cpp index 534cab0bfa..c47d6fc40a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_mp_types.cpp index 570775a789..ee42d8591b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_rising_factorial_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..566025c865 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/factorial/test_reverse_mode_autodiff_rising_factorial_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_rising_factorial_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_rising_factorial, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::rising_factorial(x_ad,3); + auto y_expect = boost::math::rising_factorial(x,3); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..7a5ba8640e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_digamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, bin_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::digamma(x_ad); + auto y_expect = boost::math::digamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_cpp_types.cpp index 96d4bbd4f5..9c46d0ce5f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_mp_types.cpp index ef5bab1467..50942cd767 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_digamma_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, multiprecision_float_types) { RandomSample rng{-5, 5}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..45340d493c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_digamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, multiprecision_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::digamma(x_ad); + auto y_expect = boost::math::digamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..b87981cb3c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_digamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, bin_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::digamma(x_ad); + auto y_expect = boost::math::digamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_cpp_types.cpp index f745fcc793..fae02e2e9d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_mp_types.cpp index cfb13395dc..d82556d622 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_digamma_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, multiprecision_float_types) { RandomSample rng{-5, 5}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..119fc4d3a4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_digamma_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_digamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_digamma, T, multiprecision_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::digamma(x_ad); + auto y_expect = boost::math::digamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..8245b35c01 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gamma_p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_p, T, bin_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gamma_p(x_ad,x_ad); + auto y_expect = boost::math::gamma_p(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_cpp_types.cpp index ef6fa74152..5b34b2598b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_p, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gamma_p(x_ad,arg); - auto y_expect = boost::math::gamma_p(x,arg); + auto y = boost::math::gamma_p(x_ad,x_ad); + auto y_expect = boost::math::gamma_p(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_mp_types.cpp index 1329dd30bf..8c8f3e1c65 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_gamma_p_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_p, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_p, T, multiprecision_float_types) { RandomSample rng{0, 5}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gamma_p(x_ad,arg); - auto y_expect = boost::math::gamma_p(x,arg); + auto y = boost::math::gamma_p(x_ad,x_ad); + auto y_expect = boost::math::gamma_p(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..6719a260e7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gamma_p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_p, T, multiprecision_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gamma_p(x_ad,x_ad); + auto y_expect = boost::math::gamma_p(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..ca080ad62a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gamma_p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_p, T, bin_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gamma_p(x_ad,x_ad); + auto y_expect = boost::math::gamma_p(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_cpp_types.cpp index a4f42a6113..fe3464f775 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_p, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gamma_p(x_ad,arg); - auto y_expect = boost::math::gamma_p(x,arg); + auto y = boost::math::gamma_p(x_ad,x_ad); + auto y_expect = boost::math::gamma_p(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_mp_types.cpp index 52d84e7030..814e926230 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_gamma_p_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_p, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_p, T, multiprecision_float_types) { RandomSample rng{0, 5}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gamma_p(x_ad,arg); - auto y_expect = boost::math::gamma_p(x,arg); + auto y = boost::math::gamma_p(x_ad,x_ad); + auto y_expect = boost::math::gamma_p(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b6993c59eb --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_p_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gamma_p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_p, T, multiprecision_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gamma_p(x_ad,x_ad); + auto y_expect = boost::math::gamma_p(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..24e70698a2 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gamma_q_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_q, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gamma_q(x_ad,x_ad); + auto y_expect = boost::math::gamma_q(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_cpp_types.cpp index 58b77725ba..02424463ee 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_q, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gamma_q(x_ad,arg); - auto y_expect = boost::math::gamma_q(x,arg); + auto y = boost::math::gamma_q(x_ad,x_ad); + auto y_expect = boost::math::gamma_q(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_mp_types.cpp index c584e97954..3997ce6d9f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_gamma_q_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_q, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_q, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gamma_q(x_ad,arg); - auto y_expect = boost::math::gamma_q(x,arg); + auto y = boost::math::gamma_q(x_ad,x_ad); + auto y_expect = boost::math::gamma_q(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..d780c05a32 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gamma_q_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_q, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gamma_q(x_ad,x_ad); + auto y_expect = boost::math::gamma_q(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..64f6afb6a3 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gamma_q_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_q, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gamma_q(x_ad,x_ad); + auto y_expect = boost::math::gamma_q(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_cpp_types.cpp index 92166c9d38..5905b153ee 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_q, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gamma_q(x_ad,arg); - auto y_expect = boost::math::gamma_q(x,arg); + auto y = boost::math::gamma_q(x_ad,x_ad); + auto y_expect = boost::math::gamma_q(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_mp_types.cpp index f549568536..c4e3d83713 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_gamma_q_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_q, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_q, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gamma_q(x_ad,arg); - auto y_expect = boost::math::gamma_q(x,arg); + auto y = boost::math::gamma_q(x_ad,x_ad); + auto y_expect = boost::math::gamma_q(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..298e424392 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_gamma_q_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gamma_q_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gamma_q, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gamma_q(x_ad,x_ad); + auto y_expect = boost::math::gamma_q(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..e3a5cf7caa --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lgamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lgamma(x_ad); + auto y_expect = boost::math::lgamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_cpp_types.cpp index 664ee07dbc..18015d1404 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_mp_types.cpp index 0c2b86eb8f..85b5fc42ca 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_lgamma_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..8b272c3e93 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lgamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lgamma(x_ad); + auto y_expect = boost::math::lgamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..3324994fcb --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lgamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lgamma(x_ad); + auto y_expect = boost::math::lgamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_cpp_types.cpp index 5c390fa932..f6a73ee785 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_mp_types.cpp index 492b895f93..9dfe3df49d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_lgamma_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..f81ab2fb79 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_lgamma_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lgamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lgamma, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lgamma(x_ad); + auto y_expect = boost::math::lgamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..6c688d70f9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_polygamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, bin_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::polygamma(1,x_ad); + auto y_expect = boost::math::polygamma(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_cpp_types.cpp index 002f954ae1..adf1abc972 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_mp_types.cpp index 4371869b36..3c9d817cf5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_polygamma_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, multiprecision_float_types) { RandomSample rng{-5, 5}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..19d7f94a26 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_polygamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, multiprecision_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::polygamma(1,x_ad); + auto y_expect = boost::math::polygamma(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..cd7b07a1c4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_polygamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, bin_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::polygamma(1,x_ad); + auto y_expect = boost::math::polygamma(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_cpp_types.cpp index e8485ab5b9..09553d5cdf 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_mp_types.cpp index ffd857631b..19ab369df5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_polygamma_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, multiprecision_float_types) { RandomSample rng{-5, 5}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..540cecdc74 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_polygamma_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_polygamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_polygamma, T, multiprecision_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::polygamma(1,x_ad); + auto y_expect = boost::math::polygamma(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..af5a7e2bb6 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma1pm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, bin_float_types) + { + RandomSample rng{ -3, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma1pm1(x_ad); + auto y_expect = boost::math::tgamma1pm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_cpp_types.cpp index 8148c94689..c58d24c3e1 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_mp_types.cpp index 307c84e8d2..de7dbc28b9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_tgamma1pm1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, multiprecision_float_types) { RandomSample rng{-3, 5}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9981bd4308 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma1pm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, multiprecision_float_types) + { + RandomSample rng{ -3, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma1pm1(x_ad); + auto y_expect = boost::math::tgamma1pm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..0a4c5ec10d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma1pm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, bin_float_types) + { + RandomSample rng{ -3, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma1pm1(x_ad); + auto y_expect = boost::math::tgamma1pm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_cpp_types.cpp index d9c0407814..8c8c183b37 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_mp_types.cpp index 76e88353ba..fdc24458ac 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_tgamma1pm1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, multiprecision_float_types) { RandomSample rng{-3, 5}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..e11443cf51 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma1pm1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma1pm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma1pm1, T, multiprecision_float_types) + { + RandomSample rng{ -3, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma1pm1(x_ad); + auto y_expect = boost::math::tgamma1pm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..26612c8b62 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, bin_float_types) + { + RandomSample rng{ -3, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma(x_ad); + auto y_expect = boost::math::tgamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_cpp_types.cpp index 7838c08153..73a99011e0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_mp_types.cpp index 54928e8d8e..af467844db 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_tgamma_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, multiprecision_float_types) { RandomSample rng{-3, 5}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..796a90517b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, multiprecision_float_types) + { + RandomSample rng{ -3, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma(x_ad); + auto y_expect = boost::math::tgamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..e97c487ba4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, bin_float_types) + { + RandomSample rng{ -3, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma(x_ad); + auto y_expect = boost::math::tgamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_cpp_types.cpp index 6b4dc19d56..0f23979bcc 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_mp_types.cpp index b46f7871d0..d3b96d98c6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_tgamma_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, multiprecision_float_types) { RandomSample rng{-3, 5}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..c984dfab20 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma, T, multiprecision_float_types) + { + RandomSample rng{ -3, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma(x_ad); + auto y_expect = boost::math::tgamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..330541b9a8 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_delta_ratio_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_delta_ratio, T, bin_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_delta_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_delta_ratio(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_cpp_types.cpp index edacee14c7..aad705319f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_delta_ratio, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_delta_ratio(x_ad,arg); - auto y_expect = boost::math::tgamma_delta_ratio(x,arg); + auto y = boost::math::tgamma_delta_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_delta_ratio(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_mp_types.cpp index f61e10cde2..2146cc1c55 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_tgamma_delta_ratio_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_delta_ratio, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_delta_ratio, T, multiprecision_float_types) { RandomSample rng{0, 5}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_delta_ratio(x_ad,arg); - auto y_expect = boost::math::tgamma_delta_ratio(x,arg); + auto y = boost::math::tgamma_delta_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_delta_ratio(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..019e694989 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_delta_ratio_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_delta_ratio, T, multiprecision_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_delta_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_delta_ratio(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..133c605cf5 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_delta_ratio_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_delta_ratio, T, bin_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_delta_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_delta_ratio(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_cpp_types.cpp index 2194eee684..8e2122c8c3 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_delta_ratio, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_delta_ratio(x_ad,arg); - auto y_expect = boost::math::tgamma_delta_ratio(x,arg); + auto y = boost::math::tgamma_delta_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_delta_ratio(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_mp_types.cpp index 4703561cce..991b870fb6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_tgamma_delta_ratio_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_delta_ratio, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_delta_ratio, T, multiprecision_float_types) { RandomSample rng{0, 5}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_delta_ratio(x_ad,arg); - auto y_expect = boost::math::tgamma_delta_ratio(x,arg); + auto y = boost::math::tgamma_delta_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_delta_ratio(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..a762517e0d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_delta_ratio_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_delta_ratio_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_delta_ratio, T, multiprecision_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_delta_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_delta_ratio(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..b9bb735f01 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_lower_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_lower, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_lower(x_ad,x_ad); + auto y_expect = boost::math::tgamma_lower(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_cpp_types.cpp index 59b435e93c..a806c9bd64 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_lower, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_lower(x_ad,arg); - auto y_expect = boost::math::tgamma_lower(x,arg); + auto y = boost::math::tgamma_lower(x_ad,x_ad); + auto y_expect = boost::math::tgamma_lower(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_mp_types.cpp index a500ea4778..92284f416e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_tgamma_lower_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_lower, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_lower, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_lower(x_ad,arg); - auto y_expect = boost::math::tgamma_lower(x,arg); + auto y = boost::math::tgamma_lower(x_ad,x_ad); + auto y_expect = boost::math::tgamma_lower(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..ba967a5012 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_lower_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_lower, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_lower(x_ad,x_ad); + auto y_expect = boost::math::tgamma_lower(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..bdb48829df --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_lower_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_lower, T, bin_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_lower(x_ad,x_ad); + auto y_expect = boost::math::tgamma_lower(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_cpp_types.cpp index bc11112822..93ab5574c6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_lower, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_lower(x_ad,arg); - auto y_expect = boost::math::tgamma_lower(x,arg); + auto y = boost::math::tgamma_lower(x_ad,x_ad); + auto y_expect = boost::math::tgamma_lower(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_mp_types.cpp index dca7a5bb87..4674fdee25 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_tgamma_lower_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_lower, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_lower, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_lower(x_ad,arg); - auto y_expect = boost::math::tgamma_lower(x,arg); + auto y = boost::math::tgamma_lower(x_ad,x_ad); + auto y_expect = boost::math::tgamma_lower(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..3806bf3f32 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_lower_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_lower_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_lower, T, multiprecision_float_types) + { + RandomSample rng{ 0, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_lower(x_ad,x_ad); + auto y_expect = boost::math::tgamma_lower(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..5e7666e599 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_ratio_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_ratio, T, bin_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_ratio(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_cpp_types.cpp index 2a0d626437..92af72ffc5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_ratio, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_ratio(x_ad,arg); - auto y_expect = boost::math::tgamma_ratio(x,arg); + auto y = boost::math::tgamma_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_ratio(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_mp_types.cpp index 803d1681eb..239f05a331 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_tgamma_ratio_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_ratio, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_ratio, T, multiprecision_float_types) { RandomSample rng{0, 5}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_ratio(x_ad,arg); - auto y_expect = boost::math::tgamma_ratio(x,arg); + auto y = boost::math::tgamma_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_ratio(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..3efb2bc5e7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_ratio_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_ratio, T, multiprecision_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_ratio(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..5219b28671 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_ratio_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_ratio, T, bin_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_ratio(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_cpp_types.cpp index f4d716ebf7..33db20dea9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_ratio, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_ratio(x_ad,arg); - auto y_expect = boost::math::tgamma_ratio(x,arg); + auto y = boost::math::tgamma_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_ratio(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_mp_types.cpp index 7a376d31b8..582bcde488 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_tgamma_ratio_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_ratio, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_ratio, T, multiprecision_float_types) { RandomSample rng{0, 5}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::tgamma_ratio(x_ad,arg); - auto y_expect = boost::math::tgamma_ratio(x,arg); + auto y = boost::math::tgamma_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_ratio(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..d231c4ddca --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_tgamma_ratio_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_tgamma_ratio_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_tgamma_ratio, T, multiprecision_float_types) + { + RandomSample rng{ 0, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::tgamma_ratio(x_ad,x_ad); + auto y_expect = boost::math::tgamma_ratio(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..bb9e1d41d3 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_trigamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, bin_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::trigamma(x_ad); + auto y_expect = boost::math::trigamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_cpp_types.cpp index a83dc6b2ae..d832d33467 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_mp_types.cpp index 4b6af652b8..ad6fafbb07 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_trigamma_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, multiprecision_float_types) { RandomSample rng{-5, 5}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..81b956354e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_trigamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, multiprecision_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::trigamma(x_ad); + auto y_expect = boost::math::trigamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..7c5edeb52e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_trigamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, bin_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::trigamma(x_ad); + auto y_expect = boost::math::trigamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_cpp_types.cpp index ff5a64a8a8..ddde606512 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_mp_types.cpp index 8be70a83e8..6e5206ed7e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_trigamma_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, multiprecision_float_types) { RandomSample rng{-5, 5}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..0be2069973 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gamma/test_reverse_mode_autodiff_trigamma_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_trigamma_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_trigamma, T, multiprecision_float_types) + { + RandomSample rng{ -5, 5 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::trigamma(x_ad); + auto y_expect = boost::math::trigamma(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..a064b6ba5e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer(2,1,x_ad); + auto y_expect = boost::math::gegenbauer(2,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_cpp_types.cpp index 5e6cfbf46f..20ac8ff116 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer(2,x_ad,arg); - auto y_expect = boost::math::gegenbauer(2,x,arg); + auto y = boost::math::gegenbauer(2,1,x_ad); + auto y_expect = boost::math::gegenbauer(2,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_mp_types.cpp index f6f4b87c0d..df13f77cd8 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_gegenbauer_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer(2,x_ad,arg); - auto y_expect = boost::math::gegenbauer(2,x,arg); + auto y = boost::math::gegenbauer(2,1,x_ad); + auto y_expect = boost::math::gegenbauer(2,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..c3fbf52193 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer(2,1,x_ad); + auto y_expect = boost::math::gegenbauer(2,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..71e3f279ca --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer(2,1,x_ad); + auto y_expect = boost::math::gegenbauer(2,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_cpp_types.cpp index bfa99e0fce..85064f6391 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer(2,x_ad,arg); - auto y_expect = boost::math::gegenbauer(2,x,arg); + auto y = boost::math::gegenbauer(2,1,x_ad); + auto y_expect = boost::math::gegenbauer(2,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_mp_types.cpp index 6931682ea8..cd568ba78c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_gegenbauer_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer(2,x_ad,arg); - auto y_expect = boost::math::gegenbauer(2,x,arg); + auto y = boost::math::gegenbauer(2,1,x_ad); + auto y_expect = boost::math::gegenbauer(2,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..f035629ff9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer(2,1,x_ad); + auto y_expect = boost::math::gegenbauer(2,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..3b671eccfc --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_derivative, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer_derivative(3,1,x_ad,2); + auto y_expect = boost::math::gegenbauer_derivative(3,1,x,2); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_cpp_types.cpp index 0d18b313bb..1533c4e3d3 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_derivative, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer_derivative(3,x_ad,arg,2); - auto y_expect = boost::math::gegenbauer_derivative(3,x,arg,2); + auto y = boost::math::gegenbauer_derivative(3,1,x_ad,2); + auto y_expect = boost::math::gegenbauer_derivative(3,1,x,2); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_mp_types.cpp index 1061f39bc3..1a6b1d0b28 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_gegenbauer_derivative_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_derivative, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_derivative, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer_derivative(3,x_ad,arg,2); - auto y_expect = boost::math::gegenbauer_derivative(3,x,arg,2); + auto y = boost::math::gegenbauer_derivative(3,1,x_ad,2); + auto y_expect = boost::math::gegenbauer_derivative(3,1,x,2); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..262f24b976 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_derivative, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer_derivative(3,1,x_ad,2); + auto y_expect = boost::math::gegenbauer_derivative(3,1,x,2); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..c72d6882d6 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_derivative, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer_derivative(3,1,x_ad,2); + auto y_expect = boost::math::gegenbauer_derivative(3,1,x,2); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_cpp_types.cpp index 8d44ed82f4..32fde7061c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_derivative, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer_derivative(3,x_ad,arg,2); - auto y_expect = boost::math::gegenbauer_derivative(3,x,arg,2); + auto y = boost::math::gegenbauer_derivative(3,1,x_ad,2); + auto y_expect = boost::math::gegenbauer_derivative(3,1,x,2); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_mp_types.cpp index d0c4f7bcca..5d227138df 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_gegenbauer_derivative_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_derivative, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_derivative, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer_derivative(3,x_ad,arg,2); - auto y_expect = boost::math::gegenbauer_derivative(3,x,arg,2); + auto y = boost::math::gegenbauer_derivative(3,1,x_ad,2); + auto y_expect = boost::math::gegenbauer_derivative(3,1,x,2); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..3889b8e0dd --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_derivative_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_derivative, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer_derivative(3,1,x_ad,2); + auto y_expect = boost::math::gegenbauer_derivative(3,1,x,2); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..884876ce76 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_prime, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer_prime(3,1,x_ad); + auto y_expect = boost::math::gegenbauer_prime(3,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_cpp_types.cpp index 616239b023..a796a49ed5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer_prime(3,x_ad,arg); - auto y_expect = boost::math::gegenbauer_prime(3,x,arg); + auto y = boost::math::gegenbauer_prime(3,1,x_ad); + auto y_expect = boost::math::gegenbauer_prime(3,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_mp_types.cpp index 41e24c3b58..159c6e109a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_gegenbauer_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_prime, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer_prime(3,x_ad,arg); - auto y_expect = boost::math::gegenbauer_prime(3,x,arg); + auto y = boost::math::gegenbauer_prime(3,1,x_ad); + auto y_expect = boost::math::gegenbauer_prime(3,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b9c89975fe --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_prime, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer_prime(3,1,x_ad); + auto y_expect = boost::math::gegenbauer_prime(3,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..8df4c412c8 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_prime, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer_prime(3,1,x_ad); + auto y_expect = boost::math::gegenbauer_prime(3,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_cpp_types.cpp index 13aa46e654..6f3d942579 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer_prime(3,x_ad,arg); - auto y_expect = boost::math::gegenbauer_prime(3,x,arg); + auto y = boost::math::gegenbauer_prime(3,1,x_ad); + auto y_expect = boost::math::gegenbauer_prime(3,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_mp_types.cpp index e0fee9bde8..0e31d3373b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_gegenbauer_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_prime, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::gegenbauer_prime(3,x_ad,arg); - auto y_expect = boost::math::gegenbauer_prime(3,x,arg); + auto y = boost::math::gegenbauer_prime(3,1,x_ad); + auto y_expect = boost::math::gegenbauer_prime(3,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..bd379fda48 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/gegenbauer/test_reverse_mode_autodiff_gegenbauer_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_gegenbauer_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_gegenbauer_prime, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::gegenbauer_prime(3,1,x_ad); + auto y_expect = boost::math::gegenbauer_prime(3,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..0398635643 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_hankel_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_cpp_types.cpp index 86665d5898..a0b28b2244 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_1, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_hankel_1(x_ad,arg); - auto y_expect = boost::math::cyl_hankel_1(x,arg); + auto y = boost::math::cyl_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_mp_types.cpp index be017acb6e..72ac2ddf66 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_hankel_1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_hankel_1(x_ad,arg); - auto y_expect = boost::math::cyl_hankel_1(x,arg); + auto y = boost::math::cyl_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..1c4312b7af --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_hankel_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..c0a3f98332 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_hankel_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_cpp_types.cpp index 3c03192e45..748d1cc611 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_1, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_hankel_1(x_ad,arg); - auto y_expect = boost::math::cyl_hankel_1(x,arg); + auto y = boost::math::cyl_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_mp_types.cpp index b0a1fb8240..cea2537e31 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_hankel_1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_hankel_1(x_ad,arg); - auto y_expect = boost::math::cyl_hankel_1(x,arg); + auto y = boost::math::cyl_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..ef1b7c4189 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_hankel_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..9bf4b0520e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_hankel_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_2, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_cpp_types.cpp index b08c4d247e..f04b92d678 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_2, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_hankel_2(x_ad,arg); - auto y_expect = boost::math::cyl_hankel_2(x,arg); + auto y = boost::math::cyl_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_mp_types.cpp index e9e23c9f3f..52862ca3c2 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_hankel_2_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_2, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_2, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_hankel_2(x_ad,arg); - auto y_expect = boost::math::cyl_hankel_2(x,arg); + auto y = boost::math::cyl_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..13089c0344 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_hankel_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_2, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..691bb7e99e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_hankel_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_2, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_cpp_types.cpp index 309954337a..64a7ad4635 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_2, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_hankel_2(x_ad,arg); - auto y_expect = boost::math::cyl_hankel_2(x,arg); + auto y = boost::math::cyl_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_mp_types.cpp index b710d98a71..427a68e7e4 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_cyl_hankel_2_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_2, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_2, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::cyl_hankel_2(x_ad,arg); - auto y_expect = boost::math::cyl_hankel_2(x,arg); + auto y = boost::math::cyl_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..4fa1ec3090 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_cyl_hankel_2_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_cyl_hankel_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_cyl_hankel_2, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::cyl_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::cyl_hankel_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..f01ece330f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_hankel_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_cpp_types.cpp index 3556e7497d..63bd826b12 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_1, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_hankel_1(x_ad,arg); - auto y_expect = boost::math::sph_hankel_1(x,arg); + auto y = boost::math::sph_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_mp_types.cpp index f8cc1b526d..6c891a13bc 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_sph_hankel_1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_hankel_1(x_ad,arg); - auto y_expect = boost::math::sph_hankel_1(x,arg); + auto y = boost::math::sph_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..ef40a51a07 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_hankel_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..4cf6703c77 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_hankel_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_cpp_types.cpp index 68777e4156..0646b1ced0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_1, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_hankel_1(x_ad,arg); - auto y_expect = boost::math::sph_hankel_1(x,arg); + auto y = boost::math::sph_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_mp_types.cpp index 4fd73d2d6d..4ce9a82f07 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_sph_hankel_1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_hankel_1(x_ad,arg); - auto y_expect = boost::math::sph_hankel_1(x,arg); + auto y = boost::math::sph_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_1(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..0fa5a852cb --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_hankel_1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_hankel_1(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_1(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..10321122af --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_hankel_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_2, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_cpp_types.cpp index 8216395241..20fa9bd8d6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_2, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_hankel_2(x_ad,arg); - auto y_expect = boost::math::sph_hankel_2(x,arg); + auto y = boost::math::sph_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_mp_types.cpp index bc3f9d6c09..8643830f45 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_sph_hankel_2_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_2, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_2, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_hankel_2(x_ad,arg); - auto y_expect = boost::math::sph_hankel_2(x,arg); + auto y = boost::math::sph_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..54c5c4a3d0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_hankel_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_2, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..9b6f68122d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_hankel_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_2, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_cpp_types.cpp index deb3ae9eaa..a35e9df180 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_2, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_hankel_2(x_ad,arg); - auto y_expect = boost::math::sph_hankel_2(x,arg); + auto y = boost::math::sph_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_mp_types.cpp index 64dd61159e..b23e56b2ad 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_sph_hankel_2_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_2, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_2, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::sph_hankel_2(x_ad,arg); - auto y_expect = boost::math::sph_hankel_2(x,arg); + auto y = boost::math::sph_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_2(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b34f460c4f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hankel/test_reverse_mode_autodiff_sph_hankel_2_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sph_hankel_2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sph_hankel_2, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sph_hankel_2(x_ad,x_ad); + auto y_expect = boost::math::sph_hankel_2(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..c4d6b9a409 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hermite_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hermite(2,x_ad); + auto y_expect = boost::math::hermite(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_cpp_types.cpp index d83cbf052e..03edef6fd6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_mp_types.cpp index 4222a6743d..bc4b6a4086 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_hermite_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..ca9c6ed2c0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hermite_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hermite(2,x_ad); + auto y_expect = boost::math::hermite(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..bcc33bfce3 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hermite_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hermite(2,x_ad); + auto y_expect = boost::math::hermite(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_cpp_types.cpp index f307184558..eded3d5314 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_mp_types.cpp index f016252341..af496bf328 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_hermite_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..fb6840b793 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hermite/test_reverse_mode_autodiff_hermite_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hermite_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hermite, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hermite(2,x_ad); + auto y_expect = boost::math::hermite(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_OFF_cpp_types.cpp index ab132c50d5..c51da23248 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_labda, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::heuman_labda(x_ad,arg); - auto y_expect = boost::math::heuman_labda(x,arg); + auto y = boost::math::heuman_labda(x_ad,x_ad); + auto y_expect = boost::math::heuman_labda(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_OFF_mp_types.cpp index 76e6b36142..90bc397900 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_heuman_labda_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_labda, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_labda, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::heuman_labda(x_ad,arg); - auto y_expect = boost::math::heuman_labda(x,arg); + auto y = boost::math::heuman_labda(x_ad,x_ad); + auto y_expect = boost::math::heuman_labda(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_ON_cpp_types.cpp index e1457f2e2d..a8f2c6e5d7 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_labda, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::heuman_labda(x_ad,arg); - auto y_expect = boost::math::heuman_labda(x,arg); + auto y = boost::math::heuman_labda(x_ad,x_ad); + auto y_expect = boost::math::heuman_labda(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_ON_mp_types.cpp index 68c3e56b6c..625166a0ac 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_labda_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_heuman_labda_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_labda, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_labda, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::heuman_labda(x_ad,arg); - auto y_expect = boost::math::heuman_labda(x,arg); + auto y = boost::math::heuman_labda(x_ad,x_ad); + auto y_expect = boost::math::heuman_labda(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..12bf38b719 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_heuman_lambda_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_lambda, T, bin_float_types) + { + RandomSample rng{ 0.1, 1.0 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::heuman_lambda(0,x_ad); + auto y_expect = boost::math::heuman_lambda(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_cpp_types.cpp new file mode 100644 index 0000000000..92b4edf3ca --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_cpp_types.cpp @@ -0,0 +1,31 @@ +// Copyright Maksym Zhelyeznyakov 2025-2026 +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) +// +// This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh +// DO NOT EDIT MANUALLY + +#define BOOST_MATH_REVERSE_MODE_ET_OFF +#include +#include +#include +#include +#include + +BOOST_AUTO_TEST_SUITE(test_heuman_lambda_compiles) + +using namespace rdiff; + +BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_lambda, T, bin_float_types) +{ + RandomSample rng{0.1, 1.0}; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::heuman_lambda(0,x_ad); + auto y_expect = boost::math::heuman_lambda(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); +} +BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_mp_types.cpp new file mode 100644 index 0000000000..b182d942cb --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_mp_types.cpp @@ -0,0 +1,31 @@ +// Copyright Maksym Zhelyeznyakov 2025-2026 +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) +// +// This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh +// DO NOT EDIT MANUALLY + +#define BOOST_MATH_REVERSE_MODE_ET_OFF +#include +#include +#include +#include +#include + +BOOST_AUTO_TEST_SUITE(test_heuman_lambda_compiles) + +using namespace rdiff; + +BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_lambda, T, multiprecision_float_types) +{ + RandomSample rng{0.1, 1.0}; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::heuman_lambda(0,x_ad); + auto y_expect = boost::math::heuman_lambda(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); +} +BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..bb8bdbcf22 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_heuman_lambda_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_lambda, T, multiprecision_float_types) + { + RandomSample rng{ 0.1, 1.0 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::heuman_lambda(0,x_ad); + auto y_expect = boost::math::heuman_lambda(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..90e5ea6aa6 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_heuman_lambda_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_lambda, T, bin_float_types) + { + RandomSample rng{ 0.1, 1.0 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::heuman_lambda(0,x_ad); + auto y_expect = boost::math::heuman_lambda(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_cpp_types.cpp new file mode 100644 index 0000000000..e43755479f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_cpp_types.cpp @@ -0,0 +1,31 @@ +// Copyright Maksym Zhelyeznyakov 2025-2026 +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) +// +// This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh +// DO NOT EDIT MANUALLY + +#define BOOST_MATH_REVERSE_MODE_ET_ON +#include +#include +#include +#include +#include + +BOOST_AUTO_TEST_SUITE(test_heuman_lambda_compiles) + +using namespace rdiff; + +BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_lambda, T, bin_float_types) +{ + RandomSample rng{0.1, 1.0}; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::heuman_lambda(0,x_ad); + auto y_expect = boost::math::heuman_lambda(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); +} +BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_mp_types.cpp new file mode 100644 index 0000000000..2e12431732 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_mp_types.cpp @@ -0,0 +1,31 @@ +// Copyright Maksym Zhelyeznyakov 2025-2026 +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) +// +// This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh +// DO NOT EDIT MANUALLY + +#define BOOST_MATH_REVERSE_MODE_ET_ON +#include +#include +#include +#include +#include + +BOOST_AUTO_TEST_SUITE(test_heuman_lambda_compiles) + +using namespace rdiff; + +BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_lambda, T, multiprecision_float_types) +{ + RandomSample rng{0.1, 1.0}; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::heuman_lambda(0,x_ad); + auto y_expect = boost::math::heuman_lambda(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); +} +BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..e6858873b6 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/heuman_lambda/test_reverse_mode_autodiff_heuman_lambda_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_heuman_lambda_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_heuman_lambda, T, multiprecision_float_types) + { + RandomSample rng{ 0.1, 1.0 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::heuman_lambda(0,x_ad); + auto y_expect = boost::math::heuman_lambda(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..1109896e87 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_0F1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_0F1, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_0F1(1,x_ad); + auto y_expect = boost::math::hypergeometric_0F1(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_cpp_types.cpp index 2be1f1f1df..89fc619e72 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_0F1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_0F1(x_ad,arg); - auto y_expect = boost::math::hypergeometric_0F1(x,arg); + auto y = boost::math::hypergeometric_0F1(1,x_ad); + auto y_expect = boost::math::hypergeometric_0F1(1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_mp_types.cpp index 9b45b7ca9f..2886582c84 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_hypergeometric_0F1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_0F1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_0F1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_0F1(x_ad,arg); - auto y_expect = boost::math::hypergeometric_0F1(x,arg); + auto y = boost::math::hypergeometric_0F1(1,x_ad); + auto y_expect = boost::math::hypergeometric_0F1(1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..e397489189 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_0F1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_0F1, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_0F1(1,x_ad); + auto y_expect = boost::math::hypergeometric_0F1(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..4e251e9728 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_0F1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_0F1, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_0F1(1,x_ad); + auto y_expect = boost::math::hypergeometric_0F1(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_cpp_types.cpp index be35438a87..cea0139b12 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_0F1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_0F1(x_ad,arg); - auto y_expect = boost::math::hypergeometric_0F1(x,arg); + auto y = boost::math::hypergeometric_0F1(1,x_ad); + auto y_expect = boost::math::hypergeometric_0F1(1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_mp_types.cpp index eb16fc87ed..8a5184b93c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_hypergeometric_0F1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_0F1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_0F1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_0F1(x_ad,arg); - auto y_expect = boost::math::hypergeometric_0F1(x,arg); + auto y = boost::math::hypergeometric_0F1(1,x_ad); + auto y_expect = boost::math::hypergeometric_0F1(1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..bf45b379a9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_0F1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_0F1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_0F1, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_0F1(1,x_ad); + auto y_expect = boost::math::hypergeometric_0F1(1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..c707b7e390 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F0, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_1F0(x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F0(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_cpp_types.cpp index 05a849ede6..0290dcaf1c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F0, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_1F0(x_ad,arg); - auto y_expect = boost::math::hypergeometric_1F0(x,arg); + auto y = boost::math::hypergeometric_1F0(x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F0(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_mp_types.cpp index 6a60f6cef3..1c03fdc9c5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F0_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F0, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F0, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_1F0(x_ad,arg); - auto y_expect = boost::math::hypergeometric_1F0(x,arg); + auto y = boost::math::hypergeometric_1F0(x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F0(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..df92ee2da7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F0, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_1F0(x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F0(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..4a6a711a36 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F0, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_1F0(x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F0(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_cpp_types.cpp index 6c82220f7f..79be1904d9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F0, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_1F0(x_ad,arg); - auto y_expect = boost::math::hypergeometric_1F0(x,arg); + auto y = boost::math::hypergeometric_1F0(x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F0(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_mp_types.cpp index 168f9bc57a..9546f02ea7 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F0_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F0, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F0, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_1F0(x_ad,arg); - auto y_expect = boost::math::hypergeometric_1F0(x,arg); + auto y = boost::math::hypergeometric_1F0(x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F0(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..78cc954d8d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F0_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F0, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_1F0(x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F0(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..51bbcaad63 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F1, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_1F1(x_ad,x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F1(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_cpp_types.cpp index 232905b3b8..a074b753da 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_1F1(x_ad,arg,arg); - auto y_expect = boost::math::hypergeometric_1F1(x,arg,arg); + auto y = boost::math::hypergeometric_1F1(x_ad,x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F1(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_mp_types.cpp index 3020ff11d6..223e86f7c5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_1F1(x_ad,arg,arg); - auto y_expect = boost::math::hypergeometric_1F1(x,arg,arg); + auto y = boost::math::hypergeometric_1F1(x_ad,x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F1(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..7d1b1d4567 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F1, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_1F1(x_ad,x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F1(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..bdd609c669 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F1, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_1F1(x_ad,x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F1(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_cpp_types.cpp index 27b62adf45..3ec82ecd4c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_1F1(x_ad,arg,arg); - auto y_expect = boost::math::hypergeometric_1F1(x,arg,arg); + auto y = boost::math::hypergeometric_1F1(x_ad,x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F1(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_mp_types.cpp index 6e1728b145..22c278cf38 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_1F1(x_ad,arg,arg); - auto y_expect = boost::math::hypergeometric_1F1(x,arg,arg); + auto y = boost::math::hypergeometric_1F1(x_ad,x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F1(x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..82355f95a9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_1F1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_1F1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_1F1, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_1F1(x_ad,x_ad,x_ad); + auto y_expect = boost::math::hypergeometric_1F1(x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..750ea8a8ec --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_2F0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_2F0, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_2F0(-1,1,x_ad); + auto y_expect = boost::math::hypergeometric_2F0(-1,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_cpp_types.cpp index 1a36cb6147..869fce80cd 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_2F0, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_2F0(x_ad,arg,arg); - auto y_expect = boost::math::hypergeometric_2F0(x,arg,arg); + auto y = boost::math::hypergeometric_2F0(-1,1,x_ad); + auto y_expect = boost::math::hypergeometric_2F0(-1,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_mp_types.cpp index 56a31ab0bc..d06ae7a62f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_hypergeometric_2F0_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_2F0, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_2F0, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_2F0(x_ad,arg,arg); - auto y_expect = boost::math::hypergeometric_2F0(x,arg,arg); + auto y = boost::math::hypergeometric_2F0(-1,1,x_ad); + auto y_expect = boost::math::hypergeometric_2F0(-1,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..836dc897bd --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_2F0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_2F0, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_2F0(-1,1,x_ad); + auto y_expect = boost::math::hypergeometric_2F0(-1,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..4a09bb19bd --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_2F0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_2F0, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_2F0(-1,1,x_ad); + auto y_expect = boost::math::hypergeometric_2F0(-1,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_cpp_types.cpp index e5c806ea03..12b34fe89d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,12 +19,13 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_2F0, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_2F0(x_ad,arg,arg); - auto y_expect = boost::math::hypergeometric_2F0(x,arg,arg); + auto y = boost::math::hypergeometric_2F0(-1,1,x_ad); + auto y_expect = boost::math::hypergeometric_2F0(-1,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_mp_types.cpp index 18e92b4441..c0a58e7ade 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_hypergeometric_2F0_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_2F0, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_2F0, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-1, 1}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::hypergeometric_2F0(x_ad,arg,arg); - auto y_expect = boost::math::hypergeometric_2F0(x,arg,arg); + auto y = boost::math::hypergeometric_2F0(-1,1,x_ad); + auto y_expect = boost::math::hypergeometric_2F0(-1,1,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..e157bb7eb8 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/hypergeometric/test_reverse_mode_autodiff_hypergeometric_2F0_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_hypergeometric_2F0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_hypergeometric_2F0, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::hypergeometric_2F0(-1,1,x_ad); + auto y_expect = boost::math::hypergeometric_2F0(-1,1,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..77e6e68102 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi(2,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_cpp_types.cpp index b1a374c8ea..8572858a2b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi(2,x_ad,arg,arg); - auto y_expect = boost::math::jacobi(2,x,arg,arg); + auto y = boost::math::jacobi(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi(2,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_mp_types.cpp index 696af04782..c34aa47c3f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi(2,x_ad,arg,arg); - auto y_expect = boost::math::jacobi(2,x,arg,arg); + auto y = boost::math::jacobi(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi(2,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b2931cff44 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi(2,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..d284784b15 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi(2,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_cpp_types.cpp index 7cdb2679df..9b2ce9cf70 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi(2,x_ad,arg,arg); - auto y_expect = boost::math::jacobi(2,x,arg,arg); + auto y = boost::math::jacobi(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi(2,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_mp_types.cpp index fec8b5c9a2..49a7bff628 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi(2,x_ad,arg,arg); - auto y_expect = boost::math::jacobi(2,x,arg,arg); + auto y = boost::math::jacobi(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi(2,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..3d59fc5136 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi(2,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..6f086e2dfa --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_derivative, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_derivative(2,x_ad,x_ad,x_ad,1); + auto y_expect = boost::math::jacobi_derivative(2,x,x,x,1); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_cpp_types.cpp index 6d3d7a478e..59db576f04 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_derivative, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_derivative(2,x_ad,arg,arg,1); - auto y_expect = boost::math::jacobi_derivative(2,x,arg,arg,1); + auto y = boost::math::jacobi_derivative(2,x_ad,x_ad,x_ad,1); + auto y_expect = boost::math::jacobi_derivative(2,x,x,x,1); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_mp_types.cpp index 5ac164aa6d..e8b500535c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_derivative_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_derivative, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_derivative, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_derivative(2,x_ad,arg,arg,1); - auto y_expect = boost::math::jacobi_derivative(2,x,arg,arg,1); + auto y = boost::math::jacobi_derivative(2,x_ad,x_ad,x_ad,1); + auto y_expect = boost::math::jacobi_derivative(2,x,x,x,1); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..8d8b983ee4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_derivative, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_derivative(2,x_ad,x_ad,x_ad,1); + auto y_expect = boost::math::jacobi_derivative(2,x,x,x,1); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..70fffa4be2 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_derivative, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_derivative(2,x_ad,x_ad,x_ad,1); + auto y_expect = boost::math::jacobi_derivative(2,x,x,x,1); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_cpp_types.cpp index d37d7b446a..37088ec36d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_derivative, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_derivative(2,x_ad,arg,arg,1); - auto y_expect = boost::math::jacobi_derivative(2,x,arg,arg,1); + auto y = boost::math::jacobi_derivative(2,x_ad,x_ad,x_ad,1); + auto y_expect = boost::math::jacobi_derivative(2,x,x,x,1); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_mp_types.cpp index b6fa65f67b..468d584112 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_derivative_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_derivative, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_derivative, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_derivative(2,x_ad,arg,arg,1); - auto y_expect = boost::math::jacobi_derivative(2,x,arg,arg,1); + auto y = boost::math::jacobi_derivative(2,x_ad,x_ad,x_ad,1); + auto y_expect = boost::math::jacobi_derivative(2,x,x,x,1); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..902118fca0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_derivative_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_derivative_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_derivative, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_derivative(2,x_ad,x_ad,x_ad,1); + auto y_expect = boost::math::jacobi_derivative(2,x,x,x,1); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..b45dda42b8 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_double_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_double_prime, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_double_prime(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_double_prime(2,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_cpp_types.cpp index a475ccae4e..1a776a1bff 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_double_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_double_prime(2,x_ad,arg,arg); - auto y_expect = boost::math::jacobi_double_prime(2,x,arg,arg); + auto y = boost::math::jacobi_double_prime(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_double_prime(2,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_mp_types.cpp index a03f2e6357..fc3a6896e9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_double_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_double_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_double_prime, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_double_prime(2,x_ad,arg,arg); - auto y_expect = boost::math::jacobi_double_prime(2,x,arg,arg); + auto y = boost::math::jacobi_double_prime(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_double_prime(2,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..8991bc31e4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_double_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_double_prime, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_double_prime(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_double_prime(2,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..cdc83331a1 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_double_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_double_prime, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_double_prime(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_double_prime(2,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_cpp_types.cpp index 925e9c5d34..934e3c9380 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_double_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_double_prime(2,x_ad,arg,arg); - auto y_expect = boost::math::jacobi_double_prime(2,x,arg,arg); + auto y = boost::math::jacobi_double_prime(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_double_prime(2,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_mp_types.cpp index 81901c192f..a030b55cd2 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_double_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_double_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_double_prime, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_double_prime(2,x_ad,arg,arg); - auto y_expect = boost::math::jacobi_double_prime(2,x,arg,arg); + auto y = boost::math::jacobi_double_prime(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_double_prime(2,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..769133e697 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_double_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_double_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_double_prime, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_double_prime(2,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_double_prime(2,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..35d2ef7dcf --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_prime, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_prime(3,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_prime(3,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_cpp_types.cpp index de12f9192d..b1dc5faa5b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_prime(3,x_ad,arg,arg); - auto y_expect = boost::math::jacobi_prime(3,x,arg,arg); + auto y = boost::math::jacobi_prime(3,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_prime(3,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_mp_types.cpp index 19fa5a7525..0ec556df0c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_prime, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_prime(3,x_ad,arg,arg); - auto y_expect = boost::math::jacobi_prime(3,x,arg,arg); + auto y = boost::math::jacobi_prime(3,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_prime(3,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..6615ccc73d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_prime, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_prime(3,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_prime(3,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..29bea00400 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_prime, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_prime(3,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_prime(3,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_cpp_types.cpp index 26232c8789..760299d5b1 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_prime, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_prime(3,x_ad,arg,arg); - auto y_expect = boost::math::jacobi_prime(3,x,arg,arg); + auto y = boost::math::jacobi_prime(3,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_prime(3,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_mp_types.cpp index 1321bb4a6b..de3e5dd788 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_prime, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_prime(3,x_ad,arg,arg); - auto y_expect = boost::math::jacobi_prime(3,x,arg,arg); + auto y = boost::math::jacobi_prime(3,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_prime(3,x,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..bcb4b9d1ac --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi/test_reverse_mode_autodiff_jacobi_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_prime, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_prime(3,x_ad,x_ad,x_ad); + auto y_expect = boost::math::jacobi_prime(3,x,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..c403a92202 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cd, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cd(0.25,x_ad); + auto y_expect = boost::math::jacobi_cd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_cpp_types.cpp index d1c975672f..6a5f33a8c2 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cd, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cd(x_ad,arg); - auto y_expect = boost::math::jacobi_cd(x,arg); + auto y = boost::math::jacobi_cd(0.25,x_ad); + auto y_expect = boost::math::jacobi_cd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_mp_types.cpp index 96c2a0177d..be9a3b45c7 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_cd_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cd, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cd, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cd(x_ad,arg); - auto y_expect = boost::math::jacobi_cd(x,arg); + auto y = boost::math::jacobi_cd(0.25,x_ad); + auto y_expect = boost::math::jacobi_cd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..619d28d480 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cd, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cd(0.25,x_ad); + auto y_expect = boost::math::jacobi_cd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..021ad5d0c7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cd, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cd(0.25,x_ad); + auto y_expect = boost::math::jacobi_cd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_cpp_types.cpp index 913eae57cf..88b15d448d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cd, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cd(x_ad,arg); - auto y_expect = boost::math::jacobi_cd(x,arg); + auto y = boost::math::jacobi_cd(0.25,x_ad); + auto y_expect = boost::math::jacobi_cd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_mp_types.cpp index fd85b6380d..c9d894c2e7 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_cd_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cd, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cd, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cd(x_ad,arg); - auto y_expect = boost::math::jacobi_cd(x,arg); + auto y = boost::math::jacobi_cd(0.25,x_ad); + auto y_expect = boost::math::jacobi_cd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b35cde60d4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cd_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cd, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cd(0.25,x_ad); + auto y_expect = boost::math::jacobi_cd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..affabd5b3c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cn, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cn(0.25,x_ad); + auto y_expect = boost::math::jacobi_cn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_cpp_types.cpp index 2e95a23dcb..dd229c9da0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cn, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cn(x_ad,arg); - auto y_expect = boost::math::jacobi_cn(x,arg); + auto y = boost::math::jacobi_cn(0.25,x_ad); + auto y_expect = boost::math::jacobi_cn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_mp_types.cpp index 7c4d681358..cf05734ded 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_cn_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cn, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cn, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cn(x_ad,arg); - auto y_expect = boost::math::jacobi_cn(x,arg); + auto y = boost::math::jacobi_cn(0.25,x_ad); + auto y_expect = boost::math::jacobi_cn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..693f0d5ff3 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cn, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cn(0.25,x_ad); + auto y_expect = boost::math::jacobi_cn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..dfefd20857 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cn, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cn(0.25,x_ad); + auto y_expect = boost::math::jacobi_cn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_cpp_types.cpp index 29ae4bedba..896725361e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cn, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cn(x_ad,arg); - auto y_expect = boost::math::jacobi_cn(x,arg); + auto y = boost::math::jacobi_cn(0.25,x_ad); + auto y_expect = boost::math::jacobi_cn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_mp_types.cpp index 5b29249306..9195d0acc5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_cn_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cn, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cn, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cn(x_ad,arg); - auto y_expect = boost::math::jacobi_cn(x,arg); + auto y = boost::math::jacobi_cn(0.25,x_ad); + auto y_expect = boost::math::jacobi_cn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..bacc8b40bf --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cn_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cn, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cn(0.25,x_ad); + auto y_expect = boost::math::jacobi_cn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..2c20bd1ea1 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cs_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cs, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cs(0.25,x_ad); + auto y_expect = boost::math::jacobi_cs(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_cpp_types.cpp index 87956e486a..4287b30fa3 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cs, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cs(x_ad,arg); - auto y_expect = boost::math::jacobi_cs(x,arg); + auto y = boost::math::jacobi_cs(0.25,x_ad); + auto y_expect = boost::math::jacobi_cs(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_mp_types.cpp index 75c796a1ab..f569ffa0e8 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_cs_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cs, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cs, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cs(x_ad,arg); - auto y_expect = boost::math::jacobi_cs(x,arg); + auto y = boost::math::jacobi_cs(0.25,x_ad); + auto y_expect = boost::math::jacobi_cs(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b419a19081 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cs_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cs, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cs(0.25,x_ad); + auto y_expect = boost::math::jacobi_cs(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..50c6fca3a2 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cs_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cs, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cs(0.25,x_ad); + auto y_expect = boost::math::jacobi_cs(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_cpp_types.cpp index b685296112..90c87fad5a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cs, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cs(x_ad,arg); - auto y_expect = boost::math::jacobi_cs(x,arg); + auto y = boost::math::jacobi_cs(0.25,x_ad); + auto y_expect = boost::math::jacobi_cs(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_mp_types.cpp index 6c9ef1a31d..a60a2e3091 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_cs_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cs, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cs, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_cs(x_ad,arg); - auto y_expect = boost::math::jacobi_cs(x,arg); + auto y = boost::math::jacobi_cs(0.25,x_ad); + auto y_expect = boost::math::jacobi_cs(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..1e35e8f7f1 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_cs_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_cs_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_cs, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_cs(0.25,x_ad); + auto y_expect = boost::math::jacobi_cs(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..1e612c28c9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_dc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dc, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_dc(0.25,x_ad); + auto y_expect = boost::math::jacobi_dc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_cpp_types.cpp index 47c24a9adb..51d8f58b6a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dc, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_dc(x_ad,arg); - auto y_expect = boost::math::jacobi_dc(x,arg); + auto y = boost::math::jacobi_dc(0.25,x_ad); + auto y_expect = boost::math::jacobi_dc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_mp_types.cpp index 6dc824dc5e..e30d591f27 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_dc_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dc, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dc, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_dc(x_ad,arg); - auto y_expect = boost::math::jacobi_dc(x,arg); + auto y = boost::math::jacobi_dc(0.25,x_ad); + auto y_expect = boost::math::jacobi_dc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..17a1216954 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_dc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dc, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_dc(0.25,x_ad); + auto y_expect = boost::math::jacobi_dc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..a647151010 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_dc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dc, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_dc(0.25,x_ad); + auto y_expect = boost::math::jacobi_dc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_cpp_types.cpp index 7be02b155a..c3df87ce8d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dc, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_dc(x_ad,arg); - auto y_expect = boost::math::jacobi_dc(x,arg); + auto y = boost::math::jacobi_dc(0.25,x_ad); + auto y_expect = boost::math::jacobi_dc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_mp_types.cpp index 8fdf1f3b10..a307d54b6d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_dc_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dc, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dc, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_dc(x_ad,arg); - auto y_expect = boost::math::jacobi_dc(x,arg); + auto y = boost::math::jacobi_dc(0.25,x_ad); + auto y_expect = boost::math::jacobi_dc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..d8a2c7e1f5 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dc_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_dc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dc, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_dc(0.25,x_ad); + auto y_expect = boost::math::jacobi_dc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..35b7e63294 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_dn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dn, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_dn(0.25,x_ad); + auto y_expect = boost::math::jacobi_dn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_cpp_types.cpp index dd5bf5134e..604bff65f0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dn, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_dn(x_ad,arg); - auto y_expect = boost::math::jacobi_dn(x,arg); + auto y = boost::math::jacobi_dn(0.25,x_ad); + auto y_expect = boost::math::jacobi_dn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_mp_types.cpp index b16d1f8f82..8d4fbba166 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_dn_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dn, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dn, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_dn(x_ad,arg); - auto y_expect = boost::math::jacobi_dn(x,arg); + auto y = boost::math::jacobi_dn(0.25,x_ad); + auto y_expect = boost::math::jacobi_dn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..efe83d0942 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_dn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dn, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_dn(0.25,x_ad); + auto y_expect = boost::math::jacobi_dn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..9ab3a00167 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_dn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dn, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_dn(0.25,x_ad); + auto y_expect = boost::math::jacobi_dn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_cpp_types.cpp index ff169f0595..9b224f168b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dn, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_dn(x_ad,arg); - auto y_expect = boost::math::jacobi_dn(x,arg); + auto y = boost::math::jacobi_dn(0.25,x_ad); + auto y_expect = boost::math::jacobi_dn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_mp_types.cpp index 373ba914d0..0653b3453e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_dn_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dn, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dn, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_dn(x_ad,arg); - auto y_expect = boost::math::jacobi_dn(x,arg); + auto y = boost::math::jacobi_dn(0.25,x_ad); + auto y_expect = boost::math::jacobi_dn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..1a2e96e203 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_dn_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_dn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_dn, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_dn(0.25,x_ad); + auto y_expect = boost::math::jacobi_dn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..4f5358f6a6 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_ds_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ds, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_ds(0.25,x_ad); + auto y_expect = boost::math::jacobi_ds(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_cpp_types.cpp index 0b82f98217..69501d98d6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ds, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_ds(x_ad,arg); - auto y_expect = boost::math::jacobi_ds(x,arg); + auto y = boost::math::jacobi_ds(0.25,x_ad); + auto y_expect = boost::math::jacobi_ds(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_mp_types.cpp index 10cca2cf18..3e1c48519c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_ds_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ds, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ds, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_ds(x_ad,arg); - auto y_expect = boost::math::jacobi_ds(x,arg); + auto y = boost::math::jacobi_ds(0.25,x_ad); + auto y_expect = boost::math::jacobi_ds(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..a90a13bedd --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_ds_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ds, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_ds(0.25,x_ad); + auto y_expect = boost::math::jacobi_ds(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..29156501fb --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_ds_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ds, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_ds(0.25,x_ad); + auto y_expect = boost::math::jacobi_ds(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_cpp_types.cpp index fba117799d..894fc8c49c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ds, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_ds(x_ad,arg); - auto y_expect = boost::math::jacobi_ds(x,arg); + auto y = boost::math::jacobi_ds(0.25,x_ad); + auto y_expect = boost::math::jacobi_ds(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_mp_types.cpp index e045436a58..93c5097fa8 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_ds_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ds, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ds, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_ds(x_ad,arg); - auto y_expect = boost::math::jacobi_ds(x,arg); + auto y = boost::math::jacobi_ds(0.25,x_ad); + auto y_expect = boost::math::jacobi_ds(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..19de43ccf9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ds_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_ds_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ds, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_ds(0.25,x_ad); + auto y_expect = boost::math::jacobi_ds(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..a8ce0b94a6 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_nc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nc, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_nc(0.25,x_ad); + auto y_expect = boost::math::jacobi_nc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_cpp_types.cpp index 4c8a4c73e4..38da69decf 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nc, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_nc(x_ad,arg); - auto y_expect = boost::math::jacobi_nc(x,arg); + auto y = boost::math::jacobi_nc(0.25,x_ad); + auto y_expect = boost::math::jacobi_nc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_mp_types.cpp index cfddef68c4..9cff7d5ba8 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_nc_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nc, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nc, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_nc(x_ad,arg); - auto y_expect = boost::math::jacobi_nc(x,arg); + auto y = boost::math::jacobi_nc(0.25,x_ad); + auto y_expect = boost::math::jacobi_nc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..e005229df4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_nc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nc, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_nc(0.25,x_ad); + auto y_expect = boost::math::jacobi_nc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..411243943d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_nc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nc, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_nc(0.25,x_ad); + auto y_expect = boost::math::jacobi_nc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_cpp_types.cpp index e363d7d469..da8585bf57 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nc, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_nc(x_ad,arg); - auto y_expect = boost::math::jacobi_nc(x,arg); + auto y = boost::math::jacobi_nc(0.25,x_ad); + auto y_expect = boost::math::jacobi_nc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_mp_types.cpp index 0b3620b662..b334b7bcb7 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_nc_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nc, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nc, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_nc(x_ad,arg); - auto y_expect = boost::math::jacobi_nc(x,arg); + auto y = boost::math::jacobi_nc(0.25,x_ad); + auto y_expect = boost::math::jacobi_nc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..47041609a9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nc_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_nc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nc, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_nc(0.25,x_ad); + auto y_expect = boost::math::jacobi_nc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..f382acb648 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_nd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nd, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_nd(0.25,x_ad); + auto y_expect = boost::math::jacobi_nd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_cpp_types.cpp index 880003334f..73b01d18da 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nd, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_nd(x_ad,arg); - auto y_expect = boost::math::jacobi_nd(x,arg); + auto y = boost::math::jacobi_nd(0.25,x_ad); + auto y_expect = boost::math::jacobi_nd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_mp_types.cpp index 36abfeb06c..34fd7cf3c8 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_nd_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nd, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nd, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_nd(x_ad,arg); - auto y_expect = boost::math::jacobi_nd(x,arg); + auto y = boost::math::jacobi_nd(0.25,x_ad); + auto y_expect = boost::math::jacobi_nd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..caef4b5f27 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_nd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nd, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_nd(0.25,x_ad); + auto y_expect = boost::math::jacobi_nd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..b0484e8954 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_nd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nd, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_nd(0.25,x_ad); + auto y_expect = boost::math::jacobi_nd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_cpp_types.cpp index 9d7810262a..1d2c462ba5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nd, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_nd(x_ad,arg); - auto y_expect = boost::math::jacobi_nd(x,arg); + auto y = boost::math::jacobi_nd(0.25,x_ad); + auto y_expect = boost::math::jacobi_nd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_mp_types.cpp index 1be9614da4..cf468b0a6c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_nd_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nd, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nd, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_nd(x_ad,arg); - auto y_expect = boost::math::jacobi_nd(x,arg); + auto y = boost::math::jacobi_nd(0.25,x_ad); + auto y_expect = boost::math::jacobi_nd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..ecb0e56bb5 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_nd_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_nd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_nd, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_nd(0.25,x_ad); + auto y_expect = boost::math::jacobi_nd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..1c6c6e9944 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_ns_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ns, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_ns(0.25,x_ad); + auto y_expect = boost::math::jacobi_ns(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_cpp_types.cpp index 970b3853c4..48fd276981 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ns, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_ns(x_ad,arg); - auto y_expect = boost::math::jacobi_ns(x,arg); + auto y = boost::math::jacobi_ns(0.25,x_ad); + auto y_expect = boost::math::jacobi_ns(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_mp_types.cpp index 0e382aedbf..5f472ec82c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_ns_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ns, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ns, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_ns(x_ad,arg); - auto y_expect = boost::math::jacobi_ns(x,arg); + auto y = boost::math::jacobi_ns(0.25,x_ad); + auto y_expect = boost::math::jacobi_ns(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..a63336ccd9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_ns_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ns, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_ns(0.25,x_ad); + auto y_expect = boost::math::jacobi_ns(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..a69bd4003d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_ns_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ns, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_ns(0.25,x_ad); + auto y_expect = boost::math::jacobi_ns(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_cpp_types.cpp index e0a06ceb09..c10b8aa7f5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ns, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_ns(x_ad,arg); - auto y_expect = boost::math::jacobi_ns(x,arg); + auto y = boost::math::jacobi_ns(0.25,x_ad); + auto y_expect = boost::math::jacobi_ns(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_mp_types.cpp index eb5858ad1c..4a30a20acb 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_ns_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ns, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ns, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_ns(x_ad,arg); - auto y_expect = boost::math::jacobi_ns(x,arg); + auto y = boost::math::jacobi_ns(0.25,x_ad); + auto y_expect = boost::math::jacobi_ns(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..69bedea299 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_ns_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_ns_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_ns, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_ns(0.25,x_ad); + auto y_expect = boost::math::jacobi_ns(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..786a808833 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sc, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sc(0.25,x_ad); + auto y_expect = boost::math::jacobi_sc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_cpp_types.cpp index e5de085ee9..520b214f08 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sc, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sc(x_ad,arg); - auto y_expect = boost::math::jacobi_sc(x,arg); + auto y = boost::math::jacobi_sc(0.25,x_ad); + auto y_expect = boost::math::jacobi_sc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_mp_types.cpp index ccebd83402..82f441c9ce 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_sc_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sc, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sc, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sc(x_ad,arg); - auto y_expect = boost::math::jacobi_sc(x,arg); + auto y = boost::math::jacobi_sc(0.25,x_ad); + auto y_expect = boost::math::jacobi_sc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..de649fa59f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sc, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sc(0.25,x_ad); + auto y_expect = boost::math::jacobi_sc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..5487ca1d23 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sc, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sc(0.25,x_ad); + auto y_expect = boost::math::jacobi_sc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_cpp_types.cpp index 0448a19a18..f63966dd2c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sc, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sc(x_ad,arg); - auto y_expect = boost::math::jacobi_sc(x,arg); + auto y = boost::math::jacobi_sc(0.25,x_ad); + auto y_expect = boost::math::jacobi_sc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_mp_types.cpp index ac7c6fb06a..3b18d762b0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_sc_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sc, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sc, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sc(x_ad,arg); - auto y_expect = boost::math::jacobi_sc(x,arg); + auto y = boost::math::jacobi_sc(0.25,x_ad); + auto y_expect = boost::math::jacobi_sc(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..dfbb6ac36c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sc_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sc_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sc, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sc(0.25,x_ad); + auto y_expect = boost::math::jacobi_sc(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..33b5f746be --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sd, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sd(0.25,x_ad); + auto y_expect = boost::math::jacobi_sd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_cpp_types.cpp index 67503be029..988b306707 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sd, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sd(x_ad,arg); - auto y_expect = boost::math::jacobi_sd(x,arg); + auto y = boost::math::jacobi_sd(0.25,x_ad); + auto y_expect = boost::math::jacobi_sd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_mp_types.cpp index 06f28b6393..6ab582169a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_sd_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sd, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sd, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sd(x_ad,arg); - auto y_expect = boost::math::jacobi_sd(x,arg); + auto y = boost::math::jacobi_sd(0.25,x_ad); + auto y_expect = boost::math::jacobi_sd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..fd971eeaf0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sd, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sd(0.25,x_ad); + auto y_expect = boost::math::jacobi_sd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..9721120455 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sd, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sd(0.25,x_ad); + auto y_expect = boost::math::jacobi_sd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_cpp_types.cpp index 087e9aec2d..90c24998f6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sd, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sd(x_ad,arg); - auto y_expect = boost::math::jacobi_sd(x,arg); + auto y = boost::math::jacobi_sd(0.25,x_ad); + auto y_expect = boost::math::jacobi_sd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_mp_types.cpp index 454522937f..d5a9fc5acb 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_sd_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sd, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sd, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sd(x_ad,arg); - auto y_expect = boost::math::jacobi_sd(x,arg); + auto y = boost::math::jacobi_sd(0.25,x_ad); + auto y_expect = boost::math::jacobi_sd(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..c76b167892 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sd_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sd_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sd, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sd(0.25,x_ad); + auto y_expect = boost::math::jacobi_sd(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..0efb44951f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sn, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sn(0.25,x_ad); + auto y_expect = boost::math::jacobi_sn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_cpp_types.cpp index b4ef220bcc..8042ca5180 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sn, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sn(x_ad,arg); - auto y_expect = boost::math::jacobi_sn(x,arg); + auto y = boost::math::jacobi_sn(0.25,x_ad); + auto y_expect = boost::math::jacobi_sn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_mp_types.cpp index 67134a844e..c3b3a7f137 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_sn_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sn, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sn, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sn(x_ad,arg); - auto y_expect = boost::math::jacobi_sn(x,arg); + auto y = boost::math::jacobi_sn(0.25,x_ad); + auto y_expect = boost::math::jacobi_sn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..92f40ac01a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sn, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sn(0.25,x_ad); + auto y_expect = boost::math::jacobi_sn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..8d23147b11 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sn, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sn(0.25,x_ad); + auto y_expect = boost::math::jacobi_sn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_cpp_types.cpp index 8b860dfcec..640737aa6c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sn, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sn(x_ad,arg); - auto y_expect = boost::math::jacobi_sn(x,arg); + auto y = boost::math::jacobi_sn(0.25,x_ad); + auto y_expect = boost::math::jacobi_sn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_mp_types.cpp index cca49eb02b..e51b4b8a95 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_sn_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sn, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sn, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_sn(x_ad,arg); - auto y_expect = boost::math::jacobi_sn(x,arg); + auto y = boost::math::jacobi_sn(0.25,x_ad); + auto y_expect = boost::math::jacobi_sn(0.25,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..a5705bf1c2 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_elliptic/test_reverse_mode_autodiff_jacobi_sn_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_sn_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_sn, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_sn(0.25,x_ad); + auto y_expect = boost::math::jacobi_sn(0.25,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..05027b2338 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_cpp_types.cpp index 5e284bc1b2..eade876b2b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta1(x,arg); + auto y = boost::math::jacobi_theta1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_mp_types.cpp index b7852de213..0e063c7138 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta1(x,arg); + auto y = boost::math::jacobi_theta1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..da5f214db0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..af202c6cde --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_cpp_types.cpp index 503d8753e9..2d115e2bf6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta1(x,arg); + auto y = boost::math::jacobi_theta1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_mp_types.cpp index 4c4fa6598d..c41ce522cd 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta1(x,arg); + auto y = boost::math::jacobi_theta1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..0b4d1d4a4f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..9a6295669e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1tau, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_cpp_types.cpp index c1b0ecd1d4..5eda0b43c0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1tau, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta1tau(x,arg); + auto y = boost::math::jacobi_theta1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_mp_types.cpp index ad103ac8d2..3a78fcf158 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta1tau_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1tau, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1tau, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta1tau(x,arg); + auto y = boost::math::jacobi_theta1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..7272569948 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1tau, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..775896d3e2 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1tau, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_cpp_types.cpp index ff0eed88d0..f5080ca6fd 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1tau, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta1tau(x,arg); + auto y = boost::math::jacobi_theta1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_mp_types.cpp index 17a6a138d5..66def61a42 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta1tau_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1tau, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1tau, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta1tau(x,arg); + auto y = boost::math::jacobi_theta1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..1e36e6e54e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta1tau_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta1tau, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..79b40dc484 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta2, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta2(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta2(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_cpp_types.cpp index b11b65acbc..510007bcf5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta2, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta2(x_ad,arg); - auto y_expect = boost::math::jacobi_theta2(x,arg); + auto y = boost::math::jacobi_theta2(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta2(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_mp_types.cpp index 6119d52b2d..30979f2590 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta2_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta2, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta2, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta2(x_ad,arg); - auto y_expect = boost::math::jacobi_theta2(x,arg); + auto y = boost::math::jacobi_theta2(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta2(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..a333ab780c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta2, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta2(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta2(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..c78f8c0bea --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta2, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta2(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta2(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_cpp_types.cpp index a26c03c411..24cdbb6071 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta2, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta2(x_ad,arg); - auto y_expect = boost::math::jacobi_theta2(x,arg); + auto y = boost::math::jacobi_theta2(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta2(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_mp_types.cpp index 2b26424a01..46bef2aa92 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta2_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta2, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta2, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta2(x_ad,arg); - auto y_expect = boost::math::jacobi_theta2(x,arg); + auto y = boost::math::jacobi_theta2(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta2(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..3deba06a24 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta2_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta2_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta2, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta2(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta2(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..9adb260515 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_cpp_types.cpp index ab9944d905..2186a4190e 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3(x,arg); + auto y = boost::math::jacobi_theta3(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_mp_types.cpp index aecb1ac45e..4439a3c1a7 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta3_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3(x,arg); + auto y = boost::math::jacobi_theta3(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..c909c22a42 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..9c8d6ccdae --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_cpp_types.cpp index 00171fcb64..747329295c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3(x,arg); + auto y = boost::math::jacobi_theta3(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_mp_types.cpp index 13fe594152..cf96a67c57 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta3_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3(x,arg); + auto y = boost::math::jacobi_theta3(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b19f7f6fce --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..8cb521066c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_cpp_types.cpp index a9c3817b31..39929e4e0b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3m1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3m1(x,arg); + auto y = boost::math::jacobi_theta3m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_mp_types.cpp index 3d74ac84df..46ddaf9efa 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3m1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3m1(x,arg); + auto y = boost::math::jacobi_theta3m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..4630fa171b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..47cd97f81c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_cpp_types.cpp index eec55223a7..fb8c8aa20f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3m1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3m1(x,arg); + auto y = boost::math::jacobi_theta3m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_mp_types.cpp index ef56521341..830304cd70 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3m1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3m1(x,arg); + auto y = boost::math::jacobi_theta3m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..71410957eb --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..2359a7760b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1tau, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_cpp_types.cpp index 79b4f388f8..0f0ee810bb 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1tau, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3m1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3m1tau(x,arg); + auto y = boost::math::jacobi_theta3m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_mp_types.cpp index 604f1e5cf1..84cb373592 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1tau_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1tau, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1tau, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3m1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3m1tau(x,arg); + auto y = boost::math::jacobi_theta3m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..ca366f113e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1tau, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..28e8ab58ba --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1tau, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_cpp_types.cpp index e9e7d5bec6..02a0b8b396 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1tau, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3m1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3m1tau(x,arg); + auto y = boost::math::jacobi_theta3m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_mp_types.cpp index f5400d9746..e2aef96189 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1tau_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1tau, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1tau, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3m1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3m1tau(x,arg); + auto y = boost::math::jacobi_theta3m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..ce61338bd2 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3m1tau_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3m1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3m1tau, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3m1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..e9ef481cce --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3tau, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_cpp_types.cpp index cdcb25729d..941066fbdf 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3tau, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3tau(x,arg); + auto y = boost::math::jacobi_theta3tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_mp_types.cpp index 388da046de..4d304bff8f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta3tau_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3tau, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3tau, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3tau(x,arg); + auto y = boost::math::jacobi_theta3tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..8bbe66fc70 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3tau, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..930f42d13d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3tau, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_cpp_types.cpp index 76d76a9d51..8149cd4a11 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3tau, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3tau(x,arg); + auto y = boost::math::jacobi_theta3tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_mp_types.cpp index 220b2a8550..7f61d802e1 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta3tau_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3tau, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3tau, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta3tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta3tau(x,arg); + auto y = boost::math::jacobi_theta3tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..73e275ce89 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta3tau_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta3tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta3tau, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta3tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta3tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..e534e126b0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_cpp_types.cpp index f0a4cc4a4c..07853e604c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4(x,arg); + auto y = boost::math::jacobi_theta4(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_mp_types.cpp index 030c489e6f..ca304dda78 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta4_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4(x,arg); + auto y = boost::math::jacobi_theta4(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..d817a54daa --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..2e790f0144 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_cpp_types.cpp index c4336fd7bd..75a7eb0946 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4(x,arg); + auto y = boost::math::jacobi_theta4(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_mp_types.cpp index 0937a8b77b..75c87158a1 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta4_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4(x,arg); + auto y = boost::math::jacobi_theta4(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..547876be8d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..dc1473f4c4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_cpp_types.cpp index 1e215e5efb..13d06d5480 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4m1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4m1(x,arg); + auto y = boost::math::jacobi_theta4m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_mp_types.cpp index fb53fa6c61..5fdd75e4f1 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4m1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4m1(x,arg); + auto y = boost::math::jacobi_theta4m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..33f02336a9 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..51612ebe75 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_cpp_types.cpp index 6c4d842b99..97206a0c10 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4m1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4m1(x,arg); + auto y = boost::math::jacobi_theta4m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_mp_types.cpp index 347523d0ba..ed06cd1481 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4m1(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4m1(x,arg); + auto y = boost::math::jacobi_theta4m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..b98a43f2f0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4m1(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..dfe74efa11 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1tau, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_cpp_types.cpp index 406b5bf544..2ba6fe88c3 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1tau, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4m1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4m1tau(x,arg); + auto y = boost::math::jacobi_theta4m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_mp_types.cpp index 988b64b8ff..098cc3a6a9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1tau_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1tau, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1tau, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4m1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4m1tau(x,arg); + auto y = boost::math::jacobi_theta4m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..702813899d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1tau, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..50f1eaf789 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1tau, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_cpp_types.cpp index 05334a56d6..6ef7397f5c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1tau, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4m1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4m1tau(x,arg); + auto y = boost::math::jacobi_theta4m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_mp_types.cpp index 19be04492a..90346c0ba1 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1tau_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1tau, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1tau, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4m1tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4m1tau(x,arg); + auto y = boost::math::jacobi_theta4m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..65ad2d006c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4m1tau_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4m1tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4m1tau, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4m1tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4m1tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..e02034eb21 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4tau, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_cpp_types.cpp index 6873b04eaa..283edec81d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4tau, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4tau(x,arg); + auto y = boost::math::jacobi_theta4tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_mp_types.cpp index e03135ae9a..35488a4960 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta4tau_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4tau, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4tau, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4tau(x,arg); + auto y = boost::math::jacobi_theta4tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..8645fc909b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4tau, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..ba887ccdb3 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4tau, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_cpp_types.cpp index 7ec8620163..6dbc818326 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4tau, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4tau(x,arg); + auto y = boost::math::jacobi_theta4tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_mp_types.cpp index 8bf246de62..e040dde9c5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_theta4tau_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4tau, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4tau, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_theta4tau(x_ad,arg); - auto y_expect = boost::math::jacobi_theta4tau(x,arg); + auto y = boost::math::jacobi_theta4tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4tau(x,0.5); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..8cd7827f8c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_theta/test_reverse_mode_autodiff_jacobi_theta4tau_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_theta4tau_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_theta4tau, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_theta4tau(x_ad,0.5); + auto y_expect = boost::math::jacobi_theta4tau(x,0.5); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..05df51f2cc --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_zeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_zeta, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_zeta(0,x_ad); + auto y_expect = boost::math::jacobi_zeta(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_cpp_types.cpp index a8a64c0b0f..1cbe2bff7c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_zeta, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_zeta(x_ad,arg); - auto y_expect = boost::math::jacobi_zeta(x,arg); + auto y = boost::math::jacobi_zeta(0,x_ad); + auto y_expect = boost::math::jacobi_zeta(0,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_mp_types.cpp index 0db117f65f..9bc1ff3c11 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_zeta_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_zeta, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_zeta, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_zeta(x_ad,arg); - auto y_expect = boost::math::jacobi_zeta(x,arg); + auto y = boost::math::jacobi_zeta(0,x_ad); + auto y_expect = boost::math::jacobi_zeta(0,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..d13c7e001c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_zeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_zeta, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_zeta(0,x_ad); + auto y_expect = boost::math::jacobi_zeta(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..b195f56237 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_zeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_zeta, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_zeta(0,x_ad); + auto y_expect = boost::math::jacobi_zeta(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_cpp_types.cpp index 3fe0d58cc6..f4055961c7 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_zeta, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_zeta(x_ad,arg); - auto y_expect = boost::math::jacobi_zeta(x,arg); + auto y = boost::math::jacobi_zeta(0,x_ad); + auto y_expect = boost::math::jacobi_zeta(0,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_mp_types.cpp index ef8a0e817a..c0c945b914 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_jacobi_zeta_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_zeta, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_zeta, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::jacobi_zeta(x_ad,arg); - auto y_expect = boost::math::jacobi_zeta(x,arg); + auto y = boost::math::jacobi_zeta(0,x_ad); + auto y_expect = boost::math::jacobi_zeta(0,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..f00bc110c3 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/jacobi_zeta/test_reverse_mode_autodiff_jacobi_zeta_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_jacobi_zeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_jacobi_zeta, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::jacobi_zeta(0,x_ad); + auto y_expect = boost::math::jacobi_zeta(0,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..52edf9529f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_laguerre_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::laguerre(1,3,x_ad); + auto y_expect = boost::math::laguerre(1,3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_cpp_types.cpp index c8a435ae86..1c0b87e348 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_mp_types.cpp index d341ebf233..3d9b67f0b2 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_laguerre_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..790eb1e446 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_laguerre_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::laguerre(1,3,x_ad); + auto y_expect = boost::math::laguerre(1,3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..5515a32042 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_laguerre_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::laguerre(1,3,x_ad); + auto y_expect = boost::math::laguerre(1,3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_cpp_types.cpp index 722e5f0377..5b4ab936c2 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_mp_types.cpp index 0ecc20629b..6d59bbcd13 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_laguerre_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..da222a40b4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/laguerre/test_reverse_mode_autodiff_laguerre_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_laguerre_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_laguerre, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::laguerre(1,3,x_ad); + auto y_expect = boost::math::laguerre(1,3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..24f6e4a0ef --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_w0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, bin_float_types) + { + RandomSample rng{ 0, 3 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_w0(x_ad); + auto y_expect = boost::math::lambert_w0(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_cpp_types.cpp index 2154228b8d..294cfed26f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 3}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_mp_types.cpp index 683877ab9b..5ef9a65274 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_lambert_w0_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 3}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..0250bd0a02 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_w0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, multiprecision_float_types) + { + RandomSample rng{ 0, 3 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_w0(x_ad); + auto y_expect = boost::math::lambert_w0(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..8b63b6566a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_w0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, bin_float_types) + { + RandomSample rng{ 0, 3 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_w0(x_ad); + auto y_expect = boost::math::lambert_w0(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_cpp_types.cpp index a29b757c85..2c534421b9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 3}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_mp_types.cpp index 588863b091..6cc5ede2ee 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_lambert_w0_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 3}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..291a871ccc --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_w0_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0, T, multiprecision_float_types) + { + RandomSample rng{ 0, 3 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_w0(x_ad); + auto y_expect = boost::math::lambert_w0(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..86c59ea4a8 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_w0_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, bin_float_types) + { + RandomSample rng{ 0, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_w0_prime(x_ad); + auto y_expect = boost::math::lambert_w0_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_cpp_types.cpp index 92a4a2131d..e73aaf06e9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 1}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_mp_types.cpp index b155e63797..4a8784f1e0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_lambert_w0_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 1}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..1072ea215e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_w0_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_w0_prime(x_ad); + auto y_expect = boost::math::lambert_w0_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..921abed914 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_w0_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, bin_float_types) + { + RandomSample rng{ 0, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_w0_prime(x_ad); + auto y_expect = boost::math::lambert_w0_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_cpp_types.cpp index 6ec15e5bb0..2356647ed7 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 1}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_mp_types.cpp index 2c33eaa6b7..1543e26d9b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_lambert_w0_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{0, 1}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..bca93d6d16 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_w0_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_w0_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_w0_prime, T, multiprecision_float_types) + { + RandomSample rng{ 0, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_w0_prime(x_ad); + auto y_expect = boost::math::lambert_w0_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..964958b214 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_wm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, bin_float_types) + { + RandomSample rng{ 1, 3 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_wm1(x_ad); + auto y_expect = boost::math::lambert_wm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_cpp_types.cpp index 5c5b5ced36..482906b5f0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 3}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_mp_types.cpp index 2d5ca1fe20..9be725876d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_lambert_wm1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 3}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..4d21f1cd8a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_wm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, multiprecision_float_types) + { + RandomSample rng{ 1, 3 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_wm1(x_ad); + auto y_expect = boost::math::lambert_wm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..0c6301f339 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_wm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, bin_float_types) + { + RandomSample rng{ 1, 3 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_wm1(x_ad); + auto y_expect = boost::math::lambert_wm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_cpp_types.cpp index 98fe3967e0..1526534b90 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 3}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_mp_types.cpp index 2a5d4b9e04..1d1bea009d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_lambert_wm1_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{1, 3}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..05ec91bd41 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_wm1_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1, T, multiprecision_float_types) + { + RandomSample rng{ 1, 3 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_wm1(x_ad); + auto y_expect = boost::math::lambert_wm1(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..cfe031709d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_wm1_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, bin_float_types) + { + RandomSample rng{ -0.3, -0.1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_wm1_prime(x_ad); + auto y_expect = boost::math::lambert_wm1_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_cpp_types.cpp index 3f50e93873..81f3dfc2e0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-0.3, -0.1}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_mp_types.cpp index faf32b9fa4..b40db60b7b 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_lambert_wm1_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-0.3, -0.1}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..532f56287c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_wm1_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, multiprecision_float_types) + { + RandomSample rng{ -0.3, -0.1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_wm1_prime(x_ad); + auto y_expect = boost::math::lambert_wm1_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..2ec1ff5a7b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_wm1_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, bin_float_types) + { + RandomSample rng{ -0.3, -0.1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_wm1_prime(x_ad); + auto y_expect = boost::math::lambert_wm1_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_cpp_types.cpp index 1aa52df0c9..14a623854a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -18,7 +19,7 @@ using namespace rdiff; BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, bin_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-0.3, -0.1}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_mp_types.cpp index 121ad49755..d6c881448d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,9 +17,9 @@ BOOST_AUTO_TEST_SUITE(test_lambert_wm1_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, multiprecision_float_types) { - RandomSample rng{-10, 10}; + RandomSample rng{-0.3, -0.1}; T x = rng.next(); rvar x_ad = x; @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..02b54aaa1a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/lambert_w/test_reverse_mode_autodiff_lambert_wm1_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_lambert_wm1_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_lambert_wm1_prime, T, multiprecision_float_types) + { + RandomSample rng{ -0.3, -0.1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::lambert_wm1_prime(x_ad); + auto y_expect = boost::math::lambert_wm1_prime(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..19d0521aba --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_p(2,x_ad); + auto y_expect = boost::math::legendre_p(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_cpp_types.cpp index f590a6b013..73e1a761b5 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_mp_types.cpp index 611b2f7095..a7f2db2bb3 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_legendre_p_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, multiprecision_float_types) { RandomSample rng{-1, 1}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..344dd2eecf --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_p(2,x_ad); + auto y_expect = boost::math::legendre_p(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..b830d9c9fa --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_p(2,x_ad); + auto y_expect = boost::math::legendre_p(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_cpp_types.cpp index cf92f7a0cd..a11dd396ff 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_mp_types.cpp index 9d4d880be2..f85a0fd4f1 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_legendre_p_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, multiprecision_float_types) { RandomSample rng{-1, 1}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..291dbd5c02 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_p_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_p(2,x_ad); + auto y_expect = boost::math::legendre_p(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..55605245d0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_p_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_p_prime(2,x_ad); + auto y_expect = boost::math::legendre_p_prime(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_cpp_types.cpp index cd99d82998..fbd23434dd 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_mp_types.cpp index 2bd72cd02f..cc5b3dc085 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_legendre_p_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, multiprecision_float_types) { RandomSample rng{-1, 1}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..ca9a61b2be --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_p_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_p_prime(2,x_ad); + auto y_expect = boost::math::legendre_p_prime(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..09d5564998 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_p_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_p_prime(2,x_ad); + auto y_expect = boost::math::legendre_p_prime(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_cpp_types.cpp index fab0fc9791..d4296d112f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_mp_types.cpp index 7e6d7793a5..9fd9e707b9 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_legendre_p_prime_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, multiprecision_float_types) { RandomSample rng{-1, 1}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..98baf3b10d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_p_prime_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_p_prime_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_p_prime, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_p_prime(2,x_ad); + auto y_expect = boost::math::legendre_p_prime(2,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..a85e73d1e4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_q_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_q(3,x_ad); + auto y_expect = boost::math::legendre_q(3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_cpp_types.cpp index 624225c445..fed50b9e1f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_mp_types.cpp index 1cba46be97..d70c86a050 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_legendre_q_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, multiprecision_float_types) { RandomSample rng{-1, 1}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..162268e71e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_q_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_q(3,x_ad); + auto y_expect = boost::math::legendre_q(3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..39d0b2ff39 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_q_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, bin_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_q(3,x_ad); + auto y_expect = boost::math::legendre_q(3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_cpp_types.cpp index be17b63cfe..355adf46ce 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_mp_types.cpp index 1259f87f61..1dbee469c1 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_legendre_q_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, multiprecision_float_types) { RandomSample rng{-1, 1}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..1faed8f753 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/legendre/test_reverse_mode_autodiff_legendre_q_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_legendre_q_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_legendre_q, T, multiprecision_float_types) + { + RandomSample rng{ -1, 1 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::legendre_q(3,x_ad); + auto y_expect = boost::math::legendre_q(3,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..844f9d98fd --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_owens_t_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_owens_t, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::owens_t(x_ad,x_ad); + auto y_expect = boost::math::owens_t(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_cpp_types.cpp index a7afdafaff..e8536f7ad2 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_owens_t, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::owens_t(x_ad,arg); - auto y_expect = boost::math::owens_t(x,arg); + auto y = boost::math::owens_t(x_ad,x_ad); + auto y_expect = boost::math::owens_t(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_mp_types.cpp index 991407d632..07a0ffe874 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_owens_t_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_owens_t, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_owens_t, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::owens_t(x_ad,arg); - auto y_expect = boost::math::owens_t(x,arg); + auto y = boost::math::owens_t(x_ad,x_ad); + auto y_expect = boost::math::owens_t(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..032e26cb8c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_owens_t_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_owens_t, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::owens_t(x_ad,x_ad); + auto y_expect = boost::math::owens_t(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..e9e1536cb8 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_owens_t_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_owens_t, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::owens_t(x_ad,x_ad); + auto y_expect = boost::math::owens_t(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_cpp_types.cpp index 01ac893256..ac3eb60a52 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_owens_t, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::owens_t(x_ad,arg); - auto y_expect = boost::math::owens_t(x,arg); + auto y = boost::math::owens_t(x_ad,x_ad); + auto y_expect = boost::math::owens_t(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_mp_types.cpp index 5b74648e6e..a2ab589849 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_owens_t_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_owens_t, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_owens_t, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::owens_t(x_ad,arg); - auto y_expect = boost::math::owens_t(x,arg); + auto y = boost::math::owens_t(x_ad,x_ad); + auto y_expect = boost::math::owens_t(x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..2a8ecc7c09 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/owens_t/test_reverse_mode_autodiff_owens_t_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_owens_t_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_owens_t, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::owens_t(x_ad,x_ad); + auto y_expect = boost::math::owens_t(x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..b1d495f102 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_zeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::zeta(x_ad); + auto y_expect = boost::math::zeta(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_cpp_types.cpp index b2a76fe22b..4b3235bc0d 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_mp_types.cpp index b63cccf904..15ed1222af 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_zeta_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..e742d7dd9b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_zeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::zeta(x_ad); + auto y_expect = boost::math::zeta(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..06d92a900e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_zeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::zeta(x_ad); + auto y_expect = boost::math::zeta(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_cpp_types.cpp index d306ba1234..8c3668a69f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_mp_types.cpp index 716360f0ce..ea3310c113 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_zeta_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..22e1fd443e --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/riemann_zeta/test_reverse_mode_autodiff_zeta_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_zeta_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_zeta, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::zeta(x_ad); + auto y_expect = boost::math::zeta(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..4848cf87fd --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sinc_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sinc_pi(x_ad); + auto y_expect = boost::math::sinc_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_cpp_types.cpp index ce3a89035e..78bb1918e0 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_mp_types.cpp index 7e0536ee07..b146fa109a 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_sinc_pi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..a5992212e0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sinc_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sinc_pi(x_ad); + auto y_expect = boost::math::sinc_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..f2f4ff3598 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sinc_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sinc_pi(x_ad); + auto y_expect = boost::math::sinc_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_cpp_types.cpp index 696d730a10..83f8aec1ff 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_mp_types.cpp index 256e38f235..520b31dd58 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_sinc_pi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..f736982117 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinc_pi/test_reverse_mode_autodiff_sinc_pi_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sinc_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinc_pi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sinc_pi(x_ad); + auto y_expect = boost::math::sinc_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..42c2b4ae5d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sinhc_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sinhc_pi(x_ad); + auto y_expect = boost::math::sinhc_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_cpp_types.cpp index 8e95d4ae3d..40e7d3b6cb 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_mp_types.cpp index d4972716de..f6d51f9130 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_sinhc_pi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..7f1e148517 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sinhc_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sinhc_pi(x_ad); + auto y_expect = boost::math::sinhc_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..c6d7470485 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sinhc_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sinhc_pi(x_ad); + auto y_expect = boost::math::sinhc_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_cpp_types.cpp index aec3411b02..225e653615 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, bin_float_types) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_mp_types.cpp index 7ed327fd70..eabf2c9fba 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,7 +17,7 @@ BOOST_AUTO_TEST_SUITE(test_sinhc_pi_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); @@ -27,3 +28,4 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, bmp::cpp_bin_float_50) BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..bfd1b01199 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/sinhc_pi/test_reverse_mode_autodiff_sinhc_pi_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_sinhc_pi_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinhc_pi, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::sinhc_pi(x_ad); + auto y_expect = boost::math::sinhc_pi(x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/specfun_list.txt b/test/test_reverse_mode_autodiff_special_functions_compile/specfun_list.txt index 5648679385..c260f44d6c 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/specfun_list.txt +++ b/test/test_reverse_mode_autodiff_special_functions_compile/specfun_list.txt @@ -12,21 +12,21 @@ gamma polygamma(1,arg) -5 5 gamma tgamma_ratio(arg,arg) 0 5 gamma tgamma_delta_ratio(arg,arg) 0 5 gamma gamma_p(arg,arg) 0 5 -gamma gamma_q(arg,arg) -10 10 -gamma tgamma_lower(arg,arg) -10 10 +gamma gamma_q(arg,arg) 0 10 +gamma tgamma_lower(arg,arg) 0 10 factorial rising_factorial(arg,3) -10 10 factorial falling_factorial(arg,3) -10 10 -beta beta(arg,arg) -10 10 -beta ibeta(arg,arg,arg) -10 10 -beta ibetac(arg,arg,arg) -10 10 -beta betac(arg,arg,arg) -10 10 -beta ibeta_inv(arg,arg,arg) -10 10 -beta ibetac_inv(arg,arg,arg) -10 10 -beta ibeta_inva(arg,arg,arg) -10 10 -beta ibetac_inva(arg,arg,arg) -10 10 -beta ibeta_invb(arg,arg,arg) -10 10 -beta ibetac_invb(arg,arg,arg) -10 10 -beta ibeta_derivative(arg,arg,arg) -10 10 +beta beta(arg,arg) 0 10 +beta ibeta(arg,arg,arg) 0.01 1 +beta ibetac(arg,arg,arg) 0.01 1 +beta betac(arg,arg,arg) 0.01 1 +beta ibeta_inv(0.1,arg,0.5) 0.01 1 +beta ibetac_inv(arg,arg,arg) 0.01 1 +beta ibeta_inva(arg,arg,arg) 0.01 1 +beta ibetac_inva(arg,arg,arg) 0.01 1 +beta ibeta_invb(arg,arg,arg) 0.01 1 +beta ibetac_invb(arg,arg,arg) 0.01 1 +beta ibeta_derivative(arg,arg,arg) 0.01 1 legendre legendre_p(2,arg) -1 1 legendre legendre_p_prime(2,arg) -1 1 legendre legendre_q(3,arg) -1 1 @@ -35,12 +35,12 @@ hermite hermite(2,arg) -10 10 chebyshev chebyshev_t(1,arg) -10 10 chebyshev chebyshev_u(2,arg) -10 10 chebyshev chebyshev_t_prime(3,arg) -10 10 -spherical_harmonics shperical_harmonic(3,3,arg,arg) -10 10 +spherical_harmonics spherical_harmonic(3,3,arg,arg) -10 10 spherical_harmonics spherical_harmonic_r(2,5,arg,arg) -10 10 spherical_harmonics spherical_harmonic_i(2,5,arg,arg) -10 10 -gegenbauer gegenbauer(2,arg,arg) -10 10 -gegenbauer gegenbauer_prime(3,arg,arg) -10 10 -gegenbauer gegenbauer_derivative(3,arg,arg,2) -10 10 +gegenbauer gegenbauer(2,1,arg) -10 10 +gegenbauer gegenbauer_prime(3,1,arg) -10 10 +gegenbauer gegenbauer_derivative(3,1,arg,2) -10 10 jacobi jacobi(2,arg,arg,arg) -10 10 jacobi jacobi_derivative(2,arg,arg,arg,1) -10 10 jacobi jacobi_prime(3,arg,arg,arg) -10 10 @@ -65,60 +65,60 @@ airy airy_ai(arg) -10 10 airy airy_bi(arg) -10 10 airy airy_ai_prime(arg) -1 1 airy airy_bi_prime(arg) -5 0 -elliptic_integrals ellint_rf(arg,arg,arg) -10 10 -elliptic_integrals ellint_rd(arg,arg,arg) -10 10 -elliptic_integrals ellint_rj(arg,arg,arg,arg) -10 10 -elliptic_integrals ellint_rc(arg,arg) -10 10 -elliptic_integrals ellint_rg(arg,arg,arg) -10 10 -elliptic_integrals ellint_1(arg,arg) -10 10 -elliptic_integrals ellint_2(arg,arg) -10 10 -elliptic_integrals ellint_3(arg,arg,arg) -10 10 -elliptic_integrals ellint_d(arg,arg) -10 10 -jacobi_zeta jacobi_zeta(arg,arg) -10 10 -heuman_lambda heuman_labda(arg,arg) -10 10 -jacobi_elliptic jacobi_cd(arg,arg) -10 10 -jacobi_elliptic jacobi_cn(arg,arg) -10 10 -jacobi_elliptic jacobi_cs(arg,arg) -10 10 -jacobi_elliptic jacobi_dc(arg,arg) -10 10 -jacobi_elliptic jacobi_dn(arg,arg) -10 10 -jacobi_elliptic jacobi_ds(arg,arg) -10 10 -jacobi_elliptic jacobi_nc(arg,arg) -10 10 -jacobi_elliptic jacobi_nd(arg,arg) -10 10 -jacobi_elliptic jacobi_ns(arg,arg) -10 10 -jacobi_elliptic jacobi_sc(arg,arg) -10 10 -jacobi_elliptic jacobi_sd(arg,arg) -10 10 -jacobi_elliptic jacobi_sn(arg,arg) -10 10 -jacobi_theta jacobi_theta1(arg,arg) -10 10 -jacobi_theta jacobi_theta1tau(arg,arg) -10 10 -jacobi_theta jacobi_theta2(arg,arg) -10 10 -jacobi_theta jacobi_theta1tau(arg,arg) -10 10 -jacobi_theta jacobi_theta3(arg,arg) -10 10 -jacobi_theta jacobi_theta3tau(arg,arg) -10 10 -jacobi_theta jacobi_theta3m1(arg,arg) -10 10 -jacobi_theta jacobi_theta3m1tau(arg,arg) -10 10 -jacobi_theta jacobi_theta4(arg,arg) -10 10 -jacobi_theta jacobi_theta4tau(arg,arg) -10 10 -jacobi_theta jacobi_theta4m1(arg,arg) -10 10 -jacobi_theta jacobi_theta4m1tau(arg,arg) -10 10 -lambert_w lambert_w0(arg) -10 10 -lambert_w lambert_wm1(arg) -10 10 -lambert_w lambert_w0_prime(arg) -10 10 -lambert_w lambert_wm1_prime(arg) -10 10 +elliptic_integrals ellint_rf(arg,arg,arg) 0 10 +elliptic_integrals ellint_rd(arg,arg,arg) 0 10 +elliptic_integrals ellint_rj(arg,arg,arg,arg) 0 10 +elliptic_integrals ellint_rc(arg,arg) 0 10 +elliptic_integrals ellint_rg(arg,arg,arg) 0 10 +elliptic_integrals ellint_1(arg,arg) 0.5 1 +elliptic_integrals ellint_2(arg,arg) 0.5 1 +elliptic_integrals ellint_3(arg,arg,arg) 0.5 1 +elliptic_integrals ellint_d(arg,arg) 0.5 1 +jacobi_zeta jacobi_zeta(0,arg) -10 10 +heuman_lambda heuman_lambda(0,arg) 0.1 1.0 +jacobi_elliptic jacobi_cd(0.25,arg) -10 10 +jacobi_elliptic jacobi_cn(0.25,arg) -10 10 +jacobi_elliptic jacobi_cs(0.25,arg) -10 10 +jacobi_elliptic jacobi_dc(0.25,arg) -10 10 +jacobi_elliptic jacobi_dn(0.25,arg) -10 10 +jacobi_elliptic jacobi_ds(0.25,arg) -10 10 +jacobi_elliptic jacobi_nc(0.25,arg) -10 10 +jacobi_elliptic jacobi_nd(0.25,arg) -10 10 +jacobi_elliptic jacobi_ns(0.25,arg) -10 10 +jacobi_elliptic jacobi_sc(0.25,arg) -10 10 +jacobi_elliptic jacobi_sd(0.25,arg) -10 10 +jacobi_elliptic jacobi_sn(0.25,arg) -10 10 +jacobi_theta jacobi_theta1(arg,0.5) -10 10 +jacobi_theta jacobi_theta1tau(arg,0.5) -10 10 +jacobi_theta jacobi_theta2(arg,0.5) -10 10 +jacobi_theta jacobi_theta1tau(arg,0.5) -10 10 +jacobi_theta jacobi_theta3(arg,0.5) -10 10 +jacobi_theta jacobi_theta3tau(arg,0.5) -10 10 +jacobi_theta jacobi_theta3m1(arg,0.5) -10 10 +jacobi_theta jacobi_theta3m1tau(arg,0.5) -10 10 +jacobi_theta jacobi_theta4(arg,0.5) -10 10 +jacobi_theta jacobi_theta4tau(arg,0.5) -10 10 +jacobi_theta jacobi_theta4m1(arg,0.5) -10 10 +jacobi_theta jacobi_theta4m1tau(arg,0.5) -10 10 +lambert_w lambert_w0(arg) 0 3 +lambert_w lambert_wm1(arg) 1 3 +lambert_w lambert_w0_prime(arg) 0 1 +lambert_w lambert_wm1_prime(arg) -0.3 -0.1 riemann_zeta zeta(arg) -10 10 expint expint(arg) -10 10 -hypergeometric hypergeometric_1F0(arg,arg) -10 10 -hypergeometric hypergeometric_0F1(arg,arg) -10 10 -hypergeometric hypergeometric_2F0(arg,arg,arg) -10 10 -hypergeometric hypergeometric_1F1(arg,arg,arg) -10 10 +hypergeometric hypergeometric_1F0(arg,arg) -1 1 +hypergeometric hypergeometric_0F1(1,arg) -1 1 +hypergeometric hypergeometric_2F0(-1,1,arg) -1 1 +hypergeometric hypergeometric_1F1(arg,arg,arg) -1 1 basic_funcs sin_pi(arg) -10 10 basic_funcs cos_pi(arg) -10 10 -basic_funcs log1p(arg) -10 10 +basic_funcs log1p(arg) -1 10 basic_funcs expm1(arg) -10 10 -basic_funcs cbrt(arg) -10 10 -basic_funcs sqrt1pm1(arg) -10 10 -basic_funcs powm1(arg,arg) -10 10 -basic_funcs hypot(arg,arg) -10 10 -basic_funcs rsqrt(arg) -10 10 +basic_funcs cbrt(arg) 0 10 +basic_funcs sqrt1pm1(arg) 5 10 +basic_funcs powm1(arg,arg) 5 10 +basic_funcs hypot(arg,arg) 1 10 +basic_funcs rsqrt(arg) 1 10 basic_funcs logaddexp(arg,arg) -10 10 basic_funcs logsumexp((arg,arg) -10 10 sinc_pi sinc_pi(arg) -10 10 diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_OFF_cpp_types.cpp index 8945e2da80..051384c381 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_shperical_harmonic, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::shperical_harmonic(3,3,x_ad,arg); - auto y_expect = boost::math::shperical_harmonic(3,3,x,arg); + auto y = boost::math::shperical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::shperical_harmonic(3,3,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_OFF_mp_types.cpp index 9899f18a7a..ad728de99f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_shperical_harmonic_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_shperical_harmonic, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_shperical_harmonic, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::shperical_harmonic(3,3,x_ad,arg); - auto y_expect = boost::math::shperical_harmonic(3,3,x,arg); + auto y = boost::math::shperical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::shperical_harmonic(3,3,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_ON_cpp_types.cpp index 9f93093f91..d4d9b33a81 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_shperical_harmonic, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::shperical_harmonic(3,3,x_ad,arg); - auto y_expect = boost::math::shperical_harmonic(3,3,x,arg); + auto y = boost::math::shperical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::shperical_harmonic(3,3,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_ON_mp_types.cpp index 852cf4df22..51c5a56bcf 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_shperical_harmonic_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_shperical_harmonic_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_shperical_harmonic, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_shperical_harmonic, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::shperical_harmonic(3,3,x_ad,arg); - auto y_expect = boost::math::shperical_harmonic(3,3,x,arg); + auto y = boost::math::shperical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::shperical_harmonic(3,3,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..9af25f823c --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic(3,3,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_cpp_types.cpp new file mode 100644 index 0000000000..afbe9c777a --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_cpp_types.cpp @@ -0,0 +1,31 @@ +// Copyright Maksym Zhelyeznyakov 2025-2026 +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) +// +// This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh +// DO NOT EDIT MANUALLY + +#define BOOST_MATH_REVERSE_MODE_ET_OFF +#include +#include +#include +#include +#include + +BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_compiles) + +using namespace rdiff; + +BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic, T, bin_float_types) +{ + RandomSample rng{-10, 10}; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic(3,3,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); +} +BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_mp_types.cpp new file mode 100644 index 0000000000..13458c12fa --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_mp_types.cpp @@ -0,0 +1,31 @@ +// Copyright Maksym Zhelyeznyakov 2025-2026 +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) +// +// This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh +// DO NOT EDIT MANUALLY + +#define BOOST_MATH_REVERSE_MODE_ET_OFF +#include +#include +#include +#include +#include + +BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_compiles) + +using namespace rdiff; + +BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic, T, multiprecision_float_types) +{ + RandomSample rng{-10, 10}; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic(3,3,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); +} +BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..7e53b710e7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic(3,3,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..52b0a2992d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic(3,3,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_cpp_types.cpp new file mode 100644 index 0000000000..3d1c2c3fc6 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_cpp_types.cpp @@ -0,0 +1,31 @@ +// Copyright Maksym Zhelyeznyakov 2025-2026 +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) +// +// This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh +// DO NOT EDIT MANUALLY + +#define BOOST_MATH_REVERSE_MODE_ET_ON +#include +#include +#include +#include +#include + +BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_compiles) + +using namespace rdiff; + +BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic, T, bin_float_types) +{ + RandomSample rng{-10, 10}; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic(3,3,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); +} +BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_mp_types.cpp new file mode 100644 index 0000000000..e587c62e62 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_mp_types.cpp @@ -0,0 +1,31 @@ +// Copyright Maksym Zhelyeznyakov 2025-2026 +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// https://www.boost.org/LICENSE_1_0.txt) +// +// This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh +// DO NOT EDIT MANUALLY + +#define BOOST_MATH_REVERSE_MODE_ET_ON +#include +#include +#include +#include +#include + +BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_compiles) + +using namespace rdiff; + +BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic, T, multiprecision_float_types) +{ + RandomSample rng{-10, 10}; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic(3,3,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); +} +BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..d33d0ae5e4 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic(3,3,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic(3,3,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..8a10218cb2 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_i_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_i, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic_i(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_i(2,5,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_cpp_types.cpp index e12b6ffe5c..c47d77d8a6 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_i, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::spherical_harmonic_i(2,5,x_ad,arg); - auto y_expect = boost::math::spherical_harmonic_i(2,5,x,arg); + auto y = boost::math::spherical_harmonic_i(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_i(2,5,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_mp_types.cpp index 21488b4ec9..fff9abd2c7 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_i_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_i, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_i, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::spherical_harmonic_i(2,5,x_ad,arg); - auto y_expect = boost::math::spherical_harmonic_i(2,5,x,arg); + auto y = boost::math::spherical_harmonic_i(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_i(2,5,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..269292008d --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_i_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_i, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic_i(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_i(2,5,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..58ef33b44b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_i_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_i, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic_i(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_i(2,5,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_cpp_types.cpp index f16c593da0..a27081cf15 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_i, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::spherical_harmonic_i(2,5,x_ad,arg); - auto y_expect = boost::math::spherical_harmonic_i(2,5,x,arg); + auto y = boost::math::spherical_harmonic_i(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_i(2,5,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_mp_types.cpp index ea62cb52f8..b3c51c8d4f 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_i_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_i, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_i, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::spherical_harmonic_i(2,5,x_ad,arg); - auto y_expect = boost::math::spherical_harmonic_i(2,5,x,arg); + auto y = boost::math::spherical_harmonic_i(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_i(2,5,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..af95a9e91b --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_i_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_i_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_i, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic_i(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_i(2,5,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_bin_float_types.cpp new file mode 100644 index 0000000000..2fbf4a5cc7 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_r_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_r, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic_r(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_r(2,5,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_cpp_types.cpp index 9dd43a341c..03245dc4c2 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_r, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::spherical_harmonic_r(2,5,x_ad,arg); - auto y_expect = boost::math::spherical_harmonic_r(2,5,x,arg); + auto y = boost::math::spherical_harmonic_r(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_r(2,5,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_mp_types.cpp index 58ceaaf26c..6131c1dc34 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_OFF -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_r_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_r, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_r, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::spherical_harmonic_r(2,5,x_ad,arg); - auto y_expect = boost::math::spherical_harmonic_r(2,5,x,arg); + auto y = boost::math::spherical_harmonic_r(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_r(2,5,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_multiprecision_float_types.cpp new file mode 100644 index 0000000000..4028a9d8ab --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_OFF_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_OFF + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_r_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_r, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic_r(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_r(2,5,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_bin_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_bin_float_types.cpp new file mode 100644 index 0000000000..991ceb835f --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_bin_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_r_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_r, T, bin_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic_r(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_r(2,5,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_cpp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_cpp_types.cpp index 72fed3d8a2..df88807701 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_cpp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_cpp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -22,8 +23,9 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_r, T, bin_float_types) T x = rng.next(); rvar x_ad = x; - auto y = boost::math::spherical_harmonic_r(2,5,x_ad,arg); - auto y_expect = boost::math::spherical_harmonic_r(2,5,x,arg); + auto y = boost::math::spherical_harmonic_r(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_r(2,5,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_mp_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_mp_types.cpp index 3be99dcd43..9dd1e79337 100644 --- a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_mp_types.cpp +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_mp_types.cpp @@ -1,14 +1,15 @@ // Copyright Maksym Zhelyeznyakov 2025-2026 -//Distributed under the Boost Software License, Version 1.0. -//(See accompanying file LICENSE_1_0.txt or copy at +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh // DO NOT EDIT MANUALLY #define BOOST_MATH_REVERSE_MODE_ET_ON -#include "../../test_autodiff_reverse.hpp" +#include #include +#include #include #include @@ -16,14 +17,15 @@ BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_r_compiles) using namespace rdiff; -BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_r, T, bmp::cpp_bin_float_50) +BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_r, T, multiprecision_float_types) { RandomSample rng{-10, 10}; T x = rng.next(); rvar x_ad = x; - auto y = boost::math::spherical_harmonic_r(2,5,x_ad,arg); - auto y_expect = boost::math::spherical_harmonic_r(2,5,x,arg); + auto y = boost::math::spherical_harmonic_r(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_r(2,5,x,x); BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); } BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_multiprecision_float_types.cpp b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_multiprecision_float_types.cpp new file mode 100644 index 0000000000..9eb0f98d80 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/spherical_harmonics/test_reverse_mode_autodiff_spherical_harmonic_r_compile_test_ET_ON_multiprecision_float_types.cpp @@ -0,0 +1,33 @@ + + // Copyright Maksym Zhelyeznyakov 2025-2026 + // Distributed under the Boost Software License, Version 1.0. + // (See accompanying file LICENSE_1_0.txt or copy at + // https://www.boost.org/LICENSE_1_0.txt) + // + // This file was generated automatically with math/tests/autogen_rvar_specfun_tests.sh + // DO NOT EDIT MANUALLY + + #define BOOST_MATH_REVERSE_MODE_ET_ON + #include + #include + #include + #include + #include + + BOOST_AUTO_TEST_SUITE(test_spherical_harmonic_r_compiles) + + using namespace rdiff; + + BOOST_AUTO_TEST_CASE_TEMPLATE(test_spherical_harmonic_r, T, multiprecision_float_types) + { + RandomSample rng{ -10, 10 + }; + T x = rng.next(); + + rvar x_ad = x; + auto y = boost::math::spherical_harmonic_r(2,5,x_ad,x_ad); + auto y_expect = boost::math::spherical_harmonic_r(2,5,x,x); + BOOST_CHECK_CLOSE(y.item(), y_expect, 1000*boost_close_tol()); + } + BOOST_AUTO_TEST_SUITE_END() + diff --git a/test/test_reverse_mode_autodiff_special_functions_compile/update_docs_and_jamfile.py b/test/test_reverse_mode_autodiff_special_functions_compile/update_docs_and_jamfile.py new file mode 100755 index 0000000000..31480e0df0 --- /dev/null +++ b/test/test_reverse_mode_autodiff_special_functions_compile/update_docs_and_jamfile.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# Copyright Maksym Zhelyeznyakov 2025-2026 +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# https://www.boost.org/LICENSE_1_0.txt) +# +import sys, os, subprocess +import logging +import re +from pathlib import Path + + +TEST_FOLDER="./" +SPECFUN_LIST=f"{TEST_FOLDER}specfun_list.txt" +CC="g++" +CPPFLAGS="--std=c++14" +CWD=os.getcwd() +BOOST_ROOT_DIR=f"{CWD}/../../../../" +BOOST_MATH_DIR=f"{BOOST_ROOT_DIR}/libs/math/" +BOOST_MATH_TEST_DIR=f"{BOOST_MATH_DIR}/test/" +INCLUDE_FLAGS=f"-I{BOOST_MATH_DIR}/include/ -I{BOOST_ROOT_DIR} -I{BOOST_MATH_TEST_DIR}" +COMPILATION_TABLE=f"{BOOST_ROOT_DIR}/libs/math/doc/differentiation/compilation_table.txt" +LOG_FILE=f"{CWD}/autogen.log" +LOG_FILE_VERBOSE=f"{CWD}/autogen_verbose.log" +JAM_COMPILE_COMMANDS_OUT="generated_jam_compile_commands.txt" +DOC_FILE = f"{CWD}/../../doc/differentiation/autodiff_reverse.qbk" + +def replace_between_markers(target_file, insert_file, + start_marker=r"\[/ BEGIN SPECFUN TABLE\]", + end_marker=r"\[/ END SPECFUN TABLE\]"): + text = Path(target_file).read_text() + replacement = Path(insert_file).read_text().rstrip("\n") + pattern = re.compile(f"{start_marker}.*?{end_marker}", re.DOTALL) + new_text = pattern.sub(f"{start_marker}\n{replacement}\n{end_marker}", text) + Path(target_file).write_text(new_text) + +if __name__=="__main__": + replace_between_markers(DOC_FILE,COMPILATION_TABLE) + replace_between_markers("../Jamfile.v2",JAM_COMPILE_COMMANDS_OUT, + start_marker="# BEGIN AUTODIFF LONG RUNNING TESTS", + end_marker="# END AUTODIFF LONG RUNNING TESTS") diff --git a/test/test_reverse_mode_autodiff_stl_support.cpp b/test/test_reverse_mode_autodiff_stl_support.cpp index f3f82afa8e..eef947db30 100644 --- a/test/test_reverse_mode_autodiff_stl_support.cpp +++ b/test/test_reverse_mode_autodiff_stl_support.cpp @@ -26,25 +26,25 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_fabs, T, all_float_types) rvar fabs_neg = fabs(x_neg); rvar fabs_pos = fabs(x_pos); - BOOST_REQUIRE_CLOSE_FRACTION(fabs_neg.item(), test_fabs_neg_v, boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(fabs_pos.item(), test_fabs_pos_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(fabs_neg.item(), test_fabs_neg_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(fabs_pos.item(), test_fabs_pos_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); fabs_neg.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_neg.adjoint(), -1, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_neg.adjoint(), -1, boost_close_tol()); ; tape.zero_grad(); fabs_pos.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_pos.adjoint(), 1, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_pos.adjoint(), 1, boost_close_tol()); rvar z = fabs(x_neg * x_neg * x_neg); tape.zero_grad(); z.backward(); T expected_grad = 3 * x_neg_v * x_neg_v * (-1); - BOOST_REQUIRE_CLOSE_FRACTION(x_neg.adjoint(), expected_grad, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_neg.adjoint(), expected_grad, boost_close_tol()); tape.clear(); } @@ -65,25 +65,25 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_abs, T, all_float_types) rvar abs_neg = abs(x_neg); rvar abs_pos = abs(x_pos); - BOOST_REQUIRE_CLOSE_FRACTION(abs_neg.item(), test_abs_neg_v, boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(abs_pos.item(), test_abs_pos_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(abs_neg.item(), test_abs_neg_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(abs_pos.item(), test_abs_pos_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); abs_neg.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_neg.adjoint(), -1, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_neg.adjoint(), -1, boost_close_tol()); tape.zero_grad(); abs_pos.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_pos.adjoint(), 1, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_pos.adjoint(), 1, boost_close_tol()); tape.zero_grad(); rvar z = abs(x_neg * x_neg * x_neg); z.backward(); T expected_grad = 3 * x_neg_v * x_neg_v * -1; - BOOST_REQUIRE_CLOSE_FRACTION(x_neg.adjoint(), expected_grad, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_neg.adjoint(), expected_grad, boost_close_tol()); tape.clear(); } @@ -98,13 +98,13 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_ceil, T, all_float_types) rvar x_ceil = ceil(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_ceil.item(), test_ceil_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_ceil.item(), test_ceil_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); x_ceil.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), 0.0, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), 0.0, boost_close_tol()); tape.clear(); } @@ -118,13 +118,13 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_floor, T, all_float_types) rvar x_floor = floor(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_floor.item(), test_ceil_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_floor.item(), test_ceil_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); x_floor.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), 0.0, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), 0.0, boost_close_tol()); tape.clear(); } @@ -140,7 +140,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_exp, T, all_float_types) rvar x_func = exp(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -149,7 +149,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_exp, T, all_float_types) T expected_deriv = -2.0 * x_v * exp(-x_v * x_v); test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -169,7 +169,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_pow, T, all_float_types) T expected_v = pow(x_v, y_v); rvar v_func = pow(x_rvar, y_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(expected_v, v_func.item(), boost_close_tol()); + BOOST_REQUIRE_CLOSE(expected_v, v_func.item(), boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); @@ -177,24 +177,24 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_pow, T, all_float_types) T df_dx_expected = y_v * pow(x_v, y_v - 1); T df_dy_expected = pow(x_v, y_v) * log(x_v); - BOOST_REQUIRE_CLOSE_FRACTION(df_dx_expected, x_rvar.adjoint(), boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(df_dy_expected, y_rvar.adjoint(), boost_close_tol()); + BOOST_REQUIRE_CLOSE(df_dx_expected, x_rvar.adjoint(), boost_close_tol()); + BOOST_REQUIRE_CLOSE(df_dy_expected, y_rvar.adjoint(), boost_close_tol()); rvar v_rvar_by_float = pow(x_rvar, y_v); rvar v_float_by_rvar = pow(x_v, y_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(expected_v, v_rvar_by_float.item(), boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(expected_v, v_float_by_rvar.item(), boost_close_tol()); + BOOST_REQUIRE_CLOSE(expected_v, v_rvar_by_float.item(), boost_close_tol()); + BOOST_REQUIRE_CLOSE(expected_v, v_float_by_rvar.item(), boost_close_tol()); tape.zero_grad(); v_rvar_by_float.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(df_dx_expected, x_rvar.adjoint(), boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(0.0, y_rvar.adjoint(), boost_close_tol()); + BOOST_REQUIRE_CLOSE(df_dx_expected, x_rvar.adjoint(), boost_close_tol()); + BOOST_REQUIRE_CLOSE(0.0, y_rvar.adjoint(), boost_close_tol()); tape.zero_grad(); v_float_by_rvar.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(0.0, x_rvar.adjoint(), boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(df_dy_expected, y_rvar.adjoint(), boost_close_tol()); + BOOST_REQUIRE_CLOSE(0.0, x_rvar.adjoint(), boost_close_tol()); + BOOST_REQUIRE_CLOSE(df_dy_expected, y_rvar.adjoint(), boost_close_tol()); } BOOST_AUTO_TEST_CASE_TEMPLATE(test_log, T, all_float_types) @@ -207,7 +207,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_log, T, all_float_types) rvar x_func = log(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -216,7 +216,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_log, T, all_float_types) T expected_deriv = 2.0 / x_v; test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -229,7 +229,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt, T, all_float_types) rvar x_rvar = x_v; rvar x_func = sqrt(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -238,7 +238,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sqrt, T, all_float_types) T expected_deriv = 3.0 * sqrt(x_v) / 2.0; test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -262,7 +262,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_frexp, T, all_float_types) rvar x_rvar = x_v; rvar x_func = frexp(x_rvar, &i2); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -276,7 +276,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_frexp, T, all_float_types) // T f1 = frexp(x_v + h, &i3); // T f2 = frexp(x_v, &i4); T expected_deriv = 1.0 / pow(2.0, i4); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -291,7 +291,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos, T, all_float_types) rvar x_func = cos(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, 10 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -300,7 +300,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cos, T, all_float_types) T expected_deriv = -2 * x_v * sin(x_v * x_v); test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, 10 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -315,7 +315,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin, T, all_float_types) rvar x_func = sin(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, 10 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -324,7 +324,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sin, T, all_float_types) T expected_deriv = 2 * x_v * cos(x_v * x_v); test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -339,7 +339,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tan, T, all_float_types) rvar x_func = tan(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, 10 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -348,7 +348,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tan, T, all_float_types) T expected_deriv = 2 * x_v * 1 / (cos(x_v * x_v) * cos(x_v * x_v)); test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, 10 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -363,7 +363,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_acos, T, all_float_types) rvar x_func = acos(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -372,7 +372,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_acos, T, all_float_types) T expected_deriv = -2 * x_v / sqrt(1 - x_v * x_v * x_v * x_v); test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -387,7 +387,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_asin, T, all_float_types) rvar x_func = asin(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -396,7 +396,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_asin, T, all_float_types) T expected_deriv = 2 * x_v / sqrt(1 - x_v * x_v * x_v * x_v); test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -411,7 +411,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_atan, T, all_float_types) rvar x_func = atan(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -420,7 +420,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_atan, T, all_float_types) T expected_deriv = 2 * x_v / (1 + x_v * x_v * x_v * x_v); test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -438,7 +438,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_atan2, T, all_float_types) { rvar z = atan2(y_rvar, x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(z.item(), expected, boost_close_tol()); + BOOST_REQUIRE_CLOSE(z.item(), expected, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); @@ -448,14 +448,14 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_atan2, T, all_float_types) T dy_expected = x_v / denom; T dx_expected = -y_v / denom; - BOOST_REQUIRE_CLOSE_FRACTION(y_rvar.adjoint(), dy_expected, boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), dx_expected, boost_close_tol()); + BOOST_REQUIRE_CLOSE(y_rvar.adjoint(), dy_expected, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), dx_expected, boost_close_tol()); } { rvar y2 = y_v; rvar z = atan2(y2, x_v); - BOOST_REQUIRE_CLOSE_FRACTION(z.item(), expected, boost_close_tol()); + BOOST_REQUIRE_CLOSE(z.item(), expected, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); @@ -463,13 +463,13 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_atan2, T, all_float_types) T dy_expected = x_v / (x_v * x_v + y_v * y_v); - BOOST_REQUIRE_CLOSE_FRACTION(y2.adjoint(), dy_expected, boost_close_tol()); + BOOST_REQUIRE_CLOSE(y2.adjoint(), dy_expected, boost_close_tol()); } { rvar x2 = x_v; rvar z = atan2(y_v, x2); - BOOST_REQUIRE_CLOSE_FRACTION(z.item(), expected, boost_close_tol()); + BOOST_REQUIRE_CLOSE(z.item(), expected, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); @@ -477,7 +477,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_atan2, T, all_float_types) T dx_expected = -y_v / (x_v * x_v + y_v * y_v); - BOOST_REQUIRE_CLOSE_FRACTION(x2.adjoint(), dx_expected, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x2.adjoint(), dx_expected, boost_close_tol()); } } @@ -491,13 +491,13 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_trunc, T, all_float_types) rvar x_trunc = trunc(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_trunc.item(), test_trunc_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_trunc.item(), test_trunc_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); x_trunc.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), 0.0, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), 0.0, boost_close_tol()); tape.clear(); } @@ -520,7 +520,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_fmod, T, all_float_types) rvar y_rvar = y_v; rvar fmod_rvar = fmod(x_rvar, y_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(fmod_rvar.item(), expected_fmod, 10 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(fmod_rvar.item(), expected_fmod, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); @@ -529,22 +529,22 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_fmod, T, all_float_types) T dx_expected = 1.0; T dy_expected = -1.0 * trunc(x_v / y_v); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), dx_expected, 10 * boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(y_rvar.adjoint(), dy_expected, 10 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), dx_expected, boost_close_tol()); + BOOST_REQUIRE_CLOSE(y_rvar.adjoint(), dy_expected, boost_close_tol()); rvar fmod_rvar_float = fmod(x_rvar, y_v); - BOOST_REQUIRE_CLOSE_FRACTION(fmod_rvar_float.item(), expected_fmod, 10 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(fmod_rvar_float.item(), expected_fmod, boost_close_tol()); tape.zero_grad(); fmod_rvar_float.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), dx_expected, 10 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), dx_expected, boost_close_tol()); rvar fmod_float_rvar = fmod(x_v, y_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(fmod_float_rvar.item(), expected_fmod, 10 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(fmod_float_rvar.item(), expected_fmod, boost_close_tol()); tape.zero_grad(); fmod_float_rvar.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(y_rvar.adjoint(), dy_expected, 10 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(y_rvar.adjoint(), dy_expected, boost_close_tol()); tape.clear(); } @@ -559,13 +559,13 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_round, T, all_float_types) rvar x_round = round(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_round.item(), test_round_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_round.item(), test_round_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); x_round.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), 0.0, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), 0.0, boost_close_tol()); tape.clear(); } @@ -643,7 +643,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinh, T, all_float_types) rvar x_func = sinh(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -652,7 +652,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_sinh, T, all_float_types) T expected_deriv = 2 * x_v * cosh(x_v * x_v); test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -667,7 +667,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cosh, T, all_float_types) rvar x_func = cosh(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -676,7 +676,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_cosh, T, all_float_types) T expected_deriv = 2 * x_v * sinh(x_v * x_v); test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -688,13 +688,13 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_tanh, T, all_float_types) T test_func_v = tanh(x_v); rvar x_rvar = x_v; rvar x_func = tanh(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); rvar test_func_2 = tanh(x_rvar * x_rvar); T expected_deriv = 2 * x_v / (cosh(x_v * x_v) * cosh(x_v * x_v)); test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } BOOST_AUTO_TEST_CASE_TEMPLATE(test_ldexp, T, all_float_types) @@ -708,7 +708,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_ldexp, T, all_float_types) rvar x_func = ldexp(x_rvar, exp_i); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); @@ -722,7 +722,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_ldexp, T, all_float_types) test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -748,13 +748,13 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_log10, T, all_float_types) T test_func_v = log10(x_v); rvar x_rvar = x_v; rvar x_func = log10(x_rvar); - BOOST_REQUIRE_CLOSE_FRACTION(x_func.item(), test_func_v, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_func.item(), test_func_v, boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); rvar test_func_2 = log10(x_rvar * x_rvar); T expected_deriv = T{2.0} / (x_v * log(T{10.0})); test_func_2.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_rvar.adjoint(), expected_deriv, boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_rvar.adjoint(), expected_deriv, boost_close_tol()); tape.clear(); } @@ -911,8 +911,8 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_func_1_first_derivative, T, all_float_types) auto grad_f_analytical = grad_test_func_1_analytical(x, y); /* intended use case */ f_ad.backward(); - BOOST_REQUIRE_CLOSE_FRACTION(x_ad.adjoint(), grad_f_analytical[0], boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(y_ad.adjoint(), grad_f_analytical[1], boost_close_tol()); + BOOST_REQUIRE_CLOSE(x_ad.adjoint(), grad_f_analytical[0], boost_close_tol()); + BOOST_REQUIRE_CLOSE(y_ad.adjoint(), grad_f_analytical[1], boost_close_tol()); gradient_tape& tape = get_active_tape(); tape.zero_grad(); @@ -923,12 +923,8 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_func_1_first_derivative, T, all_float_types) auto grad_nd_func_test_grad = grad_nd<1>(f_ad, &x_ad, &y_ad); for (int i = 0; i < 2; i++) { - BOOST_REQUIRE_CLOSE_FRACTION(grad_func_test_grad[i], - grad_f_analytical[i], - boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(grad_nd_func_test_grad[i], - grad_f_analytical[i], - boost_close_tol()); + BOOST_REQUIRE_CLOSE(grad_func_test_grad[i], grad_f_analytical[i], boost_close_tol()); + BOOST_REQUIRE_CLOSE(grad_nd_func_test_grad[i], grad_f_analytical[i], boost_close_tol()); } } BOOST_AUTO_TEST_CASE_TEMPLATE(test_func_1_second_derivative_and_hessian, T, all_float_types) @@ -951,12 +947,8 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_func_1_second_derivative_and_hessian, T, all_ for (int i = 0; i < 2; i++) { for (int j = 0; j < 2; j++) { - BOOST_REQUIRE_CLOSE_FRACTION(hess_func_test[i][j], - hess_analytical[i][j], - boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(hess_func_test[i][j], - grad_nd_func_test[i][j], - boost_close_tol()); + BOOST_REQUIRE_CLOSE(hess_func_test[i][j], hess_analytical[i][j], boost_close_tol()); + BOOST_REQUIRE_CLOSE(hess_func_test[i][j], grad_nd_func_test[i][j], boost_close_tol()); } } } @@ -987,12 +979,8 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_func_1_order_3_der, T, all_float_types) for (int i = 0; i < 2; i++) { for (int j = 0; j < 2; j++) { for (int k = 0; k < 2; k++) { - BOOST_REQUIRE_CLOSE_FRACTION(grad_tensor[i][j][k], - df3[i][j][k], - boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(grad_nd_func_test[i][j][k], - df3[i][j][k], - boost_close_tol()); + BOOST_REQUIRE_CLOSE(grad_tensor[i][j][k], df3[i][j][k], boost_close_tol()); + BOOST_REQUIRE_CLOSE(grad_nd_func_test[i][j][k], df3[i][j][k], boost_close_tol()); } } } @@ -1029,12 +1017,12 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(test_func_1_fourth_derivative, T, all_float_types) for (int j = 0; j < 2; j++) { for (int k = 0; k < 2; k++) { for (int l = 0; l < 2; l++) { - BOOST_REQUIRE_CLOSE_FRACTION(ggggf[i][j][k][l], - df4[i][j][k][l], - 1 * boost_close_tol()); - BOOST_REQUIRE_CLOSE_FRACTION(grad_nd_func_test[i][j][k][l], - df4[i][j][k][l], - 1 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(ggggf[i][j][k][l], + df4[i][j][k][l], + 1 * boost_close_tol()); + BOOST_REQUIRE_CLOSE(grad_nd_func_test[i][j][k][l], + df4[i][j][k][l], + 1 * boost_close_tol()); } } } diff --git a/test/test_students_t_cdf_double.cu b/test/test_students_t_cdf_double.cu index e8f47faa25..2758491eb0 100644 --- a/test/test_students_t_cdf_double.cu +++ b/test/test_students_t_cdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_students_t_cdf_float.cu b/test/test_students_t_cdf_float.cu index 22fd5d7c01..f00bb76913 100644 --- a/test/test_students_t_cdf_float.cu +++ b/test/test_students_t_cdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_students_t_pdf_double.cu b/test/test_students_t_pdf_double.cu index 187f63ff52..2e00ddcbee 100644 --- a/test/test_students_t_pdf_double.cu +++ b/test/test_students_t_pdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_students_t_pdf_float.cu b/test/test_students_t_pdf_float.cu index ba0469b0e3..6fffb5be97 100644 --- a/test/test_students_t_pdf_float.cu +++ b/test/test_students_t_pdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_students_t_quan_double.cu b/test/test_students_t_quan_double.cu index fe6d999528..46f56b2b24 100644 --- a/test/test_students_t_quan_double.cu +++ b/test/test_students_t_quan_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_students_t_quan_float.cu b/test/test_students_t_quan_float.cu index 6293ec3f83..5d051e8604 100644 --- a/test/test_students_t_quan_float.cu +++ b/test/test_students_t_quan_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_weibull_cdf_double.cu b/test/test_weibull_cdf_double.cu index 1b2e5cf0db..8fd99a99a6 100644 --- a/test/test_weibull_cdf_double.cu +++ b/test/test_weibull_cdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_weibull_cdf_float.cu b/test/test_weibull_cdf_float.cu index 76bf3a4e1c..fc47200cda 100644 --- a/test/test_weibull_cdf_float.cu +++ b/test/test_weibull_cdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_weibull_pdf_double.cu b/test/test_weibull_pdf_double.cu index dd48b57d60..b8fc2ba7e4 100644 --- a/test/test_weibull_pdf_double.cu +++ b/test/test_weibull_pdf_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_weibull_pdf_float.cu b/test/test_weibull_pdf_float.cu index 40064b1ed7..59a3daba87 100644 --- a/test/test_weibull_pdf_float.cu +++ b/test/test_weibull_pdf_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_weibull_quan_double.cu b/test/test_weibull_quan_double.cu index 9263fb5365..137ded3c1c 100644 --- a/test/test_weibull_quan_double.cu +++ b/test/test_weibull_quan_double.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +} diff --git a/test/test_weibull_quan_float.cu b/test/test_weibull_quan_float.cu index 5dd6bd6eef..0519901136 100644 --- a/test/test_weibull_quan_float.cu +++ b/test/test_weibull_quan_float.cu @@ -106,4 +106,4 @@ int main(void) std::cerr << "Stopped with exception: " << e.what() << std::endl; } return 0; -} \ No newline at end of file +}