Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Linear Algebra Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWTriDiagFact<T>

Module:  Linear Algebra   Group:  Factorization classes


Does not inherit

Local Index

Members

Non-Members

Synopsis

#include <rw/lapack/trdgfct.h>

RWTriDiagFact<double> LU6(F); // F is a RWTriDiagMat<double>

Description

A factorization is a representation of a matrix that can be used to efficiently solve systems of equations, and to compute the inverse, determinant, and condition number of a matrix. The class RWTriDiagFact<T> encapsulates factorizations of tridiagonal matrices. Provided the matrix being factored is nonsingular, the resulting factorization can always be used to solve a system of equations.

Example

Public Constructors

RWGenFact<T>();
RWTriDiagFact();
RWTriDiagFact(const RWTriDiagMat<T>& A, bool ec=true);

Public Member Functions

unsigned    
cols() const;
T  
determinant(const);
void  
factor(const RWTriDiagMat<T>& A, bool void ec=true);
bool    
fail() const; bool
good() const;
bool    
isSingular() const;
unsigned    
rows() const;
RWMathVec<T>
solve(const RWMathVec<T>& b);

Global Functions

float     
condition(const RWTriDiagFact<float>& A); double
condition(const RWTriDiagFact<double>& A); double
condition(const RWTriDiagFact<DComplex>& A);
T       
determinant(const RWTriDiagFact<T>& A);
RWGenMat<T>       solve(const RWGenMat<T>& b);
RWMathVec<T>      solve(const RWTriDiagFact<T>& A, 
                            const RWMathVec<T>& b);
RWGenMat<T>       solve(const RWTriDiagFact<T>& A, 
                            const RWGenMat<T>&);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.