In [1]:
Array(Int, 6)


Out[1]:
6-element Array{Int64,1}:
           8589934594
           2147483649
                    0
                    0
 -9223372002495037440
          34359738376

In [2]:
Matrix{6}


Out[2]:
Array{6,2}

In [3]:
?Matrix


search: Matrix BitMatrix DenseMatrix SparseMatrix SharedMatrix SparseMatrixCSC

Out[3]:

No documentation found.

Base.Matrix is of type TypeConstructor:

Summary:

immutable TypeConstructor <: Type{T}

Fields:

parameters :: SimpleVector
body       :: Any

In [4]:
Array{6, 2}


Out[4]:
Array{6,2}

In [5]:
?size


search: size sizeof sizehint sizehint! Csize_t resize! filesize Cssize_t

Out[5]:
size(A, [dim...])

Returns a tuple containing the dimensions of A. Optionally you can specify the dimension(s) you want the length of, and get the length of that dimension, or a tuple of the lengths of dimensions you asked for.:

julia> A = rand(2,3,4);

julia> size(A, 2)
3

julia> size(A,3,2)
(4,3)

In [11]:
A = Array{6, 2}


Out[11]:
Array{6,2}

In [13]:
size(A, 2)


LoadError: MethodError: `size` has no method matching size(::Type{Array{6,2}}, ::Int64)
Closest candidates are:
  size(::Any, ::Integer, !Matched::Integer, !Matched::Integer...)
  size(!Matched::Tuple, ::Any)
  size(!Matched::Number, ::Any)
  ...
while loading In[13], in expression starting on line 1

In [ ]: