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: multi
See also: zeros matrix

Macro: ones
Description: creating a n x d dimensional matrix of ones

Usage: x = ones(n,d)
Input:
n integer, number of rows
d integer, number of columns
Output:
x n x d matrix of ones

Example:
library("multi")
ones(2,3)
Result:

[1,]   1   1   1 
[2,]   1   1   1 

Library: multi
See also: zeros matrix

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: Christian Hafner, Sperlich 971023
(C) MD*TECH Method and Data Technologies, 28.6.1999