dorr: Create Dorr matrix

View source: R/dorr.R

dorrR Documentation

Create Dorr matrix

Description

Returns a n-by-n row diagonally dominant, tridiagonal matrix that is ill-conditioned for small nonnegative values of theta. The default value of theta is 0.01.

Usage

dorr(n, theta = 0.01)

Arguments

n

order of matrix

theta

determines conditionality. Ill-conditioned when theta is nonnegative.

Value

Dorr matrix of class 'dgcMatrix'.


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