Eigen::internal::bind1st_op< BinaryOp > Struct Template Reference

#include <BinaryFunctors.h>

+ Inheritance diagram for Eigen::internal::bind1st_op< BinaryOp >:

Public Types

typedef BinaryOp::first_argument_type first_argument_type
 
typedef BinaryOp::second_argument_type second_argument_type
 
typedef BinaryOp::result_type result_type
 

Public Member Functions

EIGEN_DEVICE_FUNC bind1st_op (const first_argument_type &val)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const second_argument_type &b) const
 
template<typename Packet >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp (const Packet &b) const
 

Public Attributes

first_argument_type m_value
 

Member Typedef Documentation

◆ first_argument_type

template<typename BinaryOp >
typedef BinaryOp::first_argument_type Eigen::internal::bind1st_op< BinaryOp >::first_argument_type

◆ result_type

template<typename BinaryOp >
typedef BinaryOp::result_type Eigen::internal::bind1st_op< BinaryOp >::result_type

◆ second_argument_type

template<typename BinaryOp >
typedef BinaryOp::second_argument_type Eigen::internal::bind1st_op< BinaryOp >::second_argument_type

Constructor & Destructor Documentation

◆ bind1st_op()

template<typename BinaryOp >
EIGEN_DEVICE_FUNC Eigen::internal::bind1st_op< BinaryOp >::bind1st_op ( const first_argument_type val)
inlineexplicit
721 : m_value(val) {}
val
Definition: calibrate.py:119
first_argument_type m_value
Definition: BinaryFunctors.h:732

Member Function Documentation

◆ operator()()

template<typename BinaryOp >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type Eigen::internal::bind1st_op< BinaryOp >::operator() ( const second_argument_type b) const
inline
723  {
724  return BinaryOp::operator()(m_value, b);
725  }
Scalar * b
Definition: benchVecAdd.cpp:17

References b, and Eigen::internal::bind1st_op< BinaryOp >::m_value.

◆ packetOp()

template<typename BinaryOp >
template<typename Packet >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::bind1st_op< BinaryOp >::packetOp ( const Packet b) const
inline
728  {
729  return BinaryOp::packetOp(internal::pset1<Packet>(m_value), b);
730  }

References b, and Eigen::internal::bind1st_op< BinaryOp >::m_value.

Member Data Documentation

◆ m_value


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