Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ erfcx_cody_middle()

double stan::math::opencl_kernels::erfcx_cody_middle ( double  y)

Cody (1969) second-interval rational, for 0.46875 <= x <= 4.

Yields erfcx directly: the exponential is cancelled analytically, so there is no exp and no erfc call.

Parameters
yargument
Returns
scaled complementary error function

Definition at line 104 of file erfcx.hpp.