circulant.html 7.76 KB
 Roman Flury committed Sep 16, 2019 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75  Create Circulant Matrices — circulant • spam

Creates a circulant matrix in spam format.

circulant.spam(x, n = NULL, eps = getOption("spam.eps"))

Arguments

x

the first row to form the circulant matrix or a list containing the indices and the nonzero values.

n

if x is a list, the dimension of the matrix.

eps

A tolerance parameter: elements of x such that abs(x) <= eps set to zero. Defaults to eps = getOption("spam.eps")

Value

The circulant matrix in spam format.