Home
last modified time | relevance | path

Searched refs:inv_erf (Results 1 – 3 of 3) sorted by relevance

/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/math/
H A Dmicrofacet.cpp340 float inv_erf = erf_inv(b); in sample_slope() local
341 float value = 1.0f + b + K * exp(-square(inv_erf)) - y_exact; in sample_slope()
348 b -= value / (1.0f - inv_erf * tan_theta); in sample_slope()
350 inv_erf = erf_inv(b); in sample_slope()
351 value = 1.0f + b + K * exp(-square(inv_erf)) - y_exact; in sample_slope()
354 b -= value / (1.0f - inv_erf * tan_theta); in sample_slope()
360 slope[0] = inv_erf; in sample_slope()
/dports/science/py-GPy/GPy-1.10.0/GPy/util/
H A Dunivariate_Gaussian.py23 inv_erf = np.sign(z) * np.sqrt( np.sqrt(b**2 - ln1z2/a) - b )
24 return np.sqrt(2) * inv_erf
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/closure/
H A Dbsdf_microfacet.h109 float inv_erf = fast_ierff(b); in microfacet_beckmann_sample_slopes() local
110 float value = 1.0f + b + K * expf(-inv_erf * inv_erf) - y_exact; in microfacet_beckmann_sample_slopes()
115 b -= value / (1.0f - inv_erf * tan_theta_i); /* newton step 1. */ in microfacet_beckmann_sample_slopes()
116 inv_erf = fast_ierff(b); in microfacet_beckmann_sample_slopes()
117 value = 1.0f + b + K * expf(-inv_erf * inv_erf) - y_exact; in microfacet_beckmann_sample_slopes()
118 b -= value / (1.0f - inv_erf * tan_theta_i); /* newton step 2. */ in microfacet_beckmann_sample_slopes()
124 *slope_x = inv_erf; in microfacet_beckmann_sample_slopes()