10 #ifndef EIGEN_INVERSE_H
11 #define EIGEN_INVERSE_H
17 template<
typename XprType,
typename StorageKind>
class InverseImpl;
21 template<
typename XprType>
22 struct traits<Inverse<XprType> >
23 : traits<typename XprType::PlainObject>
25 typedef typename XprType::PlainObject PlainObject;
26 typedef traits<PlainObject> BaseTraits;
44 template<
typename XprType>
49 typedef typename XprType::Scalar
Scalar;
52 typedef typename internal::ref_selector<Inverse>::type
Nested;
69 template<
typename XprType,
typename StorageKind>
71 :
public internal::generic_xpr_base<Inverse<XprType> >::type
74 typedef typename internal::generic_xpr_base<Inverse<XprType> >::type
Base;
75 typedef typename XprType::Scalar
Scalar;
94 template<
typename ArgType>
95 struct unary_evaluator<
Inverse<ArgType> >
96 :
public evaluator<typename Inverse<ArgType>::PlainObject>
99 typedef typename InverseType::PlainObject PlainObject;
100 typedef evaluator<PlainObject> Base;
104 unary_evaluator(
const InverseType& inv_xpr)
105 : m_result(inv_xpr.
rows(), inv_xpr.
cols())
107 internal::construct_at<Base>(
this, m_result);
112 PlainObject m_result;
RowXpr row(Index i)
This is the const version of row(). */.
ColXpr col(Index i)
This is the const version of col().
#define EIGEN_DEVICE_FUNC
Scalar coeff(Index row, Index col) const
internal::generic_xpr_base< Inverse< XprType > >::type Base
Scalar coeff(Index i) const
Expression of the inverse of another expression.
internal::ref_selector< XprType >::type XprTypeNested
XprType::StorageIndex StorageIndex
EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
internal::ref_selector< Inverse >::type Nested
EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
const XprTypeNestedCleaned & nestedExpression() const
internal::remove_all_t< XprTypeNested > XprTypeNestedCleaned
internal::remove_all_t< XprType > NestedExpression
Inverse(const XprType &xpr)
const unsigned int EvalBeforeNestingBit
const unsigned int RowMajorBit
EIGEN_CONSTEXPR void call_assignment_no_alias(Dst &dst, const Src &src, const Func &func)
typename remove_all< T >::type remove_all_t
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.