MOAB  4.9.3pre
Eigen::internal::linspaced_op< Scalar, PacketType, RandomAccess > Struct Template Reference

#include <NullaryFunctors.h>

List of all members.

Public Member Functions

 linspaced_op (const Scalar &low, const Scalar &high, Index num_steps)
template<typename Index >
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
Scalar 
operator() (Index i) const
template<typename Index >
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
Scalar 
operator() (Index row, Index col) const
template<typename Index , typename Packet >
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
Packet 
packetOp (Index i) const
template<typename Index , typename Packet >
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
Packet 
packetOp (Index row, Index col) const

Public Attributes

const linspaced_op_impl
< Scalar, PacketType,(NumTraits
< Scalar >::IsInteger?true:RandomAccess),
NumTraits< Scalar >::IsInteger > 
impl

Detailed Description

template<typename Scalar, typename PacketType, bool RandomAccess>
struct Eigen::internal::linspaced_op< Scalar, PacketType, RandomAccess >

Definition at line 139 of file NullaryFunctors.h.


Constructor & Destructor Documentation

template<typename Scalar , typename PacketType , bool RandomAccess>
Eigen::internal::linspaced_op< Scalar, PacketType, RandomAccess >::linspaced_op ( const Scalar &  low,
const Scalar &  high,
Index  num_steps 
) [inline]

Definition at line 141 of file NullaryFunctors.h.

    : impl((num_steps==1 ? high : low),high,num_steps)
  {}

Member Function Documentation

template<typename Scalar , typename PacketType , bool RandomAccess>
template<typename Index >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::linspaced_op< Scalar, PacketType, RandomAccess >::operator() ( Index  i) const [inline]

Definition at line 146 of file NullaryFunctors.h.

{ return impl(i); }
template<typename Scalar , typename PacketType , bool RandomAccess>
template<typename Index >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::linspaced_op< Scalar, PacketType, RandomAccess >::operator() ( Index  row,
Index  col 
) const [inline]

Definition at line 151 of file NullaryFunctors.h.

  {
    eigen_assert(col==0 || row==0);
    return impl(col + row);
  }
template<typename Scalar , typename PacketType , bool RandomAccess>
template<typename Index , typename Packet >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::linspaced_op< Scalar, PacketType, RandomAccess >::packetOp ( Index  i) const [inline]

Definition at line 158 of file NullaryFunctors.h.

{ return impl.packetOp(i); }
template<typename Scalar , typename PacketType , bool RandomAccess>
template<typename Index , typename Packet >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::linspaced_op< Scalar, PacketType, RandomAccess >::packetOp ( Index  row,
Index  col 
) const [inline]

Definition at line 163 of file NullaryFunctors.h.

  {
    eigen_assert(col==0 || row==0);
    return impl.packetOp(col + row);
  }

Member Data Documentation

template<typename Scalar , typename PacketType , bool RandomAccess>
const linspaced_op_impl<Scalar,PacketType,(NumTraits<Scalar>::IsInteger?true:RandomAccess),NumTraits<Scalar>::IsInteger> Eigen::internal::linspaced_op< Scalar, PacketType, RandomAccess >::impl

Definition at line 174 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