Skip to content

UndefVarError in bidrand(d::GaussianLaguerre, n::Int) #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
apkille opened this issue Jun 1, 2025 · 0 comments
Open

UndefVarError in bidrand(d::GaussianLaguerre, n::Int) #95

apkille opened this issue Jun 1, 2025 · 0 comments

Comments

@apkille
Copy link
Contributor

apkille commented Jun 1, 2025

Comes from chi function:

function bidrand(d::GaussianLaguerre, m::Integer)
  if d.a <= d.beta*(m-1)/2.0
      error("Given your choice of m and beta, a must be at least $(d.beta*(m-1)/2.0) (You said a = $(d.a))")
  end
  Bidiagonal([chi(2*d.a-i*d.beta) for i=0:m-1], [chi(d.beta*i) for i=m-1:-1:1], true)
end

Perhaps its from Distributions.jl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant