1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-24 18:10:29 +01:00

remove old unsed definition for Positive

This commit is contained in:
Marek Kaluba 2022-11-08 12:00:20 +01:00
parent 4e93e78a9b
commit fee9c38537
No known key found for this signature in database
GPG Key ID: 8BF1A3855328FC15

View File

@ -13,16 +13,6 @@ function Roots.Root(s::MatrixGroups.ElementarySymplectic{N}) where {N}
end end
end end
function Roots.positive(
generating_set::AbstractVector{<:MatrixGroups.ElementarySymplectic},
)
r = Roots._positive_direction(Roots.Root(first(generating_set)))
pos_gens = [
s for s in generating_set if s.val > 0.0 && dot(Roots.Root(s), r) 0.0
]
return pos_gens
end
grading(s::MatrixGroups.ElementarySymplectic) = Roots.Root(s) grading(s::MatrixGroups.ElementarySymplectic) = Roots.Root(s)
grading(e::MatrixGroups.ElementaryMatrix) = Roots.Root(e) grading(e::MatrixGroups.ElementaryMatrix) = Roots.Root(e)