AT.gamma.from.E {libamtrack}R Documentation

AT.gamma.from.E

Description

Returns relativistic gamma

Usage

AT.gamma.from.E(E.MeV.u)

Arguments

E.MeV.u

vector of energies of particle per nucleon [MeV] (array of size n) (see also E.MeV.u).

Value

gamma

vector of results (array of size n)

status

status

See Also

View the C source code here: http://sourceforge.net/apps/trac/libamtrack/browser/trunk/src/AT_PhysicsRoutines.c#L52

Examples

# 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

[Package libamtrack version 0.6.4 Index]