IT++ Logo Newcom Logo

Inverse Matrix


Functions

bool itpp::inv (const mat &X, mat &Y)
 Inverse of real square matrix.
mat itpp::inv (const mat &X)
 Inverse of real square matrix.
bool itpp::inv (const cmat &X, cmat &Y)
 Inverse of complex square matrix.
cmat itpp::inv (const cmat &X)
 Inverse of real square matrix.

Detailed Description


Function Documentation

bool itpp::inv ( const mat X,
mat Y 
)

Inverse of real square matrix.

Calculate the inverse of the real matrix $\mathbf{X}$

Solves the equation system $ \mathbf{Y} \mathbf{X} = \mathbf{I}$ using LU-factorization. IT++ needs to be compiled with the LAPACK for the inverse to be available.

Definition at line 50 of file inv.cpp.

References it_assert1.

Referenced by itpp::inv(), and itpp::is_unitary().

mat itpp::inv ( const mat X  ) 

Inverse of real square matrix.

Calculate the inverse of the real matrix $\mathbf{X}$

Solves the equation system $ \mathbf{Y} \mathbf{X} = \mathbf{I}$ using LU-factorization. IT++ needs to be compiled with LAPACK support for the inverse to be available.

Definition at line 112 of file inv.cpp.

References itpp::inv().

bool itpp::inv ( const cmat X,
cmat Y 
)

Inverse of complex square matrix.

Calculate the inverse of the complex matrix $\mathbf{X}$

Solves the equation system $ \mathbf{Y} \mathbf{X} = \mathbf{I}$ using LU-factorization. IT++ needs to be compiled with LAPACK support for the inverse to be available.

Definition at line 69 of file inv.cpp.

References it_assert1.

cmat itpp::inv ( const cmat X  ) 

Inverse of real square matrix.

Calculate the inverse of the complex matrix $\mathbf{X}$

Solves the equation system $ \mathbf{Y} \mathbf{X} = \mathbf{I}$ using LU-factorization. IT++ needs to be compiled with the LAPACK for the inverse to be available.

Definition at line 104 of file inv.cpp.

References itpp::inv().

SourceForge Logo

Generated on Fri Jun 8 01:07:19 2007 for IT++ by Doxygen 1.5.2