35 #ifndef _BLAZE_UTIL_ALIGNEDARRAY_H_ 36 #define _BLAZE_UTIL_ALIGNEDARRAY_H_ 93 template<
typename Type
95 ,
size_t Alignment = AlignmentOf_v<Type> >
114 template<
typename... Ts >
115 explicit inline constexpr
AlignedArray(
const Ts&... args );
132 inline constexpr
operator Pointer () noexcept;
133 inline constexpr operator
ConstPointer() const noexcept;
140 inline constexpr
Reference operator[](
size_t index ) noexcept;
141 inline constexpr
ConstReference operator[](
size_t index ) const noexcept;
166 inline constexpr
size_t size() const noexcept;
175 alignas( Alignment ) Type v_[ N > 0UL ? N : 1UL ];
201 template< typename Type
214 template<
typename Type
217 template<
typename... Ts >
237 template<
typename Type
252 template<
typename Type
278 template<
typename Type
297 template<
typename Type
318 template<
typename Type
342 template<
typename Type
363 template<
typename Type
381 template<
typename Type
397 template<
typename Type
413 template<
typename Type
429 template<
typename Type
445 template<
typename Type
461 template<
typename Type
477 template<
typename Type
501 template<
typename Type
constexpr Iterator begin() noexcept
Returns an iterator to the first element of the aligned array.
Definition: AlignedArray.h:401
#define BLAZE_CONSTRAINT_MUST_NOT_BE_CONST(T)
Constraint on the data type.In case the given data type is a const-qualified type,...
Definition: Const.h:79
Header file for the AlignmentOf type trait.
MT::ElementType * data(DenseMatrix< MT, SO > &dm) noexcept
Low-level data access to the dense matrix elements.
Definition: DenseMatrix.h:170
Type * Iterator
Iterator over non-constant elements.
Definition: AlignedArray.h:105
MT::Iterator begin(Matrix< MT, SO > &matrix, size_t i)
Returns an iterator to the first element of row/column i.
Definition: Matrix.h:372
Header file for exception macros.
constexpr ConstIterator cbegin() const noexcept
Returns an iterator to the first element of the aligned array.
Definition: AlignedArray.h:433
#define BLAZE_CONSTRAINT_MUST_NOT_BE_VOLATILE(T)
Constraint on the data type.In case the given data type is a volatile-qualified type,...
Definition: Volatile.h:79
Type * Pointer
Pointer to a non-constant array element.
Definition: AlignedArray.h:101
MT::ConstIterator cend(const Matrix< MT, SO > &matrix, size_t i)
Returns an iterator just past the last element of row/column i.
Definition: Matrix.h:482
MT::ConstIterator cbegin(const Matrix< MT, SO > &matrix, size_t i)
Returns an iterator to the first element of row/column i.
Definition: Matrix.h:416
AlignedArray()
The default constructor for AlignedArray.
Definition: AlignedArray.h:204
Type & Reference
Reference to a non-constant array element.
Definition: AlignedArray.h:103
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
#define BLAZE_THROW_OUT_OF_RANGE(MESSAGE)
Macro for the emission of a std::out_of_range exception.This macro encapsulates the default way of Bl...
Definition: Exception.h:331
Constraint on the data type.
Reference at(size_t index)
Checked access to the array elements.
Definition: AlignedArray.h:322
Type ElementType
Type of the array elements.
Definition: AlignedArray.h:100
const Type & ConstReference
Reference to a constant array element.
Definition: AlignedArray.h:104
MT::Iterator end(Matrix< MT, SO > &matrix, size_t i)
Returns an iterator just past the last element of row/column i.
Definition: Matrix.h:438
Constraint on the data type.
constexpr Pointer data() noexcept
Low-level data access to the array elements.
Definition: AlignedArray.h:367
constexpr size_t size(const Matrix< MT, SO > &matrix) noexcept
Returns the total number of elements of the matrix.
Definition: Matrix.h:530
constexpr Iterator end() noexcept
Returns an iterator just past the last element of the aligned array.
Definition: AlignedArray.h:449
const Type * ConstPointer
Pointer to a constant array element.
Definition: AlignedArray.h:102
Implementation of a static array with a fixed alignment.The AlignedArray class template represents a ...
Definition: AlignedArray.h:96
constexpr ConstIterator cend() const noexcept
Returns an iterator just past the last element of the aligned array.
Definition: AlignedArray.h:481
constexpr size_t size() const noexcept
Returns the current size/dimension of the aligned array.
Definition: AlignedArray.h:504
const Type * ConstIterator
Iterator over constant elements.
Definition: AlignedArray.h:106