That looks right as far as I understand.

-Jacob

On Wed, Jun 8, 2016 at 8:42 AM, Islam Badreldin <[email protected]>
wrote:

> Hi
>
> What is the easiest way to initialize NTuple with some constant value?
> Currently I am using
>
> julia> y=ntuple(x->0.0,10)
> (0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0)
>
>
> Is this the only initialization option?
>
> Thanks,
> Islam
>

Reply via email to