Go to the documentation of this file.
10 #ifndef EIGEN_CWISE_UNARY_VIEW_H
11 #define EIGEN_CWISE_UNARY_VIEW_H
16 template<
typename ViewOp,
typename MatrixType>
31 InnerStrideAtCompileTime = MatrixTypeInnerStride ==
Dynamic
41 template<
typename ViewOp,
typename MatrixType,
typename StorageKind>
57 template<
typename ViewOp,
typename MatrixType>
68 : m_matrix(
mat), m_functor(func) {}
76 const ViewOp&
functor()
const {
return m_functor; }
92 template<
typename ViewOp,
typename XprType,
typename StorageKind>
100 template<
typename ViewOp,
typename MatrixType>
112 EIGEN_DEVICE_FUNC inline
Scalar* data() {
return &(this->coeffRef(0)); }
113 EIGEN_DEVICE_FUNC
inline const Scalar*
data()
const {
return &(this->coeff(0)); }
128 #endif // EIGEN_CWISE_UNARY_VIEW_H
internal::generic_xpr_base< CwiseUnaryView< ViewOp, XprType > >::type Base
const ViewOp & functor() const
const unsigned int RowMajorBit
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector.
const unsigned int DirectAccessBit
EIGEN_STRONG_INLINE Index cols() const
internal::dense_xpr_base< CwiseUnaryView< ViewOp, MatrixType > >::type Base
#define EIGEN_GENERIC_PUBLIC_INTERFACE(Derived)
internal::remove_reference< MatrixTypeNested >::type & nestedExpression()
const unsigned int LvalueBit
internal::remove_all< MatrixType >::type NestedExpression
EIGEN_DEVICE_FUNC Index innerStride() const
CwiseUnaryView< ViewOp, MatrixType > Derived
#define EIGEN_STRONG_INLINE
result_of< ViewOp(const typename traits< MatrixType >::Scalar &) >::type Scalar
remove_all< MatrixTypeNested >::type _MatrixTypeNested
MatrixType::Nested MatrixTypeNested
CwiseUnaryViewImpl< ViewOp, MatrixType, typename internal::traits< MatrixType >::StorageKind >::Base Base
#define EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Derived)
const internal::remove_all< MatrixTypeNested >::type & nestedExpression() const
const EIGEN_DEVICE_FUNC Scalar * data() const
MatrixTypeNested m_matrix
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
EIGEN_DEVICE_FUNC Index outerStride() const
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:05:44