Function bevy_rapier2d::prelude::nalgebra::linalg::balancing::unbalance [−][src]
pub fn unbalance<T, D>(
m: &mut Matrix<T, D, D, <DefaultAllocator as Allocator<T, D, D>>::Buffer>,
d: &Matrix<T, D, Const<1_usize>, <DefaultAllocator as Allocator<T, D, Const<1_usize>>>::Buffer>
) where
T: RealField,
D: Dim,
DefaultAllocator: Allocator<T, D, D>,
DefaultAllocator: Allocator<T, D, Const<1_usize>>,
Expand description
Computes in-place D * m * D.inverse()
, where D
is the matrix with diagonal d
.