Skip to main content

swap_blocks

Function swap_blocks 

Source
pub(crate) fn swap_blocks<T: Real>(
    t: &mut DenseBlock<T>,
    z: &mut DenseBlock<T>,
    j: usize,
    n1: usize,
    n2: usize,
    o: &SchurOptions<T>,
) -> bool
Expand description

Algorithm SW: swap the adjacent blocks at j of sizes n1, n2. Returns false (nothing modified) when SW3 refuses.