MOAB  4.9.3pre
Eigen::internal::BlasVectorMapper< Scalar, Index > Class Template Reference

#include <BlasUtil.h>

List of all members.

Public Member Functions

EIGEN_DEVICE_FUNC
EIGEN_ALWAYS_INLINE 
BlasVectorMapper (Scalar *data)
EIGEN_DEVICE_FUNC
EIGEN_ALWAYS_INLINE Scalar 
operator() (Index i) const
template<typename Packet , int AlignmentType>
EIGEN_DEVICE_FUNC
EIGEN_ALWAYS_INLINE Packet 
load (Index i) const
template<typename Packet >
EIGEN_DEVICE_FUNC bool aligned (Index i) const

Protected Attributes

Scalar * m_data

Detailed Description

template<typename Scalar, typename Index>
class Eigen::internal::BlasVectorMapper< Scalar, Index >

Definition at line 124 of file BlasUtil.h.


Constructor & Destructor Documentation

template<typename Scalar , typename Index >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Eigen::internal::BlasVectorMapper< Scalar, Index >::BlasVectorMapper ( Scalar *  data) [inline]

Definition at line 126 of file BlasUtil.h.

: m_data(data) {}

Member Function Documentation

template<typename Scalar , typename Index >
template<typename Packet >
EIGEN_DEVICE_FUNC bool Eigen::internal::BlasVectorMapper< Scalar, Index >::aligned ( Index  i) const [inline]

Definition at line 137 of file BlasUtil.h.

                                                {
    return (size_t(m_data+i)%sizeof(Packet))==0;
  }
template<typename Scalar , typename Index >
template<typename Packet , int AlignmentType>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet Eigen::internal::BlasVectorMapper< Scalar, Index >::load ( Index  i) const [inline]

Definition at line 132 of file BlasUtil.h.

                                                                   {
    return ploadt<Packet, AlignmentType>(m_data + i);
  }
template<typename Scalar , typename Index >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar Eigen::internal::BlasVectorMapper< Scalar, Index >::operator() ( Index  i) const [inline]

Definition at line 128 of file BlasUtil.h.

                                                                         {
    return m_data[i];
  }

Member Data Documentation

template<typename Scalar , typename Index >
Scalar* Eigen::internal::BlasVectorMapper< Scalar, Index >::m_data [protected]

Definition at line 142 of file BlasUtil.h.


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