Fn_inv

Functions

template<typename T1 >
arma_inline const Op< T1, op_invinv (const Base< typename T1::elem_type, T1 > &X, const typename arma_blas_type_only< typename T1::elem_type >::result *junk=0)
 delayed matrix inverse
template<typename T1 >
arma_inline const T1 & inv (const Op< T1, op_inv > &X)
 remove the inverse operation if applied twice consecutively

Function Documentation

template<typename T1 >
arma_inline const Op<T1, op_inv> inv ( const Base< typename T1::elem_type, T1 > &  X,
const typename arma_blas_type_only< typename T1::elem_type >::result *  junk = 0 
) [inline]

delayed matrix inverse

Definition at line 26 of file fn_inv.hpp.

References Base< elem_type, derived >::get_ref().

00027   {
00028   arma_extra_debug_sigprint();
00029   
00030   return Op<T1, op_inv>(X.get_ref());
00031   }

template<typename T1 >
arma_inline const T1& inv ( const Op< T1, op_inv > &  X  )  [inline]

remove the inverse operation if applied twice consecutively

Definition at line 39 of file fn_inv.hpp.

References Op< T1, op_type >::m.

00040   {
00041   arma_extra_debug_sigprint();
00042   
00043   return X.m;
00044   }