Learn R Programming

gallery (version 1.0.0)

dorr: 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)

Value

Dorr matrix of class 'dgcMatrix'.

Arguments

n

order of matrix

theta

determines conditionality. Ill-conditioned when theta is nonnegative.