custom_index_array.h File Reference

CPP API: custom_index_array.h File Reference
custom_index_array.h File Reference
#include "memilio/math/eigen_util.h"
#include "memilio/utils/index.h"
#include "memilio/utils/metaprogramming.h"
#include <concepts>
Include dependency graph for custom_index_array.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mio::CustomIndexArray< Typ, Tags >
 A class template for an array with custom indices. More...
 
struct  mio::details::is_random_access_iterator< T >
 
class  mio::CustomIndexArray< Typ, Tags >::Slice< Tag, iter_type >::Iterator< T >
 
class  mio::CustomIndexArray< Typ, Tags >::Slice< Tag, iter_type >
 A Slice represents a slice of data along one dimension, given a start and end index into that dimension. More...
 

Namespaces

 mio
 A collection of classes to simplify handling of matrix shapes in meta programming.
 
 mio::details
 

Functions

template<size_t I, typename Index >
std::pair< size_t, size_t > mio::details::flatten_index (Index const &indices, Index const &dimensions)
 
template<typename MultiIndex >
size_t mio::flatten_index (MultiIndex const &indices, MultiIndex const &dimensions)
 flatten_index takes a set of indices into a mutlidemsional array and calculates the flat index More...