Any hint on how to do this?:

type parms 
     r::Vector{Float64}
    K::Vector{Float64}
end

r=rand(N)*(0.05-0.001)+0.001
K=rand(N)*100+1

p=Vector{parms}

p[1]=parms(r,K)
p[2]=parms(r,K)
etc....

I get error:


no method setindex!(Type{Array{parms,1}}, parms, Int64)
while loading In[36], in expression starting on line 1


Many thanks

Reply via email to