Flat Array


Flat Array is a
direct subtype of Array
aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa
with functions Flat Array Functions, keys Flat Array keys and example object Matrix

TYPE INCLUSION RELATIONSHIPS

Array

Flat Array

</defs>

AVAILABLE FUNCTIONS

Create

</defs>

AVAILABLE CREATE FUNCTION KEYS

</defs>

TYPICAL OBJECTS OF TYPE Flat Array

Matrix

</defs>

This type represents a one- or two- dimensional array of data.
Objects of this type are treated by Deriscope exceptionally in that the array data - rather than the surrounding key/value pairs - are immediatelly displayed whenever they are encountered.
The display rule is that rows span the first dimension and columns the second.
Thus a single column with N cells represents an array with N elements, each of which is itself an array, albeit with one single element.
Reversely a single row with N cells represents an array with only one element, which is itself an array containing N elements.
If follows that a single column containing any data is regarded as different than a single row containing the same data.
It is possible for some of the top level elements to be empty arrays. These empty arrays are still considered legal elements of the parent array.