Fn_inv


Functions

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

Function Documentation

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

delayed matrix inverse

Definition at line 23 of file fn_inv.hpp.

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

00024   {
00025   arma_extra_debug_sigprint();
00026   
00027   return Op<T1, op_inv>(X.get_ref());
00028   }

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

remove the inverse operation if applied twice consecutively

Definition at line 36 of file fn_inv.hpp.

References Op< T1, op_type >::m.

00037   {
00038   arma_extra_debug_sigprint();
00039   
00040   return X.m;
00041   }