diff --git a/doc/differentiation/autodiff_reverse.qbk b/doc/differentiation/autodiff_reverse.qbk index 8db678037..55ae6412e 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 89b360134..cf7c1090f 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 f005bf4e0..57584a765 100644 --- a/include/boost/math/differentiation/autodiff_reverse.hpp +++ b/include/boost/math/differentiation/autodiff_reverse.hpp @@ -464,8 +464,7 @@ public: } template::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 d36686c09..279d54759 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 3ac9e22cd..fbde1ecfc 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 b3fb575fa..7d6e5669b 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 d207d0598..9dc7e3dd4 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 b5671003e..1ad56c2ed 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 ade952fca..e97c659d4 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 ef276b938..96f30cddf 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 9188f4305..949f81bfe 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 0278f6415..4f93bd044 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 e86cf94dd..7dbe45a21 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 97dd606f2..79c8e87a2 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 a6b842e8e..0664dbd8b 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 48a860f4c..a4b6602a9 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 3a42c1bd3..44d1c7d91 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 e713736e6..d8333df55 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 c2475883b..93a480160 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 07dce0d06..3525a88e4 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 30edafd05..3bfefa032 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 9b205182b..592239c27 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 3fae7d966..ba7feed81 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 7a717530e..e32b596d8 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 c19497ed5..17a81f15a 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 a111090de..86c2ee695 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 c6d6f0a94..1c5887f46 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 9df1bc869..530039c4a 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 77a3b655a..da0c0461a 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 323edf342..7d9e3af81 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 c16eb2a95..1fa23166b 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 85cf47967..d37979553 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 4777196aa..00e4716f8 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 a93aca395..3d05eec4e 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 a8411d5b6..5a25fc778 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 6ab3247ac..ecc149712 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 d29bf6d6b..480ce1568 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 58aa42e90..00f1b7442 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 98b6510ad..25de5aa64 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 2662ac07c..078678694 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 03d2dc007..ded708080 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 1034d122b..9e53f5498 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 fcac938e5..f4cdf4735 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 074952202..0734d76d1 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 000000000..1c198b300 --- /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 ea99d9385..a0c021783 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 ba73a7c8d..14680d2c4 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 000000000..4f7c17319 --- /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 000000000..c30fe52eb --- /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 eab31d076..321c9ce52 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 68d7a4ed6..ebd3d9638 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 000000000..4ef58b79b --- /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 000000000..bbb5891cc --- /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 b1a0a577b..0cee53b6f 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 22449d990..f7e70a079 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 000000000..ff85047ed --- /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 000000000..5240a051c --- /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 b674109da..cc60debf2 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 6f0b7de6e..e31c03157 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 000000000..f0ef6b3ff --- /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 000000000..27df33270 --- /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 3b1043d9d..3e0a26c89 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 fdedd63ff..cb1bef3a1 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 000000000..2cb8916dd --- /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 000000000..15bb6ffc0 --- /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 46f67ec47..fed852957 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 cab30e72b..4ab080c88 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 000000000..59f1c76f3 --- /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 000000000..32cc07bb6 --- /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 ff11ad511..c448fe0ec 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 b7f48db08..75bc99f59 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 000000000..dfbff98fc --- /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 000000000..41bd311c0 --- /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 73f35b8ec..694ee4ed1 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 2babd2585..dc29936ca 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 000000000..74e737005 --- /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 000000000..ba4bd8d76 --- /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 0e6a79acf..000000000 --- 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 000000000..62b287514 --- /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 b99844722..032243605 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 085f48245..fb94a28b6 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 000000000..5f8f96fed --- /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 000000000..c33330bd8 --- /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 cef29b10b..10ddaf156 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 8d2a3d30e..ec401fc67 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 000000000..4356b001f --- /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 000000000..339876e54 --- /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 8af4a0bcb..4817b7e8f 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 5ee2019b2..d7ec7114c 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 000000000..9dca40ce4 --- /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 000000000..32a20609f --- /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 c05736f2c..787a07dc5 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 fa9935f77..2ce6a658e 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 000000000..55fb6af43 --- /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 000000000..44763ba39 --- /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 3cd994066..05aafed7a 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 808612d53..5a64a4542 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 000000000..25e8de370 --- /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 000000000..0e79cf4d1 --- /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 fa4cb97cd..96ca24869 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 d1705047c..57bd99782 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 000000000..e1404ceb6 --- /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 000000000..d241b7852 --- /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 b558fd8d5..7edd20055 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 7ac49a1c2..a24e4dfca 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 000000000..589916885 --- /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 000000000..e02411878 --- /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 1c53aa080..3e03d5ef4 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 615f806be..b7c0f956b 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 000000000..9bac958d3 --- /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 000000000..2ac6773a0 --- /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 5cea160fc..377afadfa 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 f71cbe5f4..dd74e8c40 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 000000000..3bf09ca32 --- /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 000000000..986e0c531 --- /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 552ce0c66..79f3aab8c 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 f37e516ea..34ceb312a 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 000000000..aad75b34a --- /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 000000000..ba708ad28 --- /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 cf1a1d6c0..f2679e6ff 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 c5b45d6e3..a9671f7ad 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 000000000..8b9c816eb --- /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 000000000..32e9926d7 --- /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 203636b47..939ab5a4c 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 a190f8af1..a58b897d1 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 000000000..4f615cab4 --- /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 000000000..2686e6f65 --- /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 07ed13c3b..0d9e28346 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 1b7a210ec..95787146e 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 000000000..843505945 --- /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 000000000..ed3a067dc --- /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 27c54eac2..359a01368 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 e02513b01..045637610 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 000000000..9a82554d7 --- /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 000000000..cd5338613 --- /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 2b29a5495..3bb3cab08 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 8fcb4b6ae..d2a99fa76 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 000000000..9c84be73a --- /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 000000000..3ae0b52d7 --- /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 fa1284189..954559578 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 a11d08875..d01b8d573 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 000000000..8b7e2a010 --- /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 000000000..7b4a4f2be --- /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 7edc3e04b..eefc6c88e 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 53d3bf616..3688bd782 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 000000000..b8d7840fe --- /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 000000000..891d984a0 --- /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 9923efda9..ad8aa8ac4 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 5e960cc11..00486f9a8 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 000000000..d0fe33530 --- /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 000000000..b15bef297 --- /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 d4ce82b00..edfd490d2 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 6aa5a7fad..ec300094c 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 000000000..b0801679d --- /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 000000000..87d51cf97 --- /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 036231984..d3458a751 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 8da746bd5..7f9338906 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 000000000..7f32b12aa --- /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 000000000..51352f9a5 --- /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 529dd1415..446ca3bda 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 4d9bcb1cd..fc884bf94 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 000000000..fa4233098 --- /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 000000000..335dd21f3 --- /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 148e99468..e4e95b74e 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 a40423f84..24f53ea58 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 000000000..9addb2e87 --- /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 000000000..2cd39c1d5 --- /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 5bb318261..b871609a0 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 5dd391d0d..51cb6bc46 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 000000000..dbbe259e5 --- /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 000000000..d6a2723de --- /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 f7309e749..f4bd1ae0c 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 3cb248e03..0b6d6ff99 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 000000000..b63df8026 --- /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 000000000..725717880 --- /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 a23ac8a93..2258e38ed 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 66bda502b..384ecd461 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 000000000..90cbf5a7f --- /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 000000000..21b4ed942 --- /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 8bfe5764d..f8cdef1aa 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 c6291c933..dc3e0d5c7 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 000000000..c167291df --- /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 000000000..a69d93ccd --- /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 d23d6a906..abd484d8b 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 a12f788a8..cc9fba4c5 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 000000000..337b3a2fc --- /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 000000000..f3654310f --- /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 6daabc1e8..fcd388458 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 efe1b3976..a03ce3e2b 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 000000000..e6a961291 --- /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 000000000..27f41ff49 --- /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 9d396f731..69b1d4af6 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 22ce9cdc8..d7f7da6ee 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 000000000..f67b481b7 --- /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 000000000..50c523bbc --- /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 7a0249d9f..574d073bb 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 58a87b0bc..6ed145fed 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 000000000..e26376de8 --- /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 000000000..110502f77 --- /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 0b4be8b39..64b78961c 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 6393099c1..a25d17c03 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 000000000..78626a55a --- /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 000000000..8aa06878a --- /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 dcfb1fd7d..1157430b9 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 1e1461068..0a0e7b5f5 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 000000000..7b89e15d6 --- /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 000000000..737cdb911 --- /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 7ff1fd500..31f6900c0 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 ca15f627b..7ead4d7e9 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 000000000..75a6ba573 --- /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 000000000..bf29b145e --- /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 6c02a016c..db8fbfd6b 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 22952ae5b..5be6ac318 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 000000000..4f937fc6a --- /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 000000000..bcaa40072 --- /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 d7f760882..ca1f16139 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 6874fd927..c538004ad 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 000000000..45799c905 --- /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 000000000..899d5d9e3 --- /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 4254eeaff..ce0328bee 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 80ed080d2..8e86e9420 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 000000000..859acae33 --- /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 000000000..476f3985f --- /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 865fa6c0e..e3894bac2 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 5c961579e..73e20b4d9 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 000000000..b263b7084 --- /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 000000000..68bdaa036 --- /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 4fbac65ed..6df6362f5 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 8d921970d..59a73549a 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 000000000..0be250f46 --- /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 000000000..ff7701d96 --- /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 796200ad2..a4ded3fe7 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 cb2818db8..2dc442518 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 000000000..9eb3192d6 --- /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 000000000..9f6a9f3b3 --- /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 24500b803..a0dabefb6 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 d5c339b5e..2eedb18f9 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 000000000..9722d4d83 --- /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 000000000..914db8568 --- /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 e9d2964c7..16d35472f 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 b64191905..b876bc8c8 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 000000000..6bd28b4de --- /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 000000000..5e2cfd682 --- /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 2d60bff98..23dfa06fd 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 95d27eac2..edea4251a 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 000000000..242817371 --- /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 000000000..13132d0fe --- /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 69e96b1b9..1cb728817 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 20df60a0f..362c21b5e 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 000000000..2bf43d199 --- /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 000000000..05058240f --- /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 e5e789d5c..6929baec7 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 e1ec93fdb..d9d18752d 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 000000000..b5152c733 --- /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 000000000..b07aa49a8 --- /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 7747322ab..cf95f5460 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 f1ba531a0..b78c45e86 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 000000000..a6a7e8e88 --- /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 000000000..c47d9ebe1 --- /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 b7bef3e4e..e14354af0 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 7129f5ef8..42d8fe42f 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 000000000..32cc861d3 --- /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 000000000..c6005b2d5 --- /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 d71da3b68..a0e3bdcd3 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 6931926fb..b5bcc75b5 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 000000000..2f2d2b428 --- /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 000000000..bb23d4e40 --- /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 3801671fa..12b1a9fe8 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 e0e3a7de1..3a6c5c859 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 000000000..97e2bcb7c --- /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 000000000..3b3834584 --- /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 3fac8e47d..085d6d918 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 7b3a7b04b..cc6dfaf27 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 000000000..82a6dce81 --- /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 000000000..af32df0c4 --- /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 dd01df99b..794d6362f 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 fa29b61f2..7c612ac82 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 000000000..31c77b0a5 --- /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 000000000..f19de1e2f --- /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 a44222053..0eb77d939 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 38e48dc05..2a9d26531 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 000000000..57d25e695 --- /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 000000000..f87dfd9c3 --- /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 d9e77c703..be83e0bd7 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 cc10ae3c0..fe7408fe9 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 000000000..737dffcd3 --- /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 000000000..7baecdb8e --- /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 07962fa66..2d66417df 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 4c11784cd..1d7eaa577 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 000000000..95fdffd06 --- /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 000000000..2402e5073 --- /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 8fe2bc635..5d1c5d85c 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 20e614d9c..d1d812758 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 000000000..fc4729f46 --- /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 000000000..4dd2e1e1b --- /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 a7d8292e4..9118c3c0f 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 bdc0bb3a3..55b475dee 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 000000000..5f2e93d81 --- /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 000000000..f7f80c106 --- /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 d30259678..4bdceb41b 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 bf2f75e55..4152213ea 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 000000000..62401584d --- /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 000000000..a859c2c6f --- /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 0c97037b7..74e8df22e 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 84a0cb627..ed71208a3 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 000000000..de473b81a --- /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 000000000..2610f8f9a --- /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 326dcedd9..2001566b0 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 33cafd70a..c3061412c 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 000000000..98d10db1f --- /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 000000000..36b48ee83 --- /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 9ad953857..1ab487215 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 a03d5f944..d98bcfbc8 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 000000000..6a3588d88 --- /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 000000000..684797107 --- /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 04bd708fe..48a112a39 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 c54318867..04ae30a19 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 000000000..e35e1d804 --- /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 000000000..9bdbac2de --- /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 ac2855800..784987fea 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 a8e6b2b5d..27dcbb866 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 000000000..efd8bfa3c --- /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 000000000..2e8f3c49a --- /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 23602ba42..29b38e581 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 42e07434e..82dfb0e3b 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 000000000..4d8efa371 --- /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 000000000..c16bab7fb --- /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 71c43e3dd..b14536383 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 a73c6780f..18f53dff9 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 000000000..347e5ad38 --- /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 000000000..9959c14d5 --- /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 f2896b3eb..5e97afeac 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 f2c568e9a..2d9dfda11 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 000000000..11b346039 --- /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 000000000..313e949ef --- /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 d956b68e7..8c953d2e4 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 3f6e2be1b..4e04d6a49 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 000000000..f946c45d5 --- /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 000000000..c67012a20 --- /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 f081ba7d1..422469e22 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 160f4718e..b36ea43b7 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 000000000..27cf86ae9 --- /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 000000000..95ca180b2 --- /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 f8b5bf7ba..15c8c9d24 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 0a35c9c56..0baab9739 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 000000000..a8d748f87 --- /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 000000000..cb1186e0e --- /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 323beddc2..dbfc3d177 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 32dbddc23..0d3f4c897 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 000000000..9537fe18b --- /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 000000000..afba34635 --- /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 5fc0d18d8..9ef108b57 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 41e78b45f..8c797731f 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 000000000..35b2c9db8 --- /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 000000000..b10cea99b --- /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 20119a998..9d7a0c8b0 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 b6a231d96..90f4688f4 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 000000000..a7fd94f35 --- /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 000000000..f77a9e1a5 --- /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 604b5f1c0..7f1dbd191 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 d715e4233..621d0402b 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 000000000..a4e55ecaa --- /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 000000000..863174fdf --- /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 78f224551..95bb7f73b 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 575c7206c..e862746cd 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 000000000..9acbf8784 --- /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 000000000..b21b0348f --- /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 a09945abc..0c7b54358 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 496f99b4e..e8c980732 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 000000000..c8ea0c51d --- /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 000000000..b5b775ac8 --- /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 765941ee0..eed1972f1 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 e07e6497e..fde2a3cd8 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 000000000..f688d9348 --- /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 000000000..ffa09c1a5 --- /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 b5f247975..469adb334 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 e873751f3..78db97bc6 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 000000000..139b679ea --- /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 000000000..24b5aa613 --- /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 83e5dbfc0..333135ce6 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 65ee2b671..9e850dad6 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 000000000..8e81da893 --- /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 000000000..7434d108c --- /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 09a14c002..11d29f7d6 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 a67d13aeb..0fa78d4c7 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 000000000..41ac9eb49 --- /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 000000000..af651cf5c --- /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 88a24ddc2..ba9fc6257 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 7202ef7dd..db1387cb0 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 000000000..fd10b79b0 --- /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 000000000..52acf7728 --- /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 590795dc1..5e41a2b20 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 02a13948b..c08fbd814 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 000000000..2ac177f43 --- /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 000000000..c458f76e0 --- /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 ebdaf6c5c..ad1a6ae90 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 c4c4f5e5b..42a678532 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 000000000..9aa28cb66 --- /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 000000000..96047ea49 --- /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 30c3ddaee..a765b698a 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 5feb65092..589cbec60 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 000000000..571002e5d --- /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 000000000..e86f94e04 --- /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 ab075b3f1..f3cf491d7 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 450062173..61384fd91 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 000000000..391539c14 --- /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 000000000..755b54cc9 --- /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 b50100a1d..44e86f348 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 4400361f4..e05414396 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 000000000..0cfa4ab88 --- /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 000000000..7766271e6 --- /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 4443182d7..8361ed1ca 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 51c9a2f69..cf8601524 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 000000000..e36cfe62a --- /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 000000000..f57e71f4b --- /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 d6a91b948..68f810c84 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 b34d71933..5b4a64862 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 000000000..bced8c04d --- /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 000000000..3e608b575 --- /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 923b219b5..fdb9d02da 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 4687185ae..c717faf1d 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 000000000..233d2f924 --- /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 000000000..d9b29e62d --- /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 7a296aefb..ec0fe205a 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 463feb043..f614bb511 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 000000000..5c55314cd --- /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 000000000..232e1db24 --- /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 b5cf3b553..14417a9d1 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 3fcb53def..bf4dc2c31 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 000000000..1c0c230d6 --- /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 000000000..0b924b4ed --- /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 4a2d53822..4dff8467c 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 6fd8119b1..474568fbd 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 000000000..49bdc7951 --- /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 000000000..c247390d1 --- /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 ed2469101..1b4eced0d 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 92591b65d..e1c52e25e 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 000000000..713911c34 --- /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 000000000..802022cbe --- /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 938f507f4..21eccf375 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 1608bc25a..a5f01bedb 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 000000000..ef5627504 --- /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 000000000..e495397d5 --- /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 a8c78e005..4956bbde5 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 3a17afd3d..32247604c 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 000000000..503c62105 --- /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 000000000..bfbb688b0 --- /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 835761da7..a00e4c078 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 e9c7594c0..acc698a25 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 000000000..4fa6d91f0 --- /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 000000000..546147534 --- /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 312ed8d01..e0c375737 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 0c0531d84..0d9b527db 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 000000000..97b040a51 --- /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 000000000..b450f14ed --- /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 2067da7f7..af9225682 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 963c7f9dd..e0bca00ea 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 000000000..97c47d29b --- /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 000000000..367921b65 --- /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 a78077ef9..064ee79fb 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 5291892b6..ca017690f 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 000000000..270f0123d --- /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 000000000..332369068 --- /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 b18618a99..b68e0585a 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 0bb099fc6..b36d99046 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 000000000..539a20ab7 --- /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 000000000..a3cfdf67b --- /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 534cab0bf..c47d6fc40 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 570775a78..ee42d8591 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 000000000..566025c86 --- /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 000000000..7a5ba8640 --- /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 96d4bbd4f..9c46d0ce5 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 ef5bab146..50942cd76 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 000000000..45340d493 --- /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 000000000..b87981cb3 --- /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 f745fcc79..fae02e2e9 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 cfb13395d..d82556d62 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 000000000..119fc4d3a --- /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 000000000..8245b35c0 --- /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 ef6fa7415..5b34b2598 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 1329dd30b..8c8f3e1c6 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 000000000..6719a260e --- /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 000000000..ca080ad62 --- /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 a4f42a611..fe3464f77 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 52d84e703..814e92623 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 000000000..b6993c59e --- /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 000000000..24e70698a --- /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 58b77725b..02424463e 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 c584e9795..3997ce6d9 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 000000000..d780c05a3 --- /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 000000000..64f6afb6a --- /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 92166c9d3..5905b153e 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 f54956853..c4e3d8371 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 000000000..298e42439 --- /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 000000000..e3a5cf7ca --- /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 664ee07db..18015d140 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 0c2b86eb8..85b5fc42c 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 000000000..8b272c3e9 --- /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 000000000..3324994fc --- /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 5c390fa93..f6a73ee78 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 492b895f9..9dfe3df49 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 000000000..f81ab2fb7 --- /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 000000000..6c688d70f --- /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 002f954ae..adf1abc97 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 4371869b3..3c9d817cf 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 000000000..19d7f94a2 --- /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 000000000..cd7b07a1c --- /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 e8485ab5b..09553d5cd 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 ffd857631..19ab369df 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 000000000..540cecdc7 --- /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 000000000..af5a7e2bb --- /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 8148c9468..c58d24c3e 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 307c84e8d..de7dbc28b 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 000000000..9981bd430 --- /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 000000000..0a4c5ec10 --- /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 d9c040781..8c8c183b3 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 76e88353b..fdc24458a 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 000000000..e11443cf5 --- /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 000000000..26612c8b6 --- /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 7838c0815..73a99011e 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 54928e8d8..af467844d 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 000000000..796a90517 --- /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 000000000..e97c487ba --- /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 6b4dc19d5..0f23979bc 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 b46f7871d..d3b96d98c 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 000000000..c984dfab2 --- /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 000000000..330541b9a --- /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 edacee14c..aad705319 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 f61e10cde..2146cc1c5 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 000000000..019e69498 --- /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 000000000..133c605cf --- /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 2194eee68..8e2122c8c 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 4703561cc..991b870fb 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 000000000..a762517e0 --- /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 000000000..b9bb735f0 --- /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 59b435e93..a806c9bd6 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 a500ea477..92284f416 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 000000000..ba967a501 --- /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 000000000..bdb48829d --- /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 bc1111282..93ab5574c 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 dca7a5bb8..4674fdee2 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 000000000..3806bf3f3 --- /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 000000000..5e7666e59 --- /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 2a0d62643..92af72ffc 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 803d1681e..239f05a33 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 000000000..3efb2bc5e --- /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 000000000..5219b2867 --- /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 f4d716ebf..33db20dea 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 7a376d31b..582bcde48 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 000000000..d231c4ddc --- /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 000000000..bb9e1d41d --- /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 a83dc6b2a..d832d3346 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 4b6af652b..ad6fafbb0 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 000000000..81b956354 --- /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 000000000..7c5edeb52 --- /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 ff5a64a8a..ddde60651 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 8be70a83e..6e5206ed7 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 000000000..0be206997 --- /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 000000000..a064b6ba5 --- /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 5e6cfbf46..20ac8ff11 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 f6f4b87c0..df13f77cd 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 000000000..c3fbf5219 --- /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 000000000..71e3f279c --- /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 bfa99e0fc..85064f639 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 6931682ea..cd568ba78 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 000000000..f035629ff --- /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 000000000..3b671eccf --- /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 0d18b313b..1533c4e3d 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 1061f39bc..1a6b1d0b2 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 000000000..262f24b97 --- /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 000000000..c72d6882d --- /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 8d44ed82f..32fde7061 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 d0c4f7bcc..5d227138d 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 000000000..3889b8e0d --- /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 000000000..884876ce7 --- /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 616239b02..a796a49ed 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 41e24c3b5..159c6e109 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 000000000..b9c89975f --- /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 000000000..8df4c412c --- /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 13aa46e65..6f3d94257 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 e0fee9bde..0e31d3373 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 000000000..bd379fda4 --- /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 000000000..039863564 --- /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 86665d589..a0b28b224 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 be017acb6..72ac2ddf6 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 000000000..1c4312b7a --- /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 000000000..c0a3f9833 --- /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 3c03192e4..748d1cc61 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 b0a1fb824..cea2537e3 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 000000000..ef1b7c418 --- /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 000000000..9bf4b0520 --- /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 b08c4d247..f04b92d67 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 e9e23c9f3..52862ca3c 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 000000000..13089c034 --- /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 000000000..691bb7e99 --- /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 309954337..64a7ad463 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 b710d98a7..427a68e7e 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 000000000..4fa1ec309 --- /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 000000000..f01ece330 --- /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 3556e7497..63bd826b1 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 f8cc1b526..6c891a13b 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 000000000..ef40a51a0 --- /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 000000000..4cf6703c7 --- /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 68777e415..0646b1ced 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 4fd73d2d6..4ce9a82f0 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 000000000..0fa5a852c --- /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 000000000..10321122a --- /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 821639524..20fa9bd8d 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 bc3f9d6c0..8643830f4 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 000000000..54c5c4a3d --- /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 000000000..9b6f68122 --- /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 deb3ae9ea..a35e9df18 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 64dd61159..b23e56b2a 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 000000000..b34f460c4 --- /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 000000000..c4d6b9a40 --- /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 d83cbf052..03edef6fd 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 4222a6743..bc4b6a408 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 000000000..ca9c6ed2c --- /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 000000000..bcc33bfce --- /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 f30718455..eded3d531 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 f01625234..af496bf32 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 000000000..fb6840b79 --- /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 ab132c50d..c51da2324 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 76e6b3614..90bc39790 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 e1457f2e2..a8f2c6e5d 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 68c3e56b6..625166a0a 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 000000000..12bf38b71 --- /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 000000000..92b4edf3c --- /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 000000000..b182d942c --- /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 000000000..bb8bdbcf2 --- /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 000000000..90e5ea6aa --- /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 000000000..e43755479 --- /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 000000000..2e1243173 --- /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 000000000..e6858873b --- /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 000000000..1109896e8 --- /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 2be1f1f1d..89fc619e7 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 9b45b7ca9..2886582c8 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 000000000..e39748918 --- /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 000000000..4e251e972 --- /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 be35438a8..cea0139b1 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 eb16fc87e..8a5184b93 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 000000000..bf45b379a --- /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 000000000..c707b7e39 --- /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 05a849ede..0290dcaf1 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 6a60f6cef..1c03fdc9c 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 000000000..df92ee2da --- /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 000000000..4a6a711a3 --- /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 6c82220f7..79be1904d 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 168f9bc57..9546f02ea 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 000000000..78cc954d8 --- /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 000000000..51bbcaad6 --- /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 232905b3b..a074b753d 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 3020ff11d..223e86f7c 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 000000000..7d1b1d456 --- /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 000000000..bdd609c66 --- /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 27b62adf4..3ec82ecd4 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 6e1728b14..22c278cf3 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 000000000..82355f95a --- /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 000000000..750ea8a8e --- /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 1a36cb614..869fce80c 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 56a31ab0b..d06ae7a62 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 000000000..836dc897b --- /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 000000000..4a09bb19b --- /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 e5c806ea0..12b34fe89 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 18e92b444..c0a58e7ad 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 000000000..e157bb7eb --- /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 000000000..77e6e6810 --- /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 b1a374c8e..8572858a2 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 696af0478..c34aa47c3 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 000000000..b2931cff4 --- /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 000000000..d284784b1 --- /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 7cdb2679d..9b2ce9cf7 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 fec8b5c9a..49a7bff62 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 000000000..3d59fc513 --- /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 000000000..6f086e2df --- /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 6d3d7a478..59db576f0 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 5ac164aa6..e8b500535 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 000000000..8d8b983ee --- /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 000000000..70fffa4be --- /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 d37d7b446..37088ec36 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 b6fa65f67..468d58411 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 000000000..902118fca --- /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 000000000..b45dda42b --- /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 a475ccae4..1a776a1bf 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 a03f2e635..fc3a6896e 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 000000000..8991bc31e --- /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 000000000..cdc83331a --- /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 925e9c5d3..934e3c938 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 81901c192..a030b55cd 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 000000000..769133e69 --- /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 000000000..35d2ef7dc --- /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 de12f9192..b1dc5faa5 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 19fa5a752..0ec556df0 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 000000000..6615ccc73 --- /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 000000000..29bea0040 --- /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 26232c878..760299d5b 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 1321bb4a6..de3e5dd78 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 000000000..bcb4b9d1a --- /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 000000000..c403a9220 --- /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 d1c975672..6a5f33a8c 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 96c2a0177..be9a3b45c 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 000000000..619d28d48 --- /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 000000000..021ad5d0c --- /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 913eae57c..88b15d448 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 fd85b6380..c9d894c2e 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 000000000..b35cde60d --- /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 000000000..affabd5b3 --- /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 2e95a23dc..dd229c9da 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 7c4d68135..cf05734de 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 000000000..693f0d5ff --- /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 000000000..dfefd2085 --- /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 29ae4bedb..896725361 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 5b2924930..9195d0acc 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 000000000..bacc8b40b --- /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 000000000..2c20bd1ea --- /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 87956e486..4287b30fa 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 75c796a1a..f569ffa0e 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 000000000..b419a1908 --- /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 000000000..50c6fca3a --- /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 b68529611..90c87fad5 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 6c9ef1a31..a60a2e309 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 000000000..1e35e8f7f --- /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 000000000..1e612c28c --- /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 47c24a9ad..51d8f58b6 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 6dc824dc5..e30d591f2 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 000000000..17a121695 --- /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 000000000..a64715101 --- /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 7be02b155..c3df87ce8 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 8fdf1f3b1..a307d54b6 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 000000000..d8a2c7e1f --- /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 000000000..35b7e6329 --- /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 dd5bf5134..604bff65f 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 b16d1f8f8..8d4fbba16 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 000000000..efe83d094 --- /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 000000000..9ab3a0016 --- /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 ff169f059..9b224f168 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 373ba914d..0653b3453 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 000000000..1a2e96e20 --- /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 000000000..4f5358f6a --- /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 0b82f9821..69501d98d 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 10cca2cf1..3e1c48519 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 000000000..a90a13bed --- /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 000000000..29156501f --- /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 fba117799..894fc8c49 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 e045436a5..93c5097fa 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 000000000..19de43ccf --- /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 000000000..a8ce0b94a --- /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 4c8a4c73e..38da69dec 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 cfddef68c..9cff7d5ba 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 000000000..e005229df --- /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 000000000..411243943 --- /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 e363d7d46..da8585bf5 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 0b3620b66..b334b7bcb 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 000000000..47041609a --- /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 000000000..f382acb64 --- /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 880003334..73b01d18d 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 36abfeb06..34fd7cf3c 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 000000000..caef4b5f2 --- /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 000000000..b0484e895 --- /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 9d7810262..1d2c462ba 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 1be9614da..cf468b0a6 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 000000000..ecb0e56bb --- /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 000000000..1c6c6e994 --- /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 970b3853c..48fd27698 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 0e382aedb..5f472ec82 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 000000000..a63336ccd --- /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 000000000..a69bd4003 --- /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 e0a06ceb0..c10b8aa7f 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 eb5858ad1..4a30a20ac 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 000000000..69bedea29 --- /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 000000000..786a80883 --- /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 e5de085ee..520b214f0 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 ccebd8340..82f441c9c 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 000000000..de649fa59 --- /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 000000000..5487ca1d2 --- /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 0448a19a1..f63966dd2 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 ac7c6fb06..3b18d762b 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 000000000..dfbb6ac36 --- /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 000000000..33b5f746b --- /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 67503be02..988b30670 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 06f28b639..6ab582169 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 000000000..fd971eeaf --- /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 000000000..972112045 --- /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 087e9aec2..90c24998f 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 454522937..d5a9fc5ac 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 000000000..c76b16789 --- /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 000000000..0efb44951 --- /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 b4ef220bc..8042ca518 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 67134a844..c3b3a7f13 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 000000000..92f40ac01 --- /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 000000000..8d23147b1 --- /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 8b860dfce..640737aa6 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 cca49eb02..e51b4b8a9 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 000000000..a5705bf1c --- /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 000000000..05027b233 --- /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 5e284bc1b..eade876b2 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 b7852de21..0e063c713 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 000000000..da5f214db --- /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 000000000..af202c6cd --- /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 503d8753e..2d115e2bf 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 4c4fa6598..c41ce522c 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 000000000..0b4d1d4a4 --- /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 000000000..9a6295669 --- /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 c1b0ecd1d..5eda0b43c 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 ad103ac8d..3a78fcf15 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 000000000..727256994 --- /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 000000000..775896d3e --- /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 ff0eed88d..f5080ca6f 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 17a6a138d..66def61a4 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 000000000..1e36e6e54 --- /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 000000000..79b40dc48 --- /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 b11b65acb..510007bcf 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 6119d52b2..30979f259 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 000000000..a333ab780 --- /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 000000000..c78f8c0be --- /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 a26c03c41..24cdbb607 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 2b26424a0..46bef2aa9 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 000000000..3deba06a2 --- /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 000000000..9adb26051 --- /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 ab9944d90..2186a4190 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 aecb1ac45..4439a3c1a 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 000000000..c909c22a4 --- /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 000000000..9c8d6ccda --- /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 00171fcb6..747329295 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 13fe59415..cf96a67c5 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 000000000..b19f7f6fc --- /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 000000000..8cb521066 --- /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 a9c3817b3..39929e4e0 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 3d74ac84d..46ddaf9ef 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 000000000..4630fa171 --- /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 000000000..47cd97f81 --- /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 eec55223a..fb8c8aa20 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 ef5652134..830304cd7 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 000000000..71410957e --- /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 000000000..2359a7760 --- /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 79b4f388f..0f0ee810b 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 604f1e5cf..84cb37359 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 000000000..ca366f113 --- /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 000000000..28e8ab58b --- /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 e9e7d5bec..02a0b8b39 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 f5400d974..e2aef9618 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 000000000..ce61338bd --- /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 000000000..e9ef481cc --- /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 cdcb25729..941066fbd 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 388da046d..4d304bff8 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 000000000..8bbe66fc7 --- /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 000000000..930f42d13 --- /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 76d76a9d5..8149cd4a1 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 220b2a855..7f61d802e 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 000000000..73e275ce8 --- /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 000000000..e534e126b --- /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 f0a4cc4a4..07853e604 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 030c489e6..ca304dda7 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 000000000..d817a54da --- /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 000000000..2e790f014 --- /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 c4336fd7b..75a7eb094 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 0937a8b77..75c87158a 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 000000000..547876be8 --- /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 000000000..dc1473f4c --- /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 1e215e5ef..13d06d548 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 fb53fa6c6..5fdd75e4f 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 000000000..33f02336a --- /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 000000000..51612ebe7 --- /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 6c4d842b9..97206a0c1 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 347523d0b..ed06cd148 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 000000000..b98a43f2f --- /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 000000000..dfe74efa1 --- /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 406b5bf54..2ba6fe88c 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 988b64b8f..098cc3a6a 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 000000000..702813899 --- /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 000000000..50f1eaf78 --- /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 05334a56d..6ef7397f5 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 19be04492..90346c0ba 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 000000000..65ad2d006 --- /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 000000000..e02034eb2 --- /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 6873b04ea..283edec81 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 e03135ae9..35488a496 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 000000000..8645fc909 --- /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 000000000..ba887ccdb --- /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 7ec862016..6dbc81832 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 8bf246de6..e040dde9c 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 000000000..8cd7827f8 --- /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 000000000..05df51f2c --- /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 a8a64c0b0..1cbe2bff7 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 0db117f65..9bc1ff3c1 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 000000000..d13c7e001 --- /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 000000000..b195f5623 --- /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 3fe0d58cc..f4055961c 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 ef8a0e817..c0c945b91 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 000000000..f00bc110c --- /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 000000000..52edf9529 --- /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 c8a435ae8..1c0b87e34 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 d341ebf23..3d9b67f0b 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 000000000..790eb1e44 --- /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 000000000..5515a3204 --- /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 722e5f037..5b4ab936c 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 0ecc20629..6d59bbcd1 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 000000000..da222a40b --- /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 000000000..24f6e4a0e --- /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 2154228b8..294cfed26 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 683877ab9..5ef9a6527 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 000000000..0250bd0a0 --- /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 000000000..8b63b6566 --- /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 a29b757c8..2c534421b 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 588863b09..6cc5ede2e 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 000000000..291a871cc --- /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 000000000..86c59ea4a --- /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 92a4a2131..e73aaf06e 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 b155e6379..4a8784f1e 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 000000000..1072ea215 --- /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 000000000..921abed91 --- /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 6ec15e5bb..2356647ed 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 2c33eaa6b..1543e26d9 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 000000000..bca93d6d1 --- /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 000000000..964958b21 --- /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 5c5b5ced3..482906b5f 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 2d5ca1fe2..9be725876 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 000000000..4d21f1cd8 --- /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 000000000..0c6301f33 --- /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 98fe3967e..1526534b9 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 2a5d4b9e0..1d1bea009 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 000000000..05ec91bd4 --- /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 000000000..cfe031709 --- /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 3f50e9387..81f3dfc2e 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 faf32b9fa..b40db60b7 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 000000000..532f56287 --- /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 000000000..2ec1ff5a7 --- /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 1aa52df0c..14a623854 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 121ad4975..d6c881448 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 000000000..02b54aaa1 --- /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 000000000..19d0521ab --- /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 f590a6b01..73e1a761b 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 611b2f709..a7f2db2bb 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 000000000..344dd2eec --- /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 000000000..b830d9c9f --- /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 cf92f7a0c..a11dd396f 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 9d4d880be..f85a0fd4f 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 000000000..291dbd5c0 --- /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 000000000..55605245d --- /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 cd99d8299..fbd23434d 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 2bd72cd02..cc5b3dc08 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 000000000..ca9a61b2b --- /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 000000000..09d556499 --- /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 fab0fc979..d4296d112 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 7e6d7793a..9fd9e707b 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 000000000..98baf3b10 --- /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 000000000..a85e73d1e --- /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 624225c44..fed50b9e1 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 1cba46be9..d70c86a05 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 000000000..162268e71 --- /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 000000000..39d0b2ff3 --- /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 be17b63cf..355adf46c 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 1259f87f6..1dbee469c 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 000000000..1faed8f75 --- /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 000000000..844f9d98f --- /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 a7afdafaf..e8536f7ad 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 991407d63..07a0ffe87 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 000000000..032e26cb8 --- /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 000000000..e9e1536cb --- /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 01ac89325..ac3eb60a5 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 5b74648e6..a2ab58984 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 000000000..2a8ecc7c0 --- /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 000000000..b1d495f10 --- /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 b2a76fe22..4b3235bc0 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 b63cccf90..15ed1222a 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 000000000..e742d7dd9 --- /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 000000000..06d92a900 --- /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 d306ba123..8c3668a69 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 716360f0c..ea3310c11 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 000000000..22e1fd443 --- /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 000000000..4848cf87f --- /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 ce3a89035..78bb1918e 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 7e0536ee0..b146fa109 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 000000000..a5992212e --- /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 000000000..f2f4ff359 --- /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 696d730a1..83f8aec1f 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 256e38f23..520b31dd5 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 000000000..f73698211 --- /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 000000000..42c2b4ae5 --- /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 8e95d4ae3..40e7d3b6c 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 d4972716d..f6d51f913 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 000000000..7f1e14851 --- /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 000000000..c6d747048 --- /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 aec3411b0..225e65361 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 7ed327fd7..eabf2c9fb 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 000000000..bfd1b0119 --- /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 564867938..c260f44d6 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 8945e2da8..051384c38 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 9899f18a7..ad728de99 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 9f93093f9..d4d9b33a8 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 852cf4df2..51c5a56bc 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 000000000..9af25f823 --- /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 000000000..afbe9c777 --- /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 000000000..13458c12f --- /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 000000000..7e53b710e --- /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 000000000..52b0a2992 --- /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 000000000..3d1c2c3fc --- /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 000000000..e587c62e6 --- /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 000000000..d33d0ae5e --- /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 000000000..8a10218cb --- /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 e12b6ffe5..c47d77d8a 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 21488b4ec..fff9abd2c 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 000000000..269292008 --- /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 000000000..58ef33b44 --- /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 f16c593da..a27081cf1 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 ea62cb52f..b3c51c8d4 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 000000000..af95a9e91 --- /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 000000000..2fbf4a5cc --- /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 9dd43a341..03245dc4c 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 58ceaaf26..6131c1dc3 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 000000000..4028a9d8a --- /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 000000000..991ceb835 --- /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 72fed3d8a..df8880770 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 3be99dcd4..9dd1e7933 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 000000000..9eb0f98d8 --- /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 000000000..31480e0df --- /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 f3f82afa8..eef947db3 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 e8f47faa2..2758491eb 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 22fd5d7c0..f00bb7691 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 187f63ff5..2e00ddcbe 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 ba0469b0e..6fffb5be9 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 fe6d99952..46f56b2b2 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 6293ec3f8..5d051e860 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 1b2e5cf0d..8fd99a99a 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 76bf3a4e1..fc47200cd 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 dd48b57d6..b8fc2ba7e 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 40064b1ed..59a3daba8 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 9263fb536..137ded3c1 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 5dd6bd6ee..051990113 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 +}