forsythe: Create Forsythe matrix or perturbed Jordan block

View source: R/forsythe.R

forsytheR Documentation

Create Forsythe matrix or perturbed Jordan block

Description

Returns a n-by-n matrix equal to the Jordan block with eigenvalue lambda, except that A[n,1]=alpha.

Usage

forsythe(n, alpha = .Machine$double.eps, lambda = 0)

Arguments

n

order of matrix

alpha

value of perturbation at A[n,1]

lambda

eigenvalue of Jordan block

Value

Forsythe matrix or perturbed Jordan block


gallery documentation built on Sept. 26, 2024, 5:07 p.m.