Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Member Functions | Static Public Member Functions | List of all members
VectorizedArrayBase< T, width > Class Template Reference

#include <deal.II/base/vectorization.h>

Inheritance diagram for VectorizedArrayBase< T, width >:
[legend]

Public Member Functions

VectorizedArrayIterator< T > begin ()
 
VectorizedArrayIterator< const T > begin () const
 
VectorizedArrayIterator< T > end ()
 
VectorizedArrayIterator< const T > end () const
 

Static Public Member Functions

static constexpr std::size_t size ()
 

Detailed Description

template<typename T, std::size_t width>
class VectorizedArrayBase< T, width >

A base class for the various VectorizedArray template specializations, containing common functionalities.

Template Parameters
TType of the actual vectorized array. We are using the Couriously Recurring Template Pattern (see https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern) in this class to avoid having to resort to virtual member functions.
Author
Peter Munch, 2019

Definition at line 254 of file vectorization.h.

Member Function Documentation

◆ size()

template<typename T , std::size_t width>
static constexpr std::size_t VectorizedArrayBase< T, width >::size ( )
inlinestaticconstexpr

Return the number of elements in the array.

Definition at line 261 of file vectorization.h.

◆ begin() [1/2]

template<typename T , std::size_t width>
VectorizedArrayIterator<T> VectorizedArrayBase< T, width >::begin ( )
inline
Returns
An iterator pointing to the beginning of the underlying data.

Definition at line 270 of file vectorization.h.

◆ begin() [2/2]

template<typename T , std::size_t width>
VectorizedArrayIterator<const T> VectorizedArrayBase< T, width >::begin ( ) const
inline
Returns
An iterator pointing to the beginning of the underlying data (const version).

Definition at line 280 of file vectorization.h.

◆ end() [1/2]

template<typename T , std::size_t width>
VectorizedArrayIterator<T> VectorizedArrayBase< T, width >::end ( )
inline
Returns
An iterator pointing to the end of the underlying data.

Definition at line 289 of file vectorization.h.

◆ end() [2/2]

template<typename T , std::size_t width>
VectorizedArrayIterator<const T> VectorizedArrayBase< T, width >::end ( ) const
inline
Returns
An iterator pointing to the end of the underlying data (const version).

Definition at line 299 of file vectorization.h.


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