|
| template<std::size_t N, typename T , typename It > |
| std::pair< T, T > | stan::math::internal::erfcx_tail_polynomials (It p, It q, const T &t) |
| | The two tail polynomials, taking the coefficients in the order the iterators give them as descending powers of t.
|
| |
| template<typename T , std::size_t N> |
| T | stan::math::internal::erfcx_paired_horner (const std::array< double, N > &c, const T &y, const T &y2) |
| | Horner in y^2 over adjacent coefficient pairs, so the two halves of the chain are independent.
|
| |
| double | stan::math::internal::erfcx_cody_tail (double x) |
| | Cody (1969) third-interval rational, valid for x >= 4.
|
| |
| template<typename T > |
| T | stan::math::internal::erfcx_derivative (const T &x, const T &value) |
| | Derivative of erfcx, 2 * x * erfcx(x) - 2 / sqrt(pi).
|
| |
| double | stan::math::internal::erfcx_cody_middle (double y) |
| | Cody (1969) second-interval rational, valid for 0.46875 <= x <= 4.
|
| |
| double | stan::math::internal::erfcx_small (double x) |
| | Degree-18 polynomial for |x| < 0.46875.
|
| |
| template<typename T , require_arithmetic_t< T > * = nullptr> |
| double | stan::math::erfcx (T &&xx) |
| | Return the scaled complementary error function of the argument.
|
| |
| template<typename T , require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr, require_container_t< T > * = nullptr, require_not_var_matrix_t< T > * = nullptr> |
| auto | stan::math::erfcx (T &&x) |
| | Returns the elementwise erfcx() of the input, which may be a scalar or any Stan container of numeric scalars.
|
| |