Lines Matching full:math
74 #include <math.h>
76 #define TEST_LIBRARY_NAME "<math.h>"
155 //#define ERF_INV_FUNCTION_TO_TEST boost::math::erf_inv
156 //#define ERFC_INV_FUNCTION_TO_TEST boost::math::erfc_inv
160 //#define TGAMMA1PM1_FUNCTION_TO_TEST boost::math::tgamma1pm1
164 //#define BESSEL_IP_FUNCTION_TO_TEST boost::math::cyl_bessel_i_prime
165 //#define BESSEL_IPN_FUNCTION_TO_TEST boost::math::cyl_bessel_i_prime
169 //#define BESSEL_JP_FUNCTION_TO_TEST boost::math::cyl_bessel_j_prime
170 //#define BESSEL_JPN_FUNCTION_TO_TEST boost::math::cyl_bessel_j_prime
171 //#define BESSEL_JPS_FUNCTION_TO_TEST boost::math::sph_bessel_prime
174 //#define BESSEL_KP_FUNCTION_TO_TEST boost::math::cyl_bessel_k_prime
175 //#define BESSEL_KPN_FUNCTION_TO_TEST boost::math::cyl_bessel_k_prime
179 //#define BESSEL_YP_FUNCTION_TO_TEST boost::math::cyl_neumann_prime
180 //#define BESSEL_YNP_FUNCTION_TO_TEST boost::math::cyl_neumann_prime
181 //#define BESSEL_YSP_FUNCTION_TO_TEST boost::math::sph_neumann_prime
184 //#define BINOMIAL_FUNCTION_TO_TEST boost::math::binomial_coefficient<T>
207 //#define ELLINT_RG_FUNCTION_TO_TEST boost::math::ellint_rg
228 //#define ELLINT_D1_FUNCTION_TO_TEST boost::math::ellint_d
233 //#define HERMITE_FUNCTION_TO_TEST boost::math::hermite
234 //#define HEUMAN_LAMBDA_FUNCTION_TO_TEST boost::math::heuman_lambda
236 //#define BETA_INC_FUNCTION_TO_TEST boost::math::beta
237 //#define BETAC_INC_FUNCTION_TO_TEST boost::math::betac
239 //#define IBETAC_FUNCTION_TO_TEST boost::math::ibetac
240 //#define IBETA_INV_FUNCTION_TO_TEST boost::math::ibeta_inv
241 //#define IBETAC_INV_FUNCTION_TO_TEST boost::math::ibetac_inv
242 //#define IBETA_INVA_FUNCTION_TO_TEST boost::math::ibeta_inva
243 //#define IBETAC_INVA_FUNCTION_TO_TEST boost::math::ibetac_inva
244 //#define IBETA_INVB_FUNCTION_TO_TEST boost::math::ibeta_invb
245 //#define IBETAC_INVB_FUNCTION_TO_TEST boost::math::ibetac_invb
248 //#define IGAMMAL_FUNCTION_TO_TEST boost::math::tgamma_lower
251 //#define GAMMAP_INV_FUNCTION_TO_TEST boost::math::gamma_p_inv
252 //#define GAMMAQ_INV_FUNCTION_TO_TEST boost::math::gamma_q_inv
253 //#define GAMMAP_INVA_FUNCTION_TO_TEST boost::math::gamma_p_inva
254 //#define GAMMAQ_INVA_FUNCTION_TO_TEST boost::math::gamma_q_inva
278 //#define JACOBI_ZETA_FUNCTION_TO_TEST boost::math::jacobi_zeta
293 //#define TGAMMA_RATIO_FUNCTION_TO_TEST boost::math::tgamma_ratio
294 //#define TGAMMA_DELTA_RATIO_FUNCTION_TO_TEST boost::math::tgamma_delta_ratio
295 //#define SIN_PI_RATIO_FUNCTION_TO_TEST boost::math::sin_pi
296 //#define COS_PI_RATIO_FUNCTION_TO_TEST boost::math::cos_pi
314 //#define CBRT_FUNCTION_TO_TEST boost::math::cbrt
315 //#define ERF_FUNCTION_TO_TEST boost::math::erf
316 //#define ERFC_FUNCTION_TO_TEST boost::math::erfc
317 //#define ERF_INV_FUNCTION_TO_TEST boost::math::erf_inv
318 //#define ERFC_INV_FUNCTION_TO_TEST boost::math::erfc_inv
322 //#define TGAMMA1PM1_FUNCTION_TO_TEST boost::math::tgamma1pm1
341 //#define BESSEL_IP_FUNCTION_TO_TEST boost::math::cyl_bessel_i_prime
342 //#define BESSEL_IPN_FUNCTION_TO_TEST boost::math::cyl_bessel_i_prime
345 //#define BESSEL_JS_FUNCTION_TO_TEST boost::math::sph_bessel
346 //#define BESSEL_JP_FUNCTION_TO_TEST boost::math::cyl_bessel_j_prime
347 //#define BESSEL_JPN_FUNCTION_TO_TEST boost::math::cyl_bessel_j_prime
348 //#define BESSEL_JPS_FUNCTION_TO_TEST boost::math::sph_bessel_prime
351 //#define BESSEL_KP_FUNCTION_TO_TEST boost::math::cyl_bessel_k_prime
352 //#define BESSEL_KPN_FUNCTION_TO_TEST boost::math::cyl_bessel_k_prime
355 //#define BESSEL_YS_FUNCTION_TO_TEST boost::math::sph_neumann
356 //#define BESSEL_YP_FUNCTION_TO_TEST boost::math::cyl_neumann_prime
357 //#define BESSEL_YNP_FUNCTION_TO_TEST boost::math::cyl_neumann_prime
358 //#define BESSEL_YSP_FUNCTION_TO_TEST boost::math::sph_neumann_prime
361 //#define BINOMIAL_FUNCTION_TO_TEST boost::math::binomial_coefficient<T>
363 //#define ELLINT_RC_FUNCTION_TO_TEST boost::math::ellint_rc
364 //#define ELLINT_RD_FUNCTION_TO_TEST boost::math::ellint_rd
365 //#define ELLINT_RF_FUNCTION_TO_TEST boost::math::ellint_rf
366 //#define ELLINT_RG_FUNCTION_TO_TEST boost::math::ellint_rg
367 //#define ELLINT_RJ_FUNCTION_TO_TEST boost::math::ellint_rj
371 //#define ELLINT_1_FUNCTION_TO_TEST boost::math::ellint_1
372 //#define ELLINT_1C_FUNCTION_TO_TEST boost::math::ellint_1
373 //#define ELLINT_2_FUNCTION_TO_TEST boost::math::ellint_2
374 //#define ELLINT_2C_FUNCTION_TO_TEST boost::math::ellint_2
375 //#define ELLINT_3_FUNCTION_TO_TEST boost::math::ellint_3
376 //#define ELLINT_3C_FUNCTION_TO_TEST boost::math::ellint_3
377 //#define ELLINT_D2_FUNCTION_TO_TEST boost::math::ellint_d
378 //#define ELLINT_D1_FUNCTION_TO_TEST boost::math::ellint_d
380 //#define EI_FUNCTION_TO_TEST boost::math::expint
381 //#define EN_FUNCTION_TO_TEST boost::math::expint
383 //#define HERMITE_FUNCTION_TO_TEST boost::math::hermite
384 //#define HEUMAN_LAMBDA_FUNCTION_TO_TEST boost::math::heuman_lambda
391 //#define BETA_INC_FUNCTION_TO_TEST boost::math::beta
392 //#define BETAC_INC_FUNCTION_TO_TEST boost::math::betac
397 //#define IBETA_INVA_FUNCTION_TO_TEST boost::math::ibeta_inva
398 //#define IBETAC_INVA_FUNCTION_TO_TEST boost::math::ibetac_inva
399 //#define IBETA_INVB_FUNCTION_TO_TEST boost::math::ibeta_invb
400 //#define IBETAC_INVB_FUNCTION_TO_TEST boost::math::ibetac_invb
407 //#define IGAMMA_FUNCTION_TO_TEST boost::math::tgamma
408 //#define IGAMMAL_FUNCTION_TO_TEST boost::math::tgamma_lower
413 //#define GAMMAP_INVA_FUNCTION_TO_TEST boost::math::gamma_p_inva
414 //#define GAMMAQ_INVA_FUNCTION_TO_TEST boost::math::gamma_q_inva
416 //#define SN_FUNCTION_TO_TEST boost::math::jacobi_sn
417 //#define CN_FUNCTION_TO_TEST boost::math::jacobi_cn
418 //#define DN_FUNCTION_TO_TEST boost::math::jacobi_dn
419 //#define JACOBI_ZETA_FUNCTION_TO_TEST boost::math::jacobi_zeta
421 //#define LAGUERRE_FUNCTION_TO_TEST boost::math::laguerre
422 //#define ASSOC_LAGUERRE_FUNCTION_TO_TEST boost::math::laguerre
424 //#define LEGENDRE_P_FUNCTION_TO_TEST boost::math::legendre_p
425 //#define LEGENDRE_Q_FUNCTION_TO_TEST boost::math::legendre_q
426 //#define LEGENDRE_PA_FUNCTION_TO_TEST boost::math::legendre_p
436 //#define TGAMMA_RATIO_FUNCTION_TO_TEST boost::math::tgamma_ratio
437 //#define TGAMMA_DELTA_RATIO_FUNCTION_TO_TEST boost::math::tgamma_delta_ratio
441 //#define ZETA_FUNCTION_TO_TEST boost::math::zeta
443 //#define SQRT1PM1_FUNCTION_TO_TEST boost::math::sqrt1pm1
444 //#define POWM1_FUNCTION_TO_TEST boost::math::powm1
445 //#define OWENS_T_FUNCTION_TO_TEST boost::math::owens_t
446 //#define SPHERICAL_HARMONIC_R_FUNCTION_TO_TEST boost::math::spherical_harmonic_r
447 //#define SPHERICAL_HARMONIC_I_FUNCTION_TO_TEST boost::math::spherical_harmonic_i
542 //#define ERF_INV_FUNCTION_TO_TEST boost::math::erf_inv
543 //#define ERFC_INV_FUNCTION_TO_TEST boost::math::erfc_inv
547 //#define TGAMMA1PM1_FUNCTION_TO_TEST boost::math::tgamma1pm1
551 //#define BESSEL_IP_FUNCTION_TO_TEST boost::math::cyl_bessel_i_prime
552 //#define BESSEL_IPN_FUNCTION_TO_TEST boost::math::cyl_bessel_i_prime
555 //#define BESSEL_JS_FUNCTION_TO_TEST boost::math::sph_bessel
556 //#define BESSEL_JP_FUNCTION_TO_TEST boost::math::cyl_bessel_j_prime
557 //#define BESSEL_JPN_FUNCTION_TO_TEST boost::math::cyl_bessel_j_prime
558 //#define BESSEL_JPS_FUNCTION_TO_TEST boost::math::sph_bessel_prime
559 //#define BESSEL_K_FUNCTION_TO_TEST boost::math::cyl_bessel_k
561 //#define BESSEL_KP_FUNCTION_TO_TEST boost::math::cyl_bessel_k_prime
562 //#define BESSEL_KPN_FUNCTION_TO_TEST boost::math::cyl_bessel_k_prime
563 //#define BESSEL_Y_FUNCTION_TO_TEST boost::math::cyl_neumann
565 //#define BESSEL_YS_FUNCTION_TO_TEST boost::math::sph_neumann
566 //#define BESSEL_YP_FUNCTION_TO_TEST boost::math::cyl_neumann_prime
567 //#define BESSEL_YNP_FUNCTION_TO_TEST boost::math::cyl_neumann_prime
568 //#define BESSEL_YSP_FUNCTION_TO_TEST boost::math::sph_neumann_prime
571 //#define BINOMIAL_FUNCTION_TO_TEST boost::math::binomial_coefficient<T>
573 //#define ELLINT_RC_FUNCTION_TO_TEST boost::math::ellint_rc
574 //#define ELLINT_RD_FUNCTION_TO_TEST boost::math::ellint_rd
575 //#define ELLINT_RF_FUNCTION_TO_TEST boost::math::ellint_rf
576 //#define ELLINT_RG_FUNCTION_TO_TEST boost::math::ellint_rg
577 //#define ELLINT_RJ_FUNCTION_TO_TEST boost::math::ellint_rj
586 //#define ELLINT_3_FUNCTION_TO_TEST boost::math::ellint_3
587 //#define ELLINT_3C_FUNCTION_TO_TEST boost::math::ellint_3
588 //#define ELLINT_D2_FUNCTION_TO_TEST boost::math::ellint_d
589 //#define ELLINT_D1_FUNCTION_TO_TEST boost::math::ellint_d
594 //#define HERMITE_FUNCTION_TO_TEST boost::math::hermite
595 //#define HEUMAN_LAMBDA_FUNCTION_TO_TEST boost::math::heuman_lambda
598 //#define BETAC_INC_FUNCTION_TO_TEST boost::math::betac
600 //#define IBETAC_FUNCTION_TO_TEST boost::math::ibetac
602 //#define IBETAC_INV_FUNCTION_TO_TEST boost::math::ibetac_inv
603 //#define IBETA_INVA_FUNCTION_TO_TEST boost::math::ibeta_inva
604 //#define IBETAC_INVA_FUNCTION_TO_TEST boost::math::ibetac_inva
605 //#define IBETA_INVB_FUNCTION_TO_TEST boost::math::ibeta_invb
606 //#define IBETAC_INVB_FUNCTION_TO_TEST boost::math::ibetac_invb
608 //#define IGAMMA_FUNCTION_TO_TEST boost::math::tgamma
609 //#define IGAMMAL_FUNCTION_TO_TEST boost::math::tgamma_lower
612 //#define GAMMAP_INV_FUNCTION_TO_TEST boost::math::gamma_p_inv
614 //#define GAMMAP_INVA_FUNCTION_TO_TEST boost::math::gamma_p_inva
615 //#define GAMMAQ_INVA_FUNCTION_TO_TEST boost::math::gamma_q_inva
625 #include <boost/math/distributions/non_central_beta.hpp>
626 #include <boost/math/distributions/non_central_chi_squared.hpp>
627 #include <boost/math/distributions/non_central_t.hpp>
631 #define LOG1P_FUNCTION_TO_TEST boost::math::log1p
632 #define EXPM1_FUNCTION_TO_TEST boost::math::expm1
634 #define CBRT_FUNCTION_TO_TEST boost::math::cbrt
635 #define ERF_FUNCTION_TO_TEST boost::math::erf
636 #define ERFC_FUNCTION_TO_TEST boost::math::erfc
637 #define ERF_INV_FUNCTION_TO_TEST boost::math::erf_inv
638 #define ERFC_INV_FUNCTION_TO_TEST boost::math::erfc_inv
640 #define LGAMMA_FUNCTION_TO_TEST boost::math::lgamma
641 #define TGAMMA_FUNCTION_TO_TEST boost::math::tgamma
642 #define TGAMMA1PM1_FUNCTION_TO_TEST boost::math::tgamma1pm1
644 #define BESSEL_I_FUNCTION_TO_TEST boost::math::cyl_bessel_i
645 #define BESSEL_IN_FUNCTION_TO_TEST boost::math::cyl_bessel_i
646 #define BESSEL_IP_FUNCTION_TO_TEST boost::math::cyl_bessel_i_prime
647 #define BESSEL_IPN_FUNCTION_TO_TEST boost::math::cyl_bessel_i_prime
648 #define BESSEL_J_FUNCTION_TO_TEST boost::math::cyl_bessel_j
649 #define BESSEL_JN_FUNCTION_TO_TEST boost::math::cyl_bessel_j
650 #define BESSEL_JS_FUNCTION_TO_TEST boost::math::sph_bessel
651 #define BESSEL_JP_FUNCTION_TO_TEST boost::math::cyl_bessel_j_prime
652 #define BESSEL_JPN_FUNCTION_TO_TEST boost::math::cyl_bessel_j_prime
653 #define BESSEL_JPS_FUNCTION_TO_TEST boost::math::sph_bessel_prime
654 #define BESSEL_K_FUNCTION_TO_TEST boost::math::cyl_bessel_k
655 #define BESSEL_KN_FUNCTION_TO_TEST boost::math::cyl_bessel_k
656 #define BESSEL_KP_FUNCTION_TO_TEST boost::math::cyl_bessel_k_prime
657 #define BESSEL_KPN_FUNCTION_TO_TEST boost::math::cyl_bessel_k_prime
658 #define BESSEL_Y_FUNCTION_TO_TEST boost::math::cyl_neumann
659 #define BESSEL_YN_FUNCTION_TO_TEST boost::math::cyl_neumann
660 #define BESSEL_YS_FUNCTION_TO_TEST boost::math::sph_neumann
661 #define BESSEL_YP_FUNCTION_TO_TEST boost::math::cyl_neumann_prime
662 #define BESSEL_YNP_FUNCTION_TO_TEST boost::math::cyl_neumann_prime
663 #define BESSEL_YSP_FUNCTION_TO_TEST boost::math::sph_neumann_prime
665 #define BETA_FUNCTION_TO_TEST boost::math::beta
666 #define BINOMIAL_FUNCTION_TO_TEST boost::math::binomial_coefficient<T>
668 #define ELLINT_RC_FUNCTION_TO_TEST boost::math::ellint_rc
669 #define ELLINT_RD_FUNCTION_TO_TEST boost::math::ellint_rd
670 #define ELLINT_RF_FUNCTION_TO_TEST boost::math::ellint_rf
671 #define ELLINT_RG_FUNCTION_TO_TEST boost::math::ellint_rg
672 #define ELLINT_RJ_FUNCTION_TO_TEST boost::math::ellint_rj
674 #define DIGAMMA_FUNCTION_TO_TEST boost::math::digamma
676 #define ELLINT_1_FUNCTION_TO_TEST boost::math::ellint_1
677 #define ELLINT_1C_FUNCTION_TO_TEST boost::math::ellint_1
678 #define ELLINT_2_FUNCTION_TO_TEST boost::math::ellint_2
679 #define ELLINT_2C_FUNCTION_TO_TEST boost::math::ellint_2
680 #define ELLINT_3_FUNCTION_TO_TEST boost::math::ellint_3
681 #define ELLINT_3C_FUNCTION_TO_TEST boost::math::ellint_3
682 #define ELLINT_D2_FUNCTION_TO_TEST boost::math::ellint_d
683 #define ELLINT_D1_FUNCTION_TO_TEST boost::math::ellint_d
685 #define EI_FUNCTION_TO_TEST boost::math::expint
686 #define EN_FUNCTION_TO_TEST boost::math::expint
688 #define HERMITE_FUNCTION_TO_TEST boost::math::hermite
689 #define HEUMAN_LAMBDA_FUNCTION_TO_TEST boost::math::heuman_lambda
691 #define BETA_INC_FUNCTION_TO_TEST boost::math::beta
692 #define BETAC_INC_FUNCTION_TO_TEST boost::math::betac
693 #define IBETA_FUNCTION_TO_TEST boost::math::ibeta
694 #define IBETAC_FUNCTION_TO_TEST boost::math::ibetac
695 #define IBETA_INV_FUNCTION_TO_TEST boost::math::ibeta_inv
696 #define IBETAC_INV_FUNCTION_TO_TEST boost::math::ibetac_inv
697 #define IBETA_INVA_FUNCTION_TO_TEST boost::math::ibeta_inva
698 #define IBETAC_INVA_FUNCTION_TO_TEST boost::math::ibetac_inva
699 #define IBETA_INVB_FUNCTION_TO_TEST boost::math::ibeta_invb
700 #define IBETAC_INVB_FUNCTION_TO_TEST boost::math::ibetac_invb
702 #define IGAMMA_FUNCTION_TO_TEST boost::math::tgamma
703 #define IGAMMAL_FUNCTION_TO_TEST boost::math::tgamma_lower
704 #define GAMMAP_FUNCTION_TO_TEST boost::math::gamma_p
705 #define GAMMAQ_FUNCTION_TO_TEST boost::math::gamma_q
706 #define GAMMAP_INV_FUNCTION_TO_TEST boost::math::gamma_p_inv
707 #define GAMMAQ_INV_FUNCTION_TO_TEST boost::math::gamma_q_inv
708 #define GAMMAP_INVA_FUNCTION_TO_TEST boost::math::gamma_p_inva
709 #define GAMMAQ_INVA_FUNCTION_TO_TEST boost::math::gamma_q_inva
711 #define SN_FUNCTION_TO_TEST boost::math::jacobi_sn
712 #define CN_FUNCTION_TO_TEST boost::math::jacobi_cn
713 #define DN_FUNCTION_TO_TEST boost::math::jacobi_dn
714 #define JACOBI_ZETA_FUNCTION_TO_TEST boost::math::jacobi_zeta
716 #define LAGUERRE_FUNCTION_TO_TEST boost::math::laguerre
717 #define ASSOC_LAGUERRE_FUNCTION_TO_TEST boost::math::laguerre
719 #define LEGENDRE_P_FUNCTION_TO_TEST boost::math::legendre_p
720 #define LEGENDRE_Q_FUNCTION_TO_TEST boost::math::legendre_q
721 #define LEGENDRE_PA_FUNCTION_TO_TEST boost::math::legendre_p
723 #define POLYGAMMA_FUNCTION_TO_TEST boost::math::polygamma
724 #define TGAMMA_RATIO_FUNCTION_TO_TEST boost::math::tgamma_ratio
725 #define TGAMMA_DELTA_RATIO_FUNCTION_TO_TEST boost::math::tgamma_delta_ratio
726 #define SIN_PI_RATIO_FUNCTION_TO_TEST boost::math::sin_pi
727 #define COS_PI_RATIO_FUNCTION_TO_TEST boost::math::cos_pi
728 #define TRIGAMMA_RATIO_FUNCTION_TO_TEST boost::math::trigamma
729 #define ZETA_FUNCTION_TO_TEST boost::math::zeta
731 #define SQRT1PM1_FUNCTION_TO_TEST boost::math::sqrt1pm1
732 #define POWM1_FUNCTION_TO_TEST boost::math::powm1
733 #define OWENS_T_FUNCTION_TO_TEST boost::math::owens_t
734 #define SPHERICAL_HARMONIC_R_FUNCTION_TO_TEST boost::math::spherical_harmonic_r
735 #define SPHERICAL_HARMONIC_I_FUNCTION_TO_TEST boost::math::spherical_harmonic_i
737 template <class T> T do_nc_beta_cdf(T a, T b, T nc, T x){ return cdf(boost::math::non_central_beta_… in do_nc_beta_cdf()
738 template <class T> T do_nc_beta_ccdf(T a, T b, T nc, T x){ return cdf(complement(boost::math::non_c… in do_nc_beta_ccdf()
739 template <class T> T do_nc_chi_squared_cdf(T df, T nc, T x){ return cdf(boost::math::non_central_ch… in do_nc_chi_squared_cdf()
740 template <class T> T do_nc_chi_squared_ccdf(T df, T nc, T x){ return cdf(complement(boost::math::no… in do_nc_chi_squared_ccdf()
741 template <class T> T do_nc_t_cdf(T df, T nc, T x){ return cdf(boost::math::non_central_t_distributi… in do_nc_t_cdf()
742 template <class T> T do_nc_t_ccdf(T df, T nc, T x){ return cdf(complement(boost::math::non_central_… in do_nc_t_ccdf()