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: {} comp list

Function: size
Description: size gives the number of elements, containing in a list.

Usage: y = size(x)
Input:
x list
Output:
y integer

Note:

Example:

x1=(1:4)'
x2=matrix(2,2)
y=list(x1,x2,(4:6)')
size(y)
Result:

Contents of size
[1,]     3 

Group: Matrix Manipulation
Topic: Sorting and Counting
See also: {} comp list

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, 28.6.1999