MOAB  4.9.3pre
Eigen::internal::scalar_constant_op< Scalar > Struct Template Reference

#include <NullaryFunctors.h>

List of all members.

Public Member Functions

EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE 
scalar_constant_op (const scalar_constant_op &other)
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE 
scalar_constant_op (const Scalar &other)
template<typename Index >
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
Scalar 
operator() (Index, Index=0) const
template<typename Index , typename PacketType >
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
PacketType 
packetOp (Index, Index=0) const

Public Attributes

const Scalar m_other

Detailed Description

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

Definition at line 18 of file NullaryFunctors.h.


Constructor & Destructor Documentation

template<typename Scalar >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::internal::scalar_constant_op< Scalar >::scalar_constant_op ( const scalar_constant_op< Scalar > &  other) [inline]

Definition at line 19 of file NullaryFunctors.h.

: m_other(other.m_other) { }
template<typename Scalar >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::internal::scalar_constant_op< Scalar >::scalar_constant_op ( const Scalar &  other) [inline]

Definition at line 20 of file NullaryFunctors.h.

: m_other(other) { }

Member Function Documentation

template<typename Scalar >
template<typename Index >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_constant_op< Scalar >::operator() ( Index  ,
Index  = 0 
) const [inline]

Definition at line 22 of file NullaryFunctors.h.

{ return m_other; }
template<typename Scalar >
template<typename Index , typename PacketType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const PacketType Eigen::internal::scalar_constant_op< Scalar >::packetOp ( Index  ,
Index  = 0 
) const [inline]

Definition at line 24 of file NullaryFunctors.h.

{ return internal::pset1<PacketType>(m_other); }

Member Data Documentation

template<typename Scalar >
const Scalar Eigen::internal::scalar_constant_op< Scalar >::m_other

Definition at line 25 of file NullaryFunctors.h.


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