Functions

Fn_inv

//! More...

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

Detailed Description

//!


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 
)

delayed matrix inverse

Definition at line 26 of file fn_inv.hpp.

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

  {
  arma_extra_debug_sigprint();
  
  return Op<T1, op_inv>(X.get_ref());
  }

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

remove the inverse operation if applied twice consecutively

Definition at line 39 of file fn_inv.hpp.

References Op< T1, op_type >::m.

  {
  arma_extra_debug_sigprint();
  
  return X.m;
  }