We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d2395 commit 016f4efCopy full SHA for 016f4ef
src/Cone/Cone.jl
@@ -249,6 +249,7 @@ blocklengths(d::DuffyCone) = blocklengths(rectspace(d))
249
250
function points(d::Cone,n)
251
N = round(Int,1/3*(-1 + 1/(-1 + 27n + 3sqrt(3)sqrt(n*(-2 + 27n)))^(1/3) + (-1 + 27n + 3sqrt(3)sqrt(n*(-2 + 27n)))^(1/3)),RoundUp)
252
+ M = N(N+1)/2
253
pts = Array{float(eltype(d))}(undef,0)
254
a,b = rectspace(DuffyCone()).spaces
255
for y in points(b,M), x in points(a,N)
0 commit comments