|  |  |  |  | 
         
          |  |  |  | 
         
          |  |  TridiagonalMatrix.m - Tridiagonal Matrix Routines
 
  |  | 
        
          |  |  |  | 
         
          |  |  
 | Organization: | Technische Universität München | 
 | Department: | Physik-Department T30 | 
  |  | 
        
          |  |  |  | 
         
          |  |  2003-04-07
 
  |  | 
        
          |  |  |  | 
         
          |  |  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.
 
  |  | 
        
          |  |  |  | 
         
          |  |  
  |  | 
        
          |  |  |  | 
         
          |  |  tridiagonal matrix, diagonals, Compile, inlining
 
  |  | 
        
          |  |  |  | 
         
          |  |  
  |  | 
        
          |  |  |  | 
         
          |  |  
 |  | Compile.m (3.9 KB) - Mathematica Package |  |  | TridiagonalMatrix.m (7.3 KB) - Mathematica Package | 
  |  |