10#ifndef EIGEN_CWISE_UNARY_VIEW_H
11#define EIGEN_CWISE_UNARY_VIEW_H
30template<
typename ViewOp,
typename MatrixType>
37 typedef typename MatrixType::Nested MatrixTypeNested;
45 InnerStrideAtCompileTime = MatrixTypeInnerStride == Dynamic
55template<
typename ViewOp,
typename MatrixType,
typename StorageKind>
58template<
typename ViewOp,
typename MatrixType>
68 : m_matrix(
mat), m_functor(func) {}
72 EIGEN_STRONG_INLINE Index rows()
const {
return m_matrix.rows(); }
73 EIGEN_STRONG_INLINE Index cols()
const {
return m_matrix.cols(); }
92template<
typename ViewOp,
typename XprType,
typename StorageKind>
100template<
typename ViewOp,
typename MatrixType>
109 EIGEN_DENSE_PUBLIC_INTERFACE(
Derived)
113 EIGEN_DEVICE_FUNC inline const Scalar* data()
const {
return &(this->coeff(0)); }
Definition CwiseUnaryView.h:95
Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector.
Definition CwiseUnaryView.h:60
const internal::remove_all< typenameMatrixType::Nested >::type & nestedExpression() const
Definition CwiseUnaryView.h:80
const ViewOp & functor() const
Definition CwiseUnaryView.h:76
internal::remove_all< typenameMatrixType::Nested >::type & nestedExpression()
Definition CwiseUnaryView.h:84
Pseudo expression representing a solving operation.
Definition Solve.h:63
const unsigned int DirectAccessBit
Means that the underlying array of coefficients can be directly accessed as a plain strided array.
Definition Constants.h:149
const unsigned int LvalueBit
Means the expression has a coeffRef() method, i.e.
Definition Constants.h:138
const unsigned int RowMajorBit
for a matrix, this means that the storage order is row-major.
Definition Constants.h:61
The type used to identify a dense storage.
Definition Constants.h:490
Definition XprHelper.h:428
Definition XprHelper.h:445
Definition DenseCoeffsBase.h:631
Definition XprHelper.h:628
Definition DenseCoeffsBase.h:643
Definition ForwardDeclarations.h:17