cycol: Create matrix 'A' whose columns repeat cyclically

View source: R/cycol.R

cycolR 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


tXiao95/gallery documentation built on Aug. 30, 2024, 6:14 a.m.