- qspec.p_v ( v , m , relativistic = True )[source]
The momentum $p = \gamma(v)mv$.
- Parameters:
-
- varray_like
The velocity $v$ of a body (m/s).
- marray_like
The mass $m$ of the body (u).
- relativisticbool
The calculation is performed either relativistically (
True) or classically (False). The default isTrue.
- Returns:
-
- pndarray
The momentum $p$ of a body with velocity
vand massm(u m/s).