[Jprogramming] {. y produces an array.
Raul Miller
rauldmiller at gmail.com
Thu Oct 20 22:04:00 HKT 2011
On Thu, Oct 20, 2011 at 9:43 AM, Viktor Cerovski
<viktor.cerovski at gmail.com> wrote:
> Henry Rich wrote:
>>
>> Point of nomenclature: every noun has a shape. All shapes are lists.
>> The shape of an atom is an empty list.
>>
>> (also, all nouns are arrays, ecch)
>>
> Statements like "all nouns are arrays" is hard to make precise
> due to the dynamic typing of J.
An array is a region of computer memory whose interpretation (and, if
we exclude things like sparse arrays, its size) is determined by its
shape and its type.
A shape is a list of non-negative integers whose product is the number
of elements in an array.
To make this precise you have to enumerate those types...
--
Raul
More information about the Programming
mailing list