Array
Applies to: general, cpp, fortran
An array is an ordered, indexed collection of elements of the same type, stored contiguously so element access
is O(1). Indexing is usually zero-based (C++, Python) but one-based in Fortran.
a = [10, 20, 30]
a[0] # 10 (first element)
len(a) # 3
See also: loop, std-vector, numpy-array