Well, * works with numerics

julia> A = [1:5]
5-element Array{Int64,1}:
 1
 2
 3
 4
 5
julia> A *3
5-element Array{Int64,1}:
  3
  6
  9
 12
 15

And for strings, the following works:

julia> VA
3-element Array{ASCIIString,1}:
 "A"
 "B"
 "C"
julia> VB = ["a", "b", "c"]
3-element Array{ASCIIString,1}:
 "a"
 "b"
 "c"
julia> VA .* VB
3-element Array{ASCIIString,1}:
 "Aa"
 "Bb"
 "Cc"

So likewise, it is better that VA * "T" should work too.

Reply via email to