cppduals  0.5.4
Dual numbers for C++
Public Types | Public Member Functions | Public Attributes | List of all members
duals::CwiseDpartOp< ScalarSrc > Struct Template Reference

Public Types

typedef ScalarDst result_type
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarDst operator() (const ScalarSrc &x) const
 

Public Attributes

decltype(dpart(ScalarSrc())) typedef ScalarDst
 

Detailed Description

template<typename ScalarSrc>
struct duals::CwiseDpartOp< ScalarSrc >

template unary functor to get the dual part of a matrix use it like this: m2 = m1.unaryExpr(CwiseDpartOp<double>()); or just call m2 = dpart(m1);

Definition at line 82 of file dual_eigen.


The documentation for this struct was generated from the following file: