a %*% x = b
for x
,
where a
is tridiagonal and b
can be either a vector or a
matrix.## S3 method for class 'tridiag':
solve(a, b, \dots)
tridiag
object: a square tridiagonal (all zeroes
except for the main diagonal and the diagonals immediately above and
below it) matrix containing the coefficients of the linear system.b
is taken to be an identity matrix
and the function will return the inverse of a
.dgtsv
routine.solve