James, I am specifically interested in the array of arrays case.

Steven, thanks for the insight.

On Sat, Dec 5, 2015, 05:37 James Gilbert <[email protected]> wrote:

> You're making a 2D array, for which there is a dot add method. Chris, the
> OP, is making an array of arrays. I wonder if that is really what he wants?
>
> *julia> **a = fill(1, 5,2)*
>
> *5x2 Array{Int64,2}:*
>
> * 1  1*
>
> * 1  1*
>
> * 1  1*
>
> * 1  1*
>
> * 1  1*
>
>
> *julia> **a + 1*
>
> *5x2 Array{Int64,2}:*
>
> * 2  2*
>
> * 2  2*
>
> * 2  2*
>
> * 2  2*
>
> * 2  2*
>
>

Reply via email to