move include after type definitions
This commit is contained in:
parent
1468ac209c
commit
f2ffc142f7
25
Orb_AutFN.jl
25
Orb_AutFN.jl
@ -6,21 +6,9 @@ using GroupRings
|
|||||||
using PropertyT
|
using PropertyT
|
||||||
|
|
||||||
using ValidatedNumerics
|
using ValidatedNumerics
|
||||||
|
|
||||||
import Nemo: Group, GroupElem
|
|
||||||
using ArgParse
|
using ArgParse
|
||||||
|
|
||||||
include("OrbitDecomposition.jl")
|
import Nemo: Group, GroupElem
|
||||||
|
|
||||||
immutable OrbitData
|
|
||||||
name::String
|
|
||||||
Us::Vector
|
|
||||||
Ps::Vector{Array{JuMP.Variable,2}}
|
|
||||||
cnstr::Vector
|
|
||||||
laplacian::Vector
|
|
||||||
laplacianSq::Vector
|
|
||||||
dims::Vector{Int}
|
|
||||||
end
|
|
||||||
|
|
||||||
immutable Settings
|
immutable Settings
|
||||||
name::String
|
name::String
|
||||||
@ -34,6 +22,17 @@ immutable Settings
|
|||||||
tol::Float64
|
tol::Float64
|
||||||
end
|
end
|
||||||
|
|
||||||
|
immutable OrbitData
|
||||||
|
name::String
|
||||||
|
Us::Vector
|
||||||
|
Ps::Vector{Array{JuMP.Variable,2}}
|
||||||
|
cnstr::Vector
|
||||||
|
laplacian::Vector
|
||||||
|
laplacianSq::Vector
|
||||||
|
dims::Vector{Int}
|
||||||
|
end
|
||||||
|
|
||||||
|
include("OrbitDecomposition.jl")
|
||||||
function sparsify{T}(U::Array{T}, eps=eps(T))
|
function sparsify{T}(U::Array{T}, eps=eps(T))
|
||||||
n = rank(U)
|
n = rank(U)
|
||||||
W = deepcopy(U)
|
W = deepcopy(U)
|
||||||
|
Loading…
Reference in New Issue
Block a user