scsolver::numeric::mxhelper Namespace Reference


Typedefs

typedef
bnu::matrix_range
< bnu::matrix
< double > > 
MxRange
typedef
bnu::matrix_row
< bnu::matrix
< double > > 
MxRow
typedef
bnu::matrix_column
< bnu::matrix
< double > > 
MxColumn

Functions

void print (const bnu::matrix< double > &mx)
bool isRowEmpty (const bnu::matrix< double > &A, size_t nRowId)
bool isColumnEmpty (const bnu::matrix< double > &A, size_t nColId)
void swapRows (bnu::matrix< double > &A, size_t nRow1, size_t nRow2)
void factorize (const bnu::matrix< double > &mxA, bnu::matrix< double > &mxL, bnu::matrix< double > &mxU, bnu::matrix< double > &mxP)
void inverseU (const bnu::matrix< double > &mxU, bnu::matrix< double > &mxUInv)
void inverseL (const bnu::matrix< double > &mxL, bnu::matrix< double > &mxLInv)
void inverse (const bnu::matrix< double > &mxA, bnu::matrix< double > &mxInv)


Typedef Documentation

typedef bnu::matrix_column< bnu::matrix<double> > scsolver::numeric::mxhelper::MxColumn

Definition at line 98 of file matrix.cxx.

typedef bnu::matrix_range< bnu::matrix<double> > scsolver::numeric::mxhelper::MxRange

Definition at line 96 of file matrix.cxx.

typedef bnu::matrix_row< bnu::matrix<double> > scsolver::numeric::mxhelper::MxRow

Definition at line 97 of file matrix.cxx.


Function Documentation

void scsolver::numeric::mxhelper::factorize ( const bnu::matrix< double > &  mxA,
bnu::matrix< double > &  mxL,
bnu::matrix< double > &  mxU,
bnu::matrix< double > &  mxP 
)

Definition at line 133 of file matrix.cxx.

References swapRows().

Referenced by inverse().

void scsolver::numeric::mxhelper::inverse ( const bnu::matrix< double > &  mxA,
bnu::matrix< double > &  mxInv 
)

Computes an inverse matrix of an arbitrary matrix.

Parameters:
mxA original matrix
mxInv inverse matrix ( reference variable )

Definition at line 345 of file matrix.cxx.

References factorize(), inverseL(), and inverseU().

Referenced by scsolver::numeric::Matrix::inverse().

void scsolver::numeric::mxhelper::inverseL ( const bnu::matrix< double > &  mxL,
bnu::matrix< double > &  mxLInv 
)

Definition at line 304 of file matrix.cxx.

Referenced by inverse().

void scsolver::numeric::mxhelper::inverseU ( const bnu::matrix< double > &  mxU,
bnu::matrix< double > &  mxUInv 
)

Definition at line 263 of file matrix.cxx.

Referenced by inverse().

bool scsolver::numeric::mxhelper::isColumnEmpty ( const bnu::matrix< double > &  A,
size_t  nColId 
)

Definition at line 113 of file matrix.cxx.

Referenced by scsolver::numeric::Matrix::isColumnEmpty().

bool scsolver::numeric::mxhelper::isRowEmpty ( const bnu::matrix< double > &  A,
size_t  nRowId 
)

Definition at line 100 of file matrix.cxx.

Referenced by scsolver::numeric::Matrix::isRowEmpty().

void scsolver::numeric::mxhelper::print ( const bnu::matrix< double > &  mx  ) 

Definition at line 83 of file matrix.cxx.

void scsolver::numeric::mxhelper::swapRows ( bnu::matrix< double > &  A,
size_t  nRow1,
size_t  nRow2 
)

Definition at line 126 of file matrix.cxx.

Referenced by factorize().


Generated on Mon Jul 28 09:13:51 2008 for scsolver by  doxygen 1.5.3