10#ifndef EIGEN_INVERSE_H
11#define EIGEN_INVERSE_H
15template<
typename XprType,
typename StorageKind>
class InverseImpl;
19template<
typename XprType>
21 :
traits<typename XprType::PlainObject>
42template<
typename XprType>
47 typedef typename XprType::Scalar
Scalar;
67template<
typename XprType,
typename StorageKind>
73 typedef typename XprType::Scalar
Scalar;
92template<
typename ArgType>
93struct unary_evaluator<
Inverse<ArgType> >
94 :
public evaluator<typename Inverse<ArgType>::PlainObject>
97 typedef typename InverseType::PlainObject PlainObject;
98 typedef evaluator<PlainObject> Base;
102 unary_evaluator(
const InverseType& inv_xpr)
103 : m_result(inv_xpr.
rows(), inv_xpr.
cols())
105 ::new (
static_cast<Base*
>(
this)) Base(m_result);
110 PlainObject m_result;
int i
Definition BiCGSTAB_step_by_step.cpp:9
#define EIGEN_NOEXCEPT
Definition Macros.h:1418
#define EIGEN_CONSTEXPR
Definition Macros.h:787
#define EIGEN_DEVICE_FUNC
Definition Macros.h:976
int rows
Definition Tutorial_commainit_02.cpp:1
int cols
Definition Tutorial_commainit_02.cpp:1
internal::generic_xpr_base< Inverse< XprType > >::type Base
Definition Inverse.h:72
XprType::Scalar Scalar
Definition Inverse.h:73
Expression of the inverse of another expression.
Definition Inverse.h:44
internal::ref_selector< XprType >::type XprTypeNested
Definition Inverse.h:48
EIGEN_DEVICE_FUNC const XprTypeNestedCleaned & nestedExpression() const
Definition Inverse.h:60
XprType::StorageIndex StorageIndex
Definition Inverse.h:46
internal::remove_all< XprType >::type NestedExpression
Definition Inverse.h:51
internal::ref_selector< Inverse >::type Nested
Definition Inverse.h:50
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Definition Inverse.h:58
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Definition Inverse.h:57
XprTypeNested m_xpr
Definition Inverse.h:63
internal::remove_all< XprTypeNested >::type XprTypeNestedCleaned
Definition Inverse.h:49
EIGEN_DEVICE_FUNC Inverse(const XprType &xpr)
Definition Inverse.h:53
XprType::Scalar Scalar
Definition Inverse.h:47
Definition TensorRef.h:81
const unsigned int EvalBeforeNestingBit
Definition Constants.h:70
const unsigned int RowMajorBit
Definition Constants.h:66
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_assignment_no_alias(Dst &dst, const Src &src, const Func &func)
Definition AssignEvaluator.h:873
Namespace containing all symbols from the Eigen library.
Definition bench_norm.cpp:85
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74
Definition BandTriangularSolver.h:13
CwiseBinaryOp< internal::scalar_sum_op< double, double >, const CpyMatrixXd, const CpyMatrixXd > XprType
Definition nestbyvalue.cpp:15
Definition XprHelper.h:501
XprType::PlainObject PlainObject
Definition Inverse.h:23
traits< PlainObject > BaseTraits
Definition Inverse.h:24
Definition ForwardDeclarations.h:17