torque_kernel

Function torque_kernel 

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

Calculates torque as the outer product of radius and force: $\tau = r \wedge F$.

In Geometric Algebra, torque is a bivector representing the plane of rotation.

§Arguments

  • radius - Position vector from pivot.
  • force - Force vector applied.

§Returns

  • Result<PhysicalVector, PhysicsError> - The torque bivector wrapped in a physical vector.