Module extendr_api::prelude::perm
Expand description
Permutation matrices.
Structs§
- Permutation matrix.
- Immutable permutation matrix view.
Functions§
- Computes a permutation of the columns of the source matrix using the given permutation, and stores the result in the destination matrix.
- Computes a permutation of the columns of the matrix using the given permutation, and stores the result in the same matrix.
- Computes the size and alignment of required workspace for applying a column permutation to a matrix in place.
- Computes a permutation of the rows of the source matrix using the given permutation, and stores the result in the destination matrix.
- Computes a permutation of the rows of the matrix using the given permutation, and stores the result in the same matrix.
- Computes the size and alignment of required workspace for applying a row permutation to a matrix in place.
- Swaps the values in the columns
a
andb
. - Swaps the two columns at indices
a
andb
in the given matrix. - Swaps the values in the rows
a
andb
. - Swaps the two rows at indices
a
andb
in the given matrix.