Go to the documentation of this file.
10 #ifndef EIGEN_SPARSE_CWISE_UNARY_OP_H
11 #define EIGEN_SPARSE_CWISE_UNARY_OP_H
17 template<
typename UnaryOp,
typename ArgType>
28 Flags = XprType::Flags
38 return m_argImpl.nonZerosEstimate();
48 template<
typename UnaryOp,
typename ArgType>
58 :
Base(unaryOp.m_argImpl,outer), m_functor(unaryOp.m_functor)
72 template<
typename ViewOp,
typename ArgType>
83 Flags = XprType::Flags
99 template<
typename ViewOp,
typename ArgType>
109 :
Base(unaryOp.m_argImpl,outer), m_functor(unaryOp.m_functor)
124 template<
typename Derived>
131 for (EvalIterator
i(thisEval,
j);
i; ++
i)
136 template<
typename Derived>
143 for (EvalIterator
i(thisEval,
j);
i; ++
i)
150 #endif // EIGEN_SPARSE_CWISE_UNARY_OP_H
Namespace containing all symbols from the Eigen library.
unary_evaluator(const XprType &op)
EIGEN_STRONG_INLINE Scalar value() const
EIGEN_STRONG_INLINE InnerIterator & operator++()
EIGEN_STRONG_INLINE Scalar & valueRef()
evaluator< ArgType >::InnerIterator EvalIterator
EIGEN_STRONG_INLINE Scalar value() const
Derived & operator*=(const Scalar &other)
Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector.
Derived & operator/=(const Scalar &other)
internal::traits< Derived >::Scalar Scalar
EIGEN_STRONG_INLINE InnerIterator & operator++()
#define EIGEN_STRONG_INLINE
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator++(bfloat16 &a)
An InnerIterator allows to loop over the element of any matrix expression.
evaluator< ArgType > m_argImpl
CwiseUnaryOp< UnaryOp, ArgType > XprType
EIGEN_STRONG_INLINE InnerIterator(const unary_evaluator &unaryOp, Index outer)
Generic expression where a coefficient-wise unary operator is applied to an expression.
evaluator< ArgType > m_argImpl
CwiseUnaryView< ViewOp, ArgType > XprType
EIGEN_STRONG_INLINE InnerIterator(const unary_evaluator &unaryOp, Index outer)
evaluator< ArgType >::InnerIterator EvalIterator
Index nonZerosEstimate() const
unary_evaluator< CwiseUnaryView< ViewOp, ArgType >, IteratorBased >::EvalIterator Base
#define EIGEN_INTERNAL_CHECK_COST_VALUE(C)
unary_evaluator(const XprType &op)
unary_evaluator< CwiseUnaryOp< UnaryOp, ArgType >, IteratorBased >::EvalIterator Base
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:35:40