Eigen::internal::scalar_conjugate_op< Scalar > Struct Template Reference

Template functor to compute the conjugate of a complex value. More...

#include <UnaryFunctors.h>

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar &a) const
 
template<typename Packet >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp (const Packet &a) const
 

Detailed Description

template<typename Scalar>
struct Eigen::internal::scalar_conjugate_op< Scalar >

Template functor to compute the conjugate of a complex value.

See also
class CwiseUnaryOp, MatrixBase::conjugate()

Member Function Documentation

◆ operator()()

template<typename Scalar >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_conjugate_op< Scalar >::operator() ( const Scalar a) const
inline
133 { return numext::conj(a); }
AnnoyingScalar conj(const AnnoyingScalar &x)
Definition: AnnoyingScalar.h:133
const Scalar * a
Definition: level2_cplx_impl.h:32

References a, and conj().

◆ packetOp()

template<typename Scalar >
template<typename Packet >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::scalar_conjugate_op< Scalar >::packetOp ( const Packet a) const
inline
135  {
136  return internal::pconj(a);
137  }
EIGEN_STRONG_INLINE Packet2cf pconj(const Packet2cf &a)
Definition: AltiVec/Complex.h:268

References a, and Eigen::internal::pconj().


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