R: Form a symmetric circulant matrix

circulant {fastmatrix} | R Documentation

## Form a symmetric circulant matrix

### Description

Forms a symmetric circulant matrix using a backwards shift of its first column

### Usage

    circulant(x)

### Arguments

`x` | the first column to form the circulant matrix.

### Value

A symmetric circulant matrix.

### Examples

    x <- c(2,3,5,7,11,13)
    circulant(x)

[Package fastmatrix version 0.4-1 Index]