10 #ifndef EIGEN_INVERSE_H 11 #define EIGEN_INVERSE_H 15 template<
typename XprType,
typename StorageKind>
class InverseImpl;
19 template<
typename XprType>
21 :
traits<typename XprType::PlainObject>
23 typedef typename XprType::PlainObject PlainObject;
42 template<
typename XprType>
46 typedef typename XprType::StorageIndex StorageIndex;
47 typedef typename XprType::PlainObject PlainObject;
53 explicit EIGEN_DEVICE_FUNC
Inverse(
const XprType &xpr)
57 EIGEN_DEVICE_FUNC
Index rows()
const {
return m_xpr.rows(); }
58 EIGEN_DEVICE_FUNC
Index cols()
const {
return m_xpr.cols(); }
60 EIGEN_DEVICE_FUNC
const XprTypeNestedCleaned& nestedExpression()
const {
return m_xpr; }
67 template<
typename XprType,
typename StorageKind>
73 typedef typename XprType::Scalar Scalar;
77 Scalar coeff(
Index i)
const;
92 template<
typename ArgType>
94 :
public evaluator<typename Inverse<ArgType>::PlainObject>
97 typedef typename InverseType::PlainObject PlainObject;
103 : m_result(inv_xpr.rows(), inv_xpr.cols())
105 ::new (static_cast<Base*>(
this)) Base(m_result);
106 internal::call_assignment_no_alias(m_result, inv_xpr);
110 PlainObject m_result;
117 #endif // EIGEN_INVERSE_H
Definition: CoreEvaluators.h:90
Definition: CoreEvaluators.h:65
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:85
const unsigned int RowMajorBit
for a matrix, this means that the storage order is row-major.
Definition: Constants.h:61
Expression of the inverse of another expression.
Definition: Inverse.h:43
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:33
Definition: BandTriangularSolver.h:13
Definition: XprHelper.h:481
const unsigned int EvalBeforeNestingBit
means the expression should be evaluated by the calling expression
Definition: Constants.h:65
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition: CwiseUnaryOp.h:55
Definition: ForwardDeclarations.h:17