Mathematica 9 is now available

Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

TridiagonalMatrix.m - Tridiagonal Matrix Routines
Author

Markus Lischka
Organization: Technische Universität München
Department: Physik-Department T30
Revision date

2003-04-07
Description

This package provides routines for tridiagonal matrices. Especially, TridiagonalSolve solves A . x == r for x, where A is an n x n tridiagonal matrix and r is a vector of length n. The routines are carefully tuned for optimal performance. In addition, an extention of the Compile function is provided as a way of "inlining" functions in compiled code.
Subjects

*Mathematica Technology > Kernel > Compiling
*Mathematica Technology > Programming
*Mathematics > Algebra > Linear Algebra
Keywords

tridiagonal matrix, diagonals, Compile, inlining
Related items

*Splines and Tridiagonal Matrix Solutions   [in MathSource: Packages and Programs]
Downloads Download Wolfram CDF Player

Download
Compile.m (3.9 KB) - Mathematica Package
Download
TridiagonalMatrix.m (7.3 KB) - Mathematica Package