triDiagonal: Tridiagonal Matrix Functions

Description Usage Arguments Value

Description

Functions to create forms of tridiagonal matrix objects.

Usage

1
2
3
4
5
6
7
8
9
triDiag(diagonal, upper, lower, nrow = length(diagonal), ncol = nrow)

triDiag2(diagonal, upper, lower, nrow = length(diagonal), ncol = nrow)

triDiag2S(diagonal, upper, lower, r = length(diagonal))

triDiag3(diagonal, upper, lower, nrow = length(diagonal), ncol = nrow)

triDiag3S(diagonal, upper, lower, r = length(diagonal))

Arguments

diagonal, upper, lower

Numeric data to store in these positions.

nrow, ncol

Number of rows and columns

r

size of square matrix

Value

Tridiagonal matrices, constructed by a variety of computations, as described in the book.


SoDA documentation built on Oct. 28, 2020, 9:07 a.m.