pub fn energy<T: Num>(p: R, m: T) -> T
Relativistic energy.
As a function of the momentum p and mass m, sqrt(p^2 + m^2).
p
m
sqrt(p^2 + m^2)