Module utils

Module utils 

Source
Expand description

§Auxiliar functions to manipulate arrays

Functions§

generate_diagonal_dominant
Generate a random highly diagonal symmetric matrix
generate_random_sparse_symmetric
Random Sparse matrix
generate_random_symmetric
Random symmetric matrix
sort_eigenpairs
Sort the eigenvalues and their corresponding eigenvectors in ascending order
sort_vector
test_eigenpairs