Searched refs:inv_erf (Results 1 – 3 of 3) sorted by relevance
340 float inv_erf = erf_inv(b); in sample_slope() local341 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()
23 inv_erf = np.sign(z) * np.sqrt( np.sqrt(b**2 - ln1z2/a) - b )24 return np.sqrt(2) * inv_erf
109 float inv_erf = fast_ierff(b); in microfacet_beckmann_sample_slopes() local110 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()