LinAlgFunctions | R Documentation |
A select few functions to make constructing and calculating the determinant of tridiagnonal matrices more efficient.
tridiag(a, b, c)
det.tridiag(x)
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. |
To be completed later.
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.