sub2ind(dims::Tuple{Vararg{Integer}}, I::Integer...)
sub2ind{T<:Integer}(dims::Tuple{Vararg{Integer}}, I::AbstractArray{T<:Integer,1}...)
parameterdetailsdims::Tuple{Vararg{Integer}}size of the arrayI::Integer...subscripts(scalar) of the arrayI::AbstractArray{T<:Integer,1}...subscr...