C++ Utilities 5.26.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Loading...
Searching...
No Matches
multiarray.h File Reference
#include <array>
#include <tuple>
#include <vector>
Include dependency graph for multiarray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CppUtilities::VectorBasedMultiArray< Allocator >
 The VectorBasedMultiArray struct allows using an std::vector with custom allocator as underlying container for the MultiArray class. More...
 
struct  CppUtilities::VectorBasedMultiArray< void >
 The VectorBasedMultiArray struct allows using an std::vector as underlying container for the MultiArray class. More...
 
struct  CppUtilities::ArrayBasedMultiArray< size >
 The ArrayBasedMultiArray struct allows using a fixed size array as underlying container for the MultiArray class. More...
 
struct  CppUtilities::NoneOwningMultiArray
 The NoneOwningMultiArray struct allows using a caller-managed buffer array as underlying container for the MultiArray class. More...
 
class  CppUtilities::MultiArray< T, UnderlyingContainer, Dimensions >
 The MultiArray class provides an N-dimensional array. More...
 

Namespaces

namespace  CppUtilities
 Contains all utilities provides by the c++utilities library.
 

Functions

template<typename ValueType , typename... DimensionSizes>
auto CppUtilities::makeMultiArray (DimensionSizes... dimensionSizes)
 Constructs a new N-dimensional array using an std::vector with std::allocator as underlying container. The sizes for the dimensions are passed as arguments.
 
template<typename ValueType , std::size_t size, typename... DimensionSizes>
auto CppUtilities::makeFixedSizeMultiArray (DimensionSizes... dimensionSizes)
 Constructs a new N-dimensional array using a fixed size array as underlying container. The sizes for the dimensions are passed as arguments.
 
template<typename ValueType , typename... DimensionSizes>
auto CppUtilities::makeNoneOwningMultiArray (DimensionSizes... dimensionSizes)
 Constructs a new N-dimensional array using a caller-managed buffer as underlying container. The sizes for the dimensions are passed as arguments.