Eigen::internal::scalar_inner_product_op< LhsScalar, RhsScalar, Conj > Struct Template Reference

#include <InnerProduct.h>

Public Types

using result_type = typename ScalarBinaryOpTraits< LhsScalar, RhsScalar >::ReturnType
 
using conj_helper = conditional_conj< LhsScalar, Conj >
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type coeff (const LhsScalar &a, const RhsScalar &b) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type coeff (const result_type &accum, const LhsScalar &a, const RhsScalar &b) const
 

Static Public Attributes

static constexpr bool PacketAccess = false
 

Member Typedef Documentation

◆ conj_helper

template<typename LhsScalar , typename RhsScalar , bool Conj>
using Eigen::internal::scalar_inner_product_op< LhsScalar, RhsScalar, Conj >::conj_helper = conditional_conj<LhsScalar, Conj>

◆ result_type

template<typename LhsScalar , typename RhsScalar , bool Conj>
using Eigen::internal::scalar_inner_product_op< LhsScalar, RhsScalar, Conj >::result_type = typename ScalarBinaryOpTraits<LhsScalar, RhsScalar>::ReturnType

Member Function Documentation

◆ coeff() [1/2]

template<typename LhsScalar , typename RhsScalar , bool Conj>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type Eigen::internal::scalar_inner_product_op< LhsScalar, RhsScalar, Conj >::coeff ( const LhsScalar &  a,
const RhsScalar &  b 
) const
inline
200  {
201  return (conj_helper::coeff(a) * b);
202  }
Scalar * b
Definition: benchVecAdd.cpp:17
const Scalar * a
Definition: level2_cplx_impl.h:32

References a, and b.

◆ coeff() [2/2]

template<typename LhsScalar , typename RhsScalar , bool Conj>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type Eigen::internal::scalar_inner_product_op< LhsScalar, RhsScalar, Conj >::coeff ( const result_type accum,
const LhsScalar &  a,
const RhsScalar &  b 
) const
inline
204  {
205  return (conj_helper::coeff(a) * b) + accum;
206  }

References a, and b.

Member Data Documentation

◆ PacketAccess

template<typename LhsScalar , typename RhsScalar , bool Conj>
constexpr bool Eigen::internal::scalar_inner_product_op< LhsScalar, RhsScalar, Conj >::PacketAccess = false
staticconstexpr

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