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

RWSymFact<T>

Module:  Linear Algebra   Group:  Factorization classes


Does not inherit

Local Index

Members

Non-Members

Synopsis

#include <rw/lapack/symfct.h>

RWSymFact<double> LU2(B);       // B is a RWSymMat<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 RWSymFact<T> encapsulates factorizations of symmetric matrices. Provided the matrix being factored is nonsingular, the resulting factorization can always be used to solve a system of equations.

Example

Public Constructors

RWSymFact();
RWSymFact(const RWSymMat<float>& A, bool ec=true);

Public Member Functions

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

Global Functions

float       
condition
(const RWSymFact<float>& A); double
condition(const RWSymFact<double>& A); double
condition(const RWSymFact<DComplex>& A);
T       
determinant(const RWSymFact<T>& A);
RWSymFact<T>          
inverse(const RWSymFact<T>&);
RWMathVec<T>
solve (const RWMAthVec<T>& b);
RWMathVec<T>      
solve(const RWSymFact<T>& A, const RWMathVec<T>& b);
RWGenMat<T>       
solve(const RWSymFact<T>& A, const RWGenMat<T>& B);


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.