Module utils

Module utils 

Source

Functions§

get_max_degree
get_max_degree Calculates the maximum degree (number of nonzero entries) in the given matrix.
matrix_elementwise_power
Raise matrix elements to a floating point power.
normalize_matrix_columns
Normalize a matrix’ columns.
prune_matrix
Prune matrix’ values below a certain threshold.