mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-12-26 18:40:29 +01:00
remove products from main file
This commit is contained in:
parent
9b8c3722b3
commit
af87477068
@ -2,15 +2,6 @@ using JuMP
|
|||||||
import Base: rationalize
|
import Base: rationalize
|
||||||
using GroupAlgebras
|
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)
|
function create_product_matrix(basis, limit)
|
||||||
product_matrix = zeros(Int, (limit,limit))
|
product_matrix = zeros(Int, (limit,limit))
|
||||||
|
Loading…
Reference in New Issue
Block a user