Learn R Programming

gallery (version 1.0.0)

grcar: Create Toeplitz matrix with sensitive eigenvalues

Description

Eigenvalues are sensitive.

Usage

grcar(n, k = NULL)

Value

n-by-n Toeplitz matrix with -1 on subdiagonal, 1 on diagonal, and k superdiagionals of 1s.

Arguments

n

dimension of the square matrix

k

number of superdiagonals of ones