IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Meta.Numerics.Matrices.TridiagonalLUDecomposition Class Reference

Represents the LU decomposition of a tridiagonal matrix. More...

Public Member Functions

double Determinant ()
 Computes the determinant of the original matrix. More...
 
ColumnVector Solve (IList< double > rhs)
 Solves a tridiagonal system of linear equations. More...
 
SquareMatrix Inverse ()
 Computes the inverse of the original matrix. More...
 

Properties

int Dimension [get]
 Gets the dimension of the original matrix. More...
 

Private Attributes

int n
 
int[] P
 
int parity
 
double[] L
 
double[] D
 
double[] U
 
double[] V
 

Detailed Description

Represents the LU decomposition of a tridiagonal matrix.

Member Function Documentation

double Meta.Numerics.Matrices.TridiagonalLUDecomposition.Determinant ( )
inline

Computes the determinant of the original matrix.

Returns
The determinant det M.

Referenced by Test.TridiagonalMatrixTest.TridiagonalMatrixLUDecompositionTest().

ColumnVector Meta.Numerics.Matrices.TridiagonalLUDecomposition.Solve ( IList< double >  rhs)
inline

Solves a tridiagonal system of linear equations.

Parameters
rhsThe right-hand side vector b.
Returns
A vector x which satisties Ax = b.

Referenced by Test.TridiagonalMatrixTest.TridiagonalMatrixLUDecompositionTest().

SquareMatrix Meta.Numerics.Matrices.TridiagonalLUDecomposition.Inverse ( )
inline

Computes the inverse of the original matrix.

Returns
The matrix M-1.

Referenced by Test.TridiagonalMatrixTest.TridiagonalMatrixLUDecompositionTest().

Member Data Documentation

int Meta.Numerics.Matrices.TridiagonalLUDecomposition.n
private
int [] Meta.Numerics.Matrices.TridiagonalLUDecomposition.P
private
int Meta.Numerics.Matrices.TridiagonalLUDecomposition.parity
private
double [] Meta.Numerics.Matrices.TridiagonalLUDecomposition.L
private
double [] Meta.Numerics.Matrices.TridiagonalLUDecomposition.D
private
double [] Meta.Numerics.Matrices.TridiagonalLUDecomposition.U
private
double [] Meta.Numerics.Matrices.TridiagonalLUDecomposition.V
private

Property Documentation

int Meta.Numerics.Matrices.TridiagonalLUDecomposition.Dimension
get

Gets the dimension of the original matrix.

Referenced by Test.TridiagonalMatrixTest.TridiagonalMatrixLUDecompositionTest().


The documentation for this class was generated from the following file: