Function rin::math::linalg::balancing::balance_parlett_reinsch [−][src]
pub fn balance_parlett_reinsch<N, D>(
m: &mut Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer> where
N: RealField,
D: Dim,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
Applies in-place a modified Parlett and Reinsch matrix balancing with 2-norm to the matrix m
and returns
the corresponding diagonal transformation.
See https://arxiv.org/pdf/1401.5766.pdf