AT.gamma.from.E {libamtrack} | R Documentation |
Returns relativistic gamma
AT.gamma.from.E(E.MeV.u)
E.MeV.u |
vector of energies of particle per nucleon [MeV] (array of
size n) (see also |
gamma |
vector of results (array of size n) |
status |
status |
View the C source code here: http://sourceforge.net/apps/trac/libamtrack/browser/trunk/src/AT_PhysicsRoutines.c#L52
# Compute mass in MeV/c2 for a proton with 1-1000 MeV kinetic energy: 938.3 * AT.gamma.from.E( E.MeV.u = 10^(0:3))$gamma