[−]Module argmin::prelude::modcholesky::utils
Utility functions
Functions
diag_mat_from_arr | Builds a diagonal matrix from a 1D slice |
eigenvalues_2x2 | Computes the Eigenvalues of a 2x2 matrix |
index_of_largest | Returns the index of the largest element in a 1D array |
index_of_largest_abs | Returns the index of the element with the largest absolute value in a 1D array |
index_to_permutation_mat | Returns the permutation matrix for a vector of permuted indices |
random_diagonal | Returns a random diagonal matrix with Eigenvalues inbetween |
random_householder | Returns a random Householder matrix of dimension |
swap_columns | Swaps columns |
swap_rows | Swaps rows |