Skip to content

Commit fc6ba78

Browse files
authored
update eigs by eigvals in description
1 parent 9f2e1df commit fc6ba78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/linalg/spectral.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ by vertex. Default values for `T` are the same as those in
111111
Converts the matrix to dense with ``nv^2`` memory usage.
112112
113113
### Implementation Notes
114-
Use `eigs(laplacian_matrix(g); kwargs...)` to compute some of the
114+
Use `eigvals(Matrix(laplacian_matrix(g, args...)))` to compute some of the
115115
eigenvalues/eigenvectors.
116116
"""
117117
laplacian_spectrum(g::AbstractGraph, T::DataType=Int; dir::Symbol=:unspec) = eigvals(Matrix(laplacian_matrix(g, T; dir=dir)))
@@ -130,7 +130,7 @@ by vertex. Default values for `T` are the same as those in
130130
Converts the matrix to dense with ``nv^2`` memory usage.
131131
132132
### Implementation Notes
133-
Use `eigs(adjacency_matrix(g); kwargs...)` to compute some of the
133+
Use `eigvals(Matrix(adjacency_matrix(g, args...)))` to compute some of the
134134
eigenvalues/eigenvectors.
135135
"""
136136
function adjacency_spectrum(g::AbstractGraph, T::DataType=Int; dir::Symbol=:unspec)

0 commit comments

Comments
 (0)