Matlab Dirichlet kernel equivalent in Python?
Question:
Is there an equivalent in Python for Matlab diric? The Dirichlet kernel DL(ω) is: DL(ω) = sin(ωL/2) / sin (ω/2)
I found scipy.stats.Dirichlet, but that’s not related. That’s no big deal to write the expanded form, but there is a limit to manage: DL(0) = L.
Answers:
Is there an equivalent in Python for Matlab diric? The Dirichlet kernel DL(ω) is: DL(ω) = sin(ωL/2) / sin (ω/2)
I found scipy.stats.Dirichlet, but that’s not related. That’s no big deal to write the expanded form, but there is a limit to manage: DL(0) = L.