Next: Structures, Previous: Lists, Up: Data Types and Structures [Contents][Index]
Maxima supports 3 array-like constructs:
(%i1) a["feww"]:1; (%o1) 1
(%i2) a[qqwdqwd]:3; (%o2) 3
(%i3) a[5]:99; (%o3) 99
(%i4) a[qqwdqwd]; (%o4) 3
(%i5) a[5]; (%o5) 99
(%i6) a["feww"]; (%o6) 1
Since lisp handles hashed arrays and memoizing functions similar to arrays
many of the functions that can be applied to arrays can be applied to them, as well.
makelist allow for fast addition and removal
of elements, can be created without knowing their final size.
Next: Structures, Previous: Lists, Up: Data Types and Structures [Contents][Index]