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

Library: xplore
See also: diag xdiag matrix unit eye

Quantlet: zeros
Description: Creates an array of zeros.

Usage: x = zeros(d1 {, ..., dn})
Input:
d1, ..., dn integer (number of elements in dimension 1 ... n)
Output:
x d1 x d2 x ... x dn array of zeros

Example:

library("xplore")

zeros(2,3)

Result:



Contents of x   

[1,]   0   0   0 

[2,]   0   0   0 


Library: xplore
See also: diag xdiag matrix unit eye

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

Author: Christopher Kath 970608; Marlene Mueller, 990308
(C) MD*TECH Method and Data Technologies, 21.9.2000