Usage
import from PrimitiveArrayType T
Parameter | Type | Description |
---|---|---|
T | Type | the type of the array entries |
Description
PrimitiveArrayType is the category of primitive arrays whose entries are of type .
Exports
FiniteLinearStructureType T array: (Pointer, Z) % conversion from a C-array new: Z % creation of an array pointer: % Pointer conversion to a C-array resize!: (%, Z, Z) % resize an array sort!: (%, Z, Z, (T, T) Boolean) % sort an array
if has SerializableType then
read: (BinaryReader, Z) % read using binary encoding write: (BinaryWriter, %, Z) BinaryWriter write using binary encoding
if has TotallyOrderedType then
sort!: (%, Z, Z) % sort an array
where
Z == MachineInteger