Skip to main content

inertia_from_params

Function inertia_from_params 

Source
pub fn inertia_from_params<T: Scalar>(p: &[T; 10]) -> SpatialInertia<T>
Expand description

Rebuild a spatial inertia from the canonical 10-vector. Each off-diagonal scalar populates both symmetric entries, so seeding one parameter differentiates with respect to the symmetric pair — the same convention a central difference on the packed scalars probes.