That explains why the github page showed the right syntax! *head bump

A

On Tuesday, July 29, 2014 5:10:42 PM UTC+2, Matt Bauman wrote:
>
> That's because Sphinx identifies [] as optional arguments in the 
> ..function macro-thingy, and it does funny re-arrangements with it.  The 
> source is correct; it's the output that is wrong.  It's annoying, but I've 
> not dug into Sphinx enough to determine how we might disable it.
>
> On Tuesday, July 29, 2014 10:24:01 AM UTC-4, John Myles White wrote:
>>
>> Yeah, that’s a typo. Could you fix it?
>>
>>  — John
>>
>> On Jul 29, 2014, at 7:23 AM, Andrei Berceanu <[email protected]> 
>> wrote:
>>
>> nice, ty!
>> btw, the manual at 
>> http://julia.readthedocs.org/en/latest/stdlib/linalg/#Base.repeat says
>>     repeat(*A*, *inner = Int*, []*outer = Int*[])
>> shouldn't that be
>>     repeat(*A*, *inner = Int*[], *outer = Int*[])
>> i.e isn't the comma in the wrong position?
>>
>> On Tuesday, July 29, 2014 4:06:22 PM UTC+2, John Myles White wrote:
>>>
>>> repeat([1, 2, 3], inner = [2]) 
>>>
>>> On Jul 29, 2014, at 7:03 AM, Andrei Berceanu <[email protected]> 
>>> wrote: 
>>>
>>> > Whats the easiest way of going from an array 
>>> >     [1,2,3] -> [1,1,2,2,3,3] 
>>> > i.e. repeating all elements 2 (or more generally, n) times? 
>>> > 
>>> > A 
>>>
>>>
>>

Reply via email to