Function qcd_sme::common::energy

source ·
pub fn energy<T: Num>(p: R, m: T) -> T
Expand description

Relativistic energy.

As a function of the momentum p and mass m, sqrt(p^2 + m^2).