Skip to content

Commit 2a2efcf

Browse files
committed
Change to eigvalrand
1 parent 29759e5 commit 2a2efcf

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/InvariantEnsembles.jl

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
module InvariantEnsembles
2-
using ApproxFun
3-
4-
5-
export spectradatabase,samplespectra
6-
7-
8-
2+
using ApproxFun, RandomMatrices
93

4+
export InvariantEnsemble
105

116

127
## Construct OPs
@@ -174,7 +169,7 @@ end
174169

175170
samplespectra(str::String,n::Integer,m::Integer)=samplespectra(InvariantEnsemble(str,n),m)
176171

177-
function samplespectra(p::InvariantEnsemble,m::Integer)
172+
function RandomMatrices.eigvalrand(p::InvariantEnsemble,m::Integer)
178173
q = p.basis
179174
plan = plan_chebyshevtransform(q[:,1])
180175
pts=chebyshevpoints(size(q,1))

0 commit comments

Comments
 (0)