pub unsafe fn laswp(
n: usize,
a: &mut [f64],
lda: usize,
k1: i32,
k2: i32,
ipiv: &[i32],
incx: i32,
)Expand description
Performs a series of row interchanges on a matrix.
§Arguments
n- The number of columns of the matrixAto which the interchanges will be applied.a- A mutable slice representing the matrixAin column-major order.lda- The leading dimension ofA, i.e., the stride between consecutive columns.k1- The first element ofipivto be used for interchanges (0-based).k2- The last element ofipivto be used for interchanges (0-based).ipiv- The slice containing the pivot indices. Foriink1..=k2, rowiis swapped with rowipiv[i].incx- The increment between successive values ofipiv. Ifincxis positive, the loop is forward; if negative, it’s backward. If zero, no swaps are performed.