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.

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.

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.

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

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 Jan 11 08:51:41 2008 for IT++ by Doxygen 1.3.9.1