1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-26 02:30:29 +01:00

remove products from main file

This commit is contained in:
kalmar 2017-03-13 11:16:07 +01:00
parent 9b8c3722b3
commit af87477068

View File

@ -2,15 +2,6 @@ using JuMP
import Base: rationalize
using GroupAlgebras
function products{T}(U::AbstractVector{T}, V::AbstractVector{T})
result = Vector{T}()
for u in U
for v in V
push!(result, u*v)
end
end
return unique(result)
end
function create_product_matrix(basis, limit)
product_matrix = zeros(Int, (limit,limit))