Here is a good answer from another thread. Basically you can put the definition into a module.
module myModule
mutable struct myTest
arr::Array{Float64, 1} # arr is an array
myTest(eqs::Array{Float64,1}) = new(eqs)
end
end
Here is a good answer from another thread. Basically you can put the definition into a module.
module myModule
mutable struct myTest
arr::Array{Float64, 1} # arr is an array
myTest(eqs::Array{Float64,1}) = new(eqs)
end
end