You have created Vector. I want to create 2D array.

IMO the use of space as hcat is very error prone.
Why dont we use for example "," as hcat? After all you dont need ",", when 
you have ";". Why should we have two ways of doing exactly the same thing?
Same goes for "for i in 1:10" and "for i = 1:10". Both of these have exact 
same speed and memory usage, so why do we need both?  

On Wednesday, June 1, 2016 at 8:56:06 PM UTC+2, Andreas Lobinger wrote:
>
>
>
> On Wednesday, June 1, 2016 at 8:49:44 PM UTC+2, Ford Ox wrote:
>>
>> When we are on this topic
>>
>> Why does
>> [1 + 2]
>> result in
>> [3]
>> instead of
>> [1 + 2]
>>
>>
> well, in v0.5 with the correct element limiter
>                 _
>    _       _ _(_)_     |  A fresh approach to technical computing
>   (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
>    _ _   _| |_  __ _   |  Type "?help" for help.
>   | | | | | | |/ _` |  |
>   | | |_| | | | (_| |  |  Version 0.5.0-dev+4330 (2016-05-26 09:11 UTC)
>  _/ |\__'_|_|_|\__'_|  |  Commit 493157e* (6 days old master)
> |__/                   |  x86_64-linux-gnu
>
> julia> b = [4,+,3]
> 3-element Array{Any,1}:
>  4 
>   +
>  3 
>
> julia> 
>
>
>
>

Reply via email to