WPILibC++ 2023.4.3
|
Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector. More...
Public Types | |
typedef CwiseUnaryViewImpl< ViewOp, MatrixType, typenameinternal::traits< MatrixType >::StorageKind >::Base | Base |
typedef internal::ref_selector< MatrixType >::non_const_type | MatrixTypeNested |
typedef internal::remove_all< MatrixType >::type | NestedExpression |
Public Types inherited from Eigen::CwiseUnaryViewImpl< ViewOp, MatrixType, internal::traits< MatrixType >::StorageKind > | |
typedef internal::generic_xpr_base< CwiseUnaryView< ViewOp, MatrixType > >::type | Base |
Public Member Functions | |
EIGEN_DEVICE_FUNC | CwiseUnaryView (MatrixType &mat, const ViewOp &func=ViewOp()) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
EIGEN_DEVICE_FUNC const ViewOp & | functor () const |
EIGEN_DEVICE_FUNC const internal::remove_all< MatrixTypeNested >::type & | nestedExpression () const |
EIGEN_DEVICE_FUNC internal::remove_reference< MatrixTypeNested >::type & | nestedExpression () |
Protected Attributes | |
MatrixTypeNested | m_matrix |
ViewOp | m_functor |
Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector.
ViewOp | template functor implementing the view |
MatrixType | the type of the matrix we are applying the unary operator |
This class represents a lvalue expression of a generic unary view operator of a matrix or a vector. It is the return type of real() and imag(), and most of the time this is the only way it is used.
typedef CwiseUnaryViewImpl<ViewOp,MatrixType,typenameinternal::traits<MatrixType>::StorageKind>::Base Eigen::CwiseUnaryView< ViewOp, MatrixType >::Base |
typedef internal::ref_selector<MatrixType>::non_const_type Eigen::CwiseUnaryView< ViewOp, MatrixType >::MatrixTypeNested |
typedef internal::remove_all<MatrixType>::type Eigen::CwiseUnaryView< ViewOp, MatrixType >::NestedExpression |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |