SymmetricMatrixToFilteredGraph(A,m,s):: Mat, Int, Rat --> FilteredGraph
SymmetricMatrixToFilteredGraph(A,m):: Mat, Int --> FilteredGraph

Inputs an n \times n symmetric matrix A, a positive integer m and a positive rational s. The function returns a filtered graph of filtration length m. The t-th term of the filtration is a graph with n vertices and an edge between the i-th and j-th vertices if the (i,j) entry of A is less than or equal to t \times s/m.

If the optional input s is omitted then it is set equal to the largest entry in the matrix A.