def rhophi_eta_rhophi_theta(lib, rho1, phi1, eta1, rho2, phi2, theta2): return xy_z_xy_z( lib, x.rhophi(lib, rho1, phi1), y.rhophi(lib, rho1, phi1), z.rhophi_eta(lib, rho1, phi1, eta1), x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), z.rhophi_theta(lib, rho2, phi2, theta2), )
def rhophi_z_rhophi_eta(lib, rho1, phi1, z1, rho2, phi2, eta2): return xy_z_xy_z( lib, x.rhophi(lib, rho1, phi1), y.rhophi(lib, rho1, phi1), z1, x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), z.rhophi_eta(lib, rho2, phi2, eta2), )
def rhophi_eta_t(lib, gamma, rho, phi, eta, t): gam = lib.absolute(gamma) bgam = lib.copysign(lib.sqrt(gam ** 2 - 1), gamma) exx = x.rhophi(lib, rho, phi) why = y.rhophi(lib, rho, phi) zee = z.rhophi_eta(lib, rho, phi, eta) tee = t return (gam * exx + bgam * tee, why, zee, bgam * exx + gam * tee)
def rhophi_z_tau(lib, beta, rho, phi, z, tau): gam = (1 - beta**2)**-0.5 bgam = beta * gam exx = x.rhophi(lib, rho, phi) why = y.rhophi(lib, rho, phi) zee = z tee = t.rhophi_z_tau(lib, rho, phi, z, tau) return (gam * exx + bgam * tee, why, zee, tau)
def rhophi_eta_tau(lib, beta, rho, phi, eta, tau): gam = (1 - beta**2)**-0.5 bgam = beta * gam exx = x.rhophi(lib, rho, phi) why = y.rhophi(lib, rho, phi) zee = z.rhophi_eta(lib, rho, phi, eta) tee = t.rhophi_eta_tau(lib, rho, phi, eta, tau) return (exx, gam * why + bgam * tee, zee, tau)
def rhophi_z_t(lib, beta, rho, phi, z, t): gam = (1 - beta**2)**-0.5 bgam = beta * gam exx = x.rhophi(lib, rho, phi) why = y.rhophi(lib, rho, phi) zee = z tee = t return (exx, gam * why + bgam * tee, zee, bgam * why + gam * tee)
def rhophi_eta_tau(lib, gamma, rho, phi, eta, tau): gam = lib.absolute(gamma) bgam = lib.copysign(lib.sqrt(gam**2 - 1), gamma) exx = x.rhophi(lib, rho, phi) why = y.rhophi(lib, rho, phi) zee = z.rhophi_eta(lib, rho, phi, eta) tee = t.rhophi_eta_tau(lib, rho, phi, eta, tau) return (exx, gam * why + bgam * tee, zee, tau)
def rhophi_z_t(lib, gamma, rho, phi, z, t): gam = lib.absolute(gamma) bgam = lib.copysign(lib.sqrt(gam**2 - 1), gamma) exx = x.rhophi(lib, rho, phi) why = y.rhophi(lib, rho, phi) zee = z tee = t return (exx, gam * why + bgam * tee, zee, bgam * why + gam * tee)
def rhophi_eta_t(lib, beta, rho, phi, eta, t): gam = (1 - beta**2)**-0.5 bgam = beta * gam exx = x.rhophi(lib, rho, phi) why = y.rhophi(lib, rho, phi) zee = z.rhophi_eta(lib, rho, phi, eta) tee = t return (gam * exx + bgam * tee, why, zee, bgam * exx + gam * tee)
def rhophi_z_tau(lib, gamma, rho, phi, z, tau): gam = lib.absolute(gamma) bgam = lib.copysign(lib.sqrt(gam ** 2 - 1), gamma) exx = x.rhophi(lib, rho, phi) why = y.rhophi(lib, rho, phi) zee = z tee = t.rhophi_z_tau(lib, rho, phi, z, tau) return (gam * exx + bgam * tee, why, zee, tau)
def rhophi_eta(lib, angle, rho, phi, eta): return xy_z( lib, angle, x.rhophi(lib, rho, phi), y.rhophi(lib, rho, phi), z.rhophi_eta(lib, rho, phi, eta), )
def xy_z_rhophi_theta(lib, x1, y1, z1, rho2, phi2, theta2): return xy_z_xy_z( lib, x.xy(lib, x1, y1), y.xy(lib, x1, y1), z.xy_z(lib, x1, y1, z1), x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), z.rhophi_theta(lib, rho2, phi2, theta2), )
def rhophi_eta_xy_eta(lib, rho1, phi1, eta1, x2, y2, eta2): return xy_z_xy_z( lib, x.rhophi(lib, rho1, phi1), y.rhophi(lib, rho1, phi1), z.rhophi_eta(lib, rho1, phi1, eta1), x.xy(lib, x2, y2), y.xy(lib, x2, y2), z.xy_eta(lib, x2, y2, eta2), )
def rhophi_z_xy_theta(lib, rho1, phi1, z1, x2, y2, theta2): return xy_z_xy_z( lib, x.rhophi(lib, rho1, phi1), y.rhophi(lib, rho1, phi1), z.rhophi_z(lib, rho1, phi1, z1), x.xy(lib, x2, y2), y.xy(lib, x2, y2), z.xy_theta(lib, x2, y2, theta2), )
def xy_eta_rhophi_eta(lib, x1, y1, eta1, rho2, phi2, eta2): return xy_z_xy_z( lib, x.xy(lib, x1, y1), y.xy(lib, x1, y1), z.xy_eta(lib, x1, y1, eta1), x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), z.rhophi_eta(lib, rho2, phi2, eta2), )
def rhophi_theta_xy_theta(lib, rho1, phi1, theta1, x2, y2, theta2): return xy_z_xy_z( lib, x.rhophi(lib, rho1, phi1), y.rhophi(lib, rho1, phi1), z.rhophi_theta(lib, rho1, phi1, theta1), x2, y2, z.xy_theta(lib, x2, y2, theta2), )
def xy_theta_rhophi_theta(lib, x1, y1, theta1, rho2, phi2, theta2): return xy_theta_xy_theta( lib, x1, y1, theta1, x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), theta2, )
def xy_z_rhophi_eta(lib, x1, y1, z1, rho2, phi2, eta2): return xy_z_xy_z( lib, x1, y1, z1, x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), z.rhophi_eta(lib, rho2, phi2, eta2), )
def xy_theta_rhophi_z(lib, x1, y1, theta1, rho2, phi2, z2): return xy_z_xy_z( lib, x1, y1, z.xy_theta(lib, x1, y1, theta1), x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), z2, )
def rhophi_eta_xy_z(lib, rho1, phi1, eta1, x2, y2, z2): return xy_z_xy_z( lib, x.rhophi(lib, rho1, phi1), y.rhophi(lib, rho1, phi1), z.rhophi_eta(lib, rho1, phi1, eta1), x2, y2, z2, )
def rhophi_eta_xy_theta(lib, rho1, phi1, eta1, x2, y2, theta2): return xy_eta_xy_eta( lib, x.rhophi(lib, rho1, phi1), y.rhophi(lib, rho1, phi1), eta1, x2, y2, eta.xy_theta(lib, x2, y2, theta2), )
def rhophi_theta_xy_theta(lib, rho1, phi1, theta1, x2, y2, theta2): return xy_theta_xy_theta( lib, x.rhophi(lib, rho1, phi1), y.rhophi(lib, rho1, phi1), theta1, x2, y2, theta2, )
def rhophi_z_xy_eta(lib, rho1, phi1, z1, x2, y2, eta2): return xy_z_xy_z( lib, x.rhophi(lib, rho1, phi1), y.rhophi(lib, rho1, phi1), z1, x2, y2, z.xy_eta(lib, x2, y2, eta2), )
def xy_theta_rhophi_eta(lib, x1, y1, theta1, rho2, phi2, eta2): return xy_eta_xy_eta( lib, x1, y1, eta.xy_theta(lib, x1, y1, theta1), x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), eta2, )
def rhophi_xy(lib, rtol, atol, equal_nan, rho1, phi1, x2, y2): return xy_xy( lib, rtol, atol, equal_nan, x.rhophi(lib, rho1, phi1), y.rhophi(lib, rho1, phi1), x2, y2, )
def cartesian_tau_rhophi_eta(lib, x1, y1, z1, tau1, rho2, phi2, eta2): return cartesian_tau( lib, x1, y1, z1, tau1, x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), z.rhophi_eta(lib, rho2, phi2, eta2), )
def cartesian_t_rhophi_theta(lib, x1, y1, z1, t1, rho2, phi2, theta2): return cartesian_t( lib, x1, y1, z1, t1, x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), z.rhophi_theta(lib, rho2, phi2, theta2), )
def xy_rhophi(lib, rtol, atol, equal_nan, x1, y1, rho2, phi2): return xy_xy( lib, rtol, atol, equal_nan, x1, y1, x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), )
def rhophi_eta_xy_eta(lib, rtol, atol, equal_nan, rho1, phi1, eta1, x2, y2, eta2): return xy_eta_xy_eta( lib, rtol, atol, equal_nan, x.rhophi(lib, rho1, phi1), y.rhophi(lib, rho1, phi1), eta1, x2, y2, eta2, )
def xy_z_rhophi_eta(lib, rtol, atol, equal_nan, x1, y1, z1, rho2, phi2, eta2): return xy_z_xy_z( lib, rtol, atol, equal_nan, x1, y1, z1, x.rhophi(lib, rho2, phi2), y.rhophi(lib, rho2, phi2), z.rhophi_eta(lib, rho2, phi2, eta2), )