angular_momentum_kernel

Function angular_momentum_kernel 

Source
pub fn angular_momentum_kernel(
    radius: &CausalMultiVector<f64>,
    momentum: &CausalMultiVector<f64>,
) -> Result<PhysicalVector, PhysicsError>
Expand description

Calculates angular momentum as the outer product of radius and linear momentum: $L = r \wedge p$.

§Arguments

  • radius - Position vector.
  • momentum - Linear momentum vector ($p = mv$).

§Returns

  • Result<PhysicalVector, PhysicsError> - The angular momentum bivector.