Searched refs:inv_r (Results 1 – 3 of 3) sorted by relevance
986 double sum_pos, sum_neg, inv_r; in solve_nu_svc() local1014 inv_r = 1./_si.r; in solve_nu_svc()1017 alpha[i] *= y[i]*inv_r; in solve_nu_svc()1019 _si.rho *= inv_r; in solve_nu_svc()1020 _si.obj *= (inv_r*inv_r); in solve_nu_svc()1021 _si.upper_bound_p = inv_r; in solve_nu_svc()1022 _si.upper_bound_n = inv_r; in solve_nu_svc()
1072 double inv_r = 1./_si.r; in solve_nu_svc() local1075 _alpha[i] *= _y[i]*inv_r; in solve_nu_svc()1077 _si.rho *= inv_r; in solve_nu_svc()1078 _si.obj *= (inv_r*inv_r); in solve_nu_svc()1079 _si.upper_bound_p = inv_r; in solve_nu_svc()1080 _si.upper_bound_n = inv_r; in solve_nu_svc()
138 double inv_r = r > 1e-8 ? 1.0/r : 1; in projectPoints() local139 double cdist = r > 1e-8 ? theta_d * inv_r : 1; in projectPoints()196 Vec3d dcdistdom = inv_r * (dtheta_ddom - cdist*drdom); in projectPoints()197 Vec3d dcdistdT = inv_r * (dtheta_ddT - cdist*drdT); in projectPoints()198 Vec4d dcdistdk = inv_r * dtheta_ddk; in projectPoints()295 double inv_r = r > 1e-8 ? 1.0/r : 1; in distortPoints() local296 double cdist = r > 1e-8 ? theta_d * inv_r : 1; in distortPoints()