Skip to content

Commit

Permalink
Allow SetLl to return all possible L without specific ending value
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglw0521 committed Jan 24, 2025
1 parent 977a738 commit 4e124ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/obsolete/O3_alternative.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ function SetLl(l::SVector{N,Int64}, L::Int64) where N
return T.(set)
end

SetLl(l::SVector{N,Int64}) where N = union([SetLl(l, L) for L in 0:sum(l)]...)

function Sn(nn,ll)
# should assert that lexicographical order
N = length(ll)
Expand Down

0 comments on commit 4e124ac

Please sign in to comment.