circulant: Form a symmetric circulant matrix

View source: R/circulant.R

circulantR 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)

fastmatrix documentation built on Oct. 12, 2023, 5:14 p.m.