Skip to main content

rot_cols

Function rot_cols 

Source
fn rot_cols<T: Real>(
    data: &mut [T],
    rows: usize,
    i: usize,
    j: usize,
    r: (usize, usize),
    c: T,
    s: T,
)
Expand description

Rotate columns i, j of a column-major array with rows rows over the rows r0..r1: (x, y) ← (c x + s y, c y − s x) (LAPACK drot).