Higher level compute_SOS

This commit is contained in:
kalmarek 2017-10-27 18:33:18 +02:00
parent 96ce02852f
commit 4ae2c617cb
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ function compute_SOS(Q::AbstractArray, pm::Array{Int,2}, l::Int)
return result
end
function compute_SOS(Q::AbstractArray, RG::GroupRing, l::Int)
result = compute_SOS(Q, RG.pm, l)
return GroupRingElem(result, RG)
end
function distance_to_cone{S<:Interval}(elt::GroupRingElem, Q::AbstractArray{S,2}, wlen::Int)