MOAB  4.9.3pre
Eigen::internal::scalar_conj_product_op< LhsScalar, RhsScalar > Struct Template Reference

Template functor to compute the conjugate product of two scalars. More...

#include <BinaryFunctors.h>

List of all members.

Public Types

enum  { Conj = NumTraits<LhsScalar>::IsComplex }
typedef scalar_product_traits
< LhsScalar, RhsScalar >
::ReturnType 
result_type

Public Member Functions

EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
result_type 
operator() (const LhsScalar &a, const RhsScalar &b) const
template<typename Packet >
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
Packet 
packetOp (const Packet &a, const Packet &b) const

Detailed Description

template<typename LhsScalar, typename RhsScalar>
struct Eigen::internal::scalar_conj_product_op< LhsScalar, RhsScalar >

Template functor to compute the conjugate product of two scalars.

This is a short cut for conj(x) * y which is needed for optimization purpose; in Eigen2 support mode, this becomes x * conj(y)

Definition at line 87 of file BinaryFunctors.h.


Member Typedef Documentation

template<typename LhsScalar , typename RhsScalar >
typedef scalar_product_traits<LhsScalar,RhsScalar>::ReturnType Eigen::internal::scalar_conj_product_op< LhsScalar, RhsScalar >::result_type

Definition at line 93 of file BinaryFunctors.h.


Member Enumeration Documentation

template<typename LhsScalar , typename RhsScalar >
anonymous enum
Enumerator:
Conj 

Definition at line 89 of file BinaryFunctors.h.

       {
    Conj = NumTraits<LhsScalar>::IsComplex
  };

Member Function Documentation

template<typename LhsScalar , typename RhsScalar >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type Eigen::internal::scalar_conj_product_op< LhsScalar, RhsScalar >::operator() ( const LhsScalar &  a,
const RhsScalar &  b 
) const [inline]

Definition at line 96 of file BinaryFunctors.h.

  { return conj_helper<LhsScalar,RhsScalar,Conj,false>().pmul(a,b); }
template<typename LhsScalar , typename RhsScalar >
template<typename Packet >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::scalar_conj_product_op< LhsScalar, RhsScalar >::packetOp ( const Packet &  a,
const Packet &  b 
) const [inline]

Definition at line 100 of file BinaryFunctors.h.

  { return conj_helper<Packet,Packet,Conj,false>().pmul(a,b); }

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines