cycol {gallery}R Documentation

Create matrix A whose columns repeat cyclically

Description

Returns an n-by-n matrix with cyclically repeating columns where one cycle consists of the columns defined by randn(n,k). Thus, the rank of matrix A cannot exceed k, and k must be scalar.

Usage

cycol(n, k, m = NULL)

Arguments

n

number of columns of matrix

k

upper limit of rank

m

number of rows of matrix

Value

Matrix whose columns repeat cyclically


[Package gallery version 1.0.0 Index]