ROOT  6.06/09
Reference Guide
Public Types | Public Member Functions | Private Member Functions | List of all members
ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory > Class Template Reference

template<typename V, typename Parent, typename RowMemory>
class ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory >

Definition at line 148 of file memorybase.h.

Public Types

typedef V::EntryType EntryType
 The type of the scalar entries in the array. More...
 

Public Member Functions

Vc_ALWAYS_INLINE Vc_PURE EntryTypeentries ()
 Returns a pointer to the start of the allocated memory. More...
 
Vc_ALWAYS_INLINE Vc_PURE const EntryTypeentries () const
 Const overload of the above function. More...
 
Vc_ALWAYS_INLINE Vc_PURE EntryTypescalar (size_t i)
 Returns the i-th scalar value in the memory. More...
 
Vc_ALWAYS_INLINE Vc_PURE const EntryType scalar (size_t i) const
 Const overload of the above function. More...
 
Vc_ALWAYS_INLINE Vc_PURE operator EntryType * ()
 Cast operator to the scalar type. More...
 
Vc_ALWAYS_INLINE Vc_PURE operator const EntryType * () const
 Const overload of the above function. More...
 
template<typename IndexT >
Vc_ALWAYS_INLINE Vc_PUREoperator[] (Vector< IndexT > i) const
 Uses a vector gather to combine the entries at the indexes in i into the returned vector object. More...
 

Private Member Functions

Parent * p ()
 
const Parent * p () const
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/math/vc/include/Vc/common/memorybase.h>

Member Typedef Documentation

template<typename V , typename Parent , typename RowMemory >
typedef V::EntryType ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory >::EntryType

The type of the scalar entries in the array.

Definition at line 157 of file memorybase.h.

Member Function Documentation

template<typename V , typename Parent , typename RowMemory >
Vc_ALWAYS_INLINE Vc_PURE EntryType* ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory >::entries ( )
inline

Returns a pointer to the start of the allocated memory.

Definition at line 162 of file memorybase.h.

template<typename V , typename Parent , typename RowMemory >
Vc_ALWAYS_INLINE Vc_PURE const EntryType* ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory >::entries ( ) const
inline

Const overload of the above function.

Definition at line 164 of file memorybase.h.

template<typename V , typename Parent , typename RowMemory >
Vc_ALWAYS_INLINE Vc_PURE ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory >::operator const EntryType * ( ) const
inline

Const overload of the above function.

Definition at line 179 of file memorybase.h.

template<typename V , typename Parent , typename RowMemory >
Vc_ALWAYS_INLINE Vc_PURE ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory >::operator EntryType * ( )
inline

Cast operator to the scalar type.

This allows to use the object very much like a standard C array.

Definition at line 177 of file memorybase.h.

template<typename V , typename Parent , typename RowMemory >
template<typename IndexT >
Vc_ALWAYS_INLINE Vc_PURE V ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory >::operator[] ( Vector< IndexT >  i) const
inline

Uses a vector gather to combine the entries at the indexes in i into the returned vector object.

Parameters
iAn integer vector. It determines the entries to be gathered.
Returns
A vector object. Modification of this object will not modify the values in memory.
Warning
The API of this function might change in future versions of Vc to additionally support scatters.

Definition at line 203 of file memorybase.h.

template<typename V , typename Parent , typename RowMemory >
Parent* ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory >::p ( )
inlineprivate

Definition at line 151 of file memorybase.h.

template<typename V , typename Parent , typename RowMemory >
const Parent* ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory >::p ( ) const
inlineprivate

Definition at line 152 of file memorybase.h.

template<typename V , typename Parent , typename RowMemory >
Vc_ALWAYS_INLINE Vc_PURE EntryType& ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory >::scalar ( size_t  i)
inline

Returns the i-th scalar value in the memory.

Definition at line 169 of file memorybase.h.

template<typename V , typename Parent , typename RowMemory >
Vc_ALWAYS_INLINE Vc_PURE const EntryType ROOT::Vc::MemoryDimensionBase< V, Parent, 1, RowMemory >::scalar ( size_t  i) const
inline

Const overload of the above function.

Definition at line 171 of file memorybase.h.


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