A vector is a 1-dimensional array, so *Array{element_type,1} *means 
*Vector{element_type}.*

But I would like to suggest that you should *not* collect into an array. 
Just use 
a = 1:10
and use that directly. 1:10 is a Range which again is an *AbstractVector. *Just 
try if you can use that, and if not, do
a = collect(1:10)

(BTW: you don't need, and shouldn't do 1:1:10, use 1:10.)


On Thursday, November 5, 2015 at 2:01:04 PM UTC+1, paul analyst wrote:
>
> If I am new in Julia and strting and reading this about collect:
> *collect(collection) "Return an array of all items in a collection. For 
> associative collections, returns Pair{KeyType, ValType}.*
> *collect(element_type, collection) Return an array of type 
> Array{element_type,1} of all items in a collection."*
>
>
> * Now nothink about vecotrs in manual ! Paul*
>

Reply via email to