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

#include <BinaryFunctors.h>

+ Inheritance diagram for Eigen::internal::bind2nd_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 bind2nd_op (const second_argument_type &val)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const first_argument_type &a) const
 
template<typename Packet >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp (const Packet &a) const
 

Public Attributes

second_argument_type m_value
 

Member Typedef Documentation

◆ first_argument_type

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

◆ result_type

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

◆ second_argument_type

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

Constructor & Destructor Documentation

◆ bind2nd_op()

template<typename BinaryOp >
EIGEN_DEVICE_FUNC Eigen::internal::bind2nd_op< BinaryOp >::bind2nd_op ( const second_argument_type val)
inlineexplicit
743 : m_value(val) {}
val
Definition: calibrate.py:119
second_argument_type m_value
Definition: BinaryFunctors.h:754

Member Function Documentation

◆ operator()()

template<typename BinaryOp >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type Eigen::internal::bind2nd_op< BinaryOp >::operator() ( const first_argument_type a) const
inline
745  {
746  return BinaryOp::operator()(a, m_value);
747  }
const Scalar * a
Definition: level2_cplx_impl.h:32

References a, and Eigen::internal::bind2nd_op< BinaryOp >::m_value.

◆ packetOp()

template<typename BinaryOp >
template<typename Packet >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::bind2nd_op< BinaryOp >::packetOp ( const Packet a) const
inline
750  {
751  return BinaryOp::packetOp(a, internal::pset1<Packet>(m_value));
752  }

References a, and Eigen::internal::bind2nd_op< BinaryOp >::m_value.

Member Data Documentation

◆ m_value


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