![]() |
deal.II version GIT relicensing-3301-g5b03c77952 2025-05-11 13:40:00+00:00
|
#include <deal.II/base/vectorization.h>
Public Types | |
using | value_type = T |
using | vectorized_value_type = VectorizedArray< T, width_ > |
Static Public Member Functions | |
static constexpr std::size_t | width () |
static constexpr std::size_t | stride () |
static value_type & | get (vectorized_value_type &values, unsigned int c) |
static const value_type & | get (const vectorized_value_type &values, unsigned int c) |
static vectorized_value_type & | get_from_vectorized (vectorized_value_type &values, unsigned int c) |
static const vectorized_value_type & | get_from_vectorized (const vectorized_value_type &values, unsigned int c) |
Definition at line 6487 of file vectorization.h.
using internal::VectorizedArrayTrait< VectorizedArray< T, width_ > >::value_type = T |
Define scalar value type.
Definition at line 6492 of file vectorization.h.
using internal::VectorizedArrayTrait< VectorizedArray< T, width_ > >::vectorized_value_type = VectorizedArray<T, width_> |
Define vectorized value type for internal vectorization.
Definition at line 6506 of file vectorization.h.
|
inlinestaticconstexpr |
Return the width of template type.
Definition at line 6498 of file vectorization.h.
|
inlinestaticconstexpr |
Return a stride which defines how often the template type VectorizedArray<T, width_> fits into the vectorized value type. This is useful to write vectorized templated code where the internal computation is vectorized and the user interface is optionally scalar or also vectorized.
Definition at line 6516 of file vectorization.h.
|
inlinestatic |
Get a reference to scalar value on lane c.
Definition at line 6525 of file vectorization.h.
|
inlinestatic |
Get a read-only reference to scalar value on lane c.
Definition at line 6536 of file vectorization.h.
|
inlinestatic |
Get a reference to vectorized values from a vectorized values field.
Definition at line 6547 of file vectorization.h.
|
inlinestatic |
Get a read-only reference to vectorized values from a vectorized values field.
Definition at line 6560 of file vectorization.h.