quick question: How do I define a type most effective so that I can give it both single values, vectors and Arrays as variables?
I now have:
type x
value::Array{Float64}
end
I can do x(rand(3)) as well as x(rand(3,3)) but not x(0.1)
the answer is probably in the forums but I couldn't construct a good search to
find it :-/
Thanks
