[Jprogramming] The n-cell model of an array
Raul Miller
rauldmiller at gmail.com
Wed Dec 20 14:43:15 UTC 2017
That might be, but that phrasing still doesn't make sense:
*/ ''
1
There's no list result here - that's a rank 0 result.
Thanks,
--
Raul
On Wed, Dec 20, 2017 at 9:41 AM, 'Mike Day' via Programming
<programming at jsoftware.com> wrote:
> I think Erling meant "add" in the sense of appending 1 to the empty list,
> rather than "add" as an arithmetical operation.
>
> That's my n-penny-worth!
>
> Mike
>
>
>
>
> On 20/12/2017 12:25, Raul Miller wrote:
>>
>> You are multiplying, not adding.
>>
>> -- Raul On Wed, Dec 20, 2017 at 3:39 AM, Erling Hellenäs
>> <erling at erlinghellenas.se> wrote:
>>>
>>> */i.0
>>>
>>> 1
>>>
>>> Here the interpreter automatically adds a 1 to get this peculiar result.
>>>
>>> /Erling
>>>
>>> Den 2017-12-19 kl. 20:01, skrev Raul Miller:
>>>>
>>>> An empty tank zero array would be inconsistent.
>>>>
>>>> The number of elements in an array is the product of its dimensions, and
>>>> the multiplicative identity is 1, not 0.
>>>>
>>>> Thanks,
>>>>
>>> ----------------------------------------------------------------------
>>> For information about J forums seehttp://www.jsoftware.com/forums.htm
>>
>> ----------------------------------------------------------------------
>> For information about J forums seehttp://www.jsoftware.com/forums.htm
>
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list