Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Matrix Manipulation
Topic: Sorting and Counting
See also: [] dot list size

Function: {}
Description: {} gives an element of a list.

Usage: y = x{n}
Input:
x list
n integer, number of an element of x
Output:
y element of x with number n

Note:

Example:



x1=#(1,3)~#(3,1)

x2=4:6

y=list(x1,x2)

y{1}

Result:



Contents of x1

[1,]     1     3 

[2,]     3     1 


Group: Matrix Manipulation
Topic: Sorting and Counting
See also: [] dot list size

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 21.9.2000