File: mdarray

package info (click to toggle)
ucblogo 6.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,584 kB
  • sloc: ansic: 17,658; cpp: 5,302; makefile: 190; perl: 3
file content (9 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
MDARRAY sizelist					(library procedure)
(MDARRAY sizelist origin)

	outputs a multi-dimensional array.  The first input must be a list
	of one or more positive integers.  The second input, if present,
	must be a single integer that applies to every dimension of the array.
	Ex: (MDARRAY [3 5] 0) outputs a two-dimensional array whose members
	range from [0 0] to [2 4].