LinAlgFunctions: Linear Algebra Functions

LinAlgFunctionsR Documentation

Linear Algebra Functions

Description

\loadmathjax

A select few functions to make constructing and calculating the determinant of tridiagnonal matrices more efficient.

Usage

tridiag(a, b, c)

det.tridiag(x)

Arguments

a

A vector of size n, whose entries will form a diagonal. No default value.

b

A vector of size n-1, whose entries will form a sub-diagonal. No default value.

c

A vector of size n-1, whose entries will form a super-diagonal. Defaults is c = b.

x

A square matrix.

Details

To be completed later.

Examples

tridiag(c(1, 2, 3, 4), c(5, 6, 7), c(8, 9, 10))
tridiag(c(1, 2, 3), c(4, 5), c(6, 7))


ctgrubb/lemur.pack documentation built on May 7, 2023, 4:13 a.m.