Logo Search packages:      
Sourcecode: feel++ version File versions  Download package

template<typename _MatrixType>
const ei_solve_retval<FullPivLU,typename MatrixType::IdentityReturnType> FullPivLU< _MatrixType >::inverse (  ) const [inline]
the inverse of the matrix of which *this is the LU decomposition.
If this matrix is not invertible, the returned matrix has undefined coefficients. Use isInvertible() to first determine whether this matrix is invertible.
See also:

Definition at line 373 of file FullPivLU.h.

      ei_assert(m_isInitialized && "LU is not initialized.");
      ei_assert(m_lu.rows() == m_lu.cols() && "You can't take the inverse of a non-square matrix!");
      return ei_solve_retval<FullPivLU,typename MatrixType::IdentityReturnType>
               (*this, MatrixType::Identity(m_lu.rows(), m_lu.cols()));

Generated by  Doxygen 1.6.0   Back to index