tfel
Loading...
Searching...
No Matches
FixedSizeIndexingPolicies.hxx File Reference
#include <array>
#include <type_traits>
#include "TFEL/ContractViolation.hxx"
#include "TFEL/Metaprogramming/MakeIntegerRange.hxx"
#include "TFEL/Math/Array/IndexingPolicies.hxx"

Classes

struct  tfel::math::ScalarIndexingPolicy< SizeType >
 an indexing policy suitable for scalar More...
struct  tfel::math::FixedSizeVectorIndexingPolicy< SizeType, N, Stride >
 an indexing policy suitable for fixed sized vectors More...
struct  tfel::math::FixedSizeRowMajorMatrixIndexingPolicy< SizeType, N, M, Stride >
 partial specialisation of the `IndexingPoliciesCompatiblityCheck class for FixedSizeVectorIndexingPolicy of the same size. */ template <typename SizeType, SizeType N, SizeType Stride1, SizeType Stride2> struct IndexingPoliciesCompatiblityCheck< FixedSizeVectorIndexingPolicy<SizeType, N, Stride1>, FixedSizeVectorIndexingPolicy<SizeType, N, Stride2>> : public IndexingPoliciesCompatiblityCheckBase< FixedSizeVectorIndexingPolicy<SizeType, N, Stride1>, FixedSizeVectorIndexingPolicy<SizeType, N, Stride2>> { static constexpr bool haveTheSameMemoryLayout() { return Stride1 == Stride2; } // end of haveTheSameMemoryLayout }; // end of struct IndexingPolicyCompatiblityCheck More...
struct  tfel::math::IndexingPoliciesCompatiblityCheck< FixedSizeRowMajorMatrixIndexingPolicy< SizeType, N, M, Stride1 >, FixedSizeRowMajorMatrixIndexingPolicy< SizeType, N, M, Stride2 > >
 partial specialisation of the IndexingPoliciesCompatiblityCheck class for FixedSizeRowMajorMatrixIndexingPolicy of the same sizes. More...
struct  tfel::math::FixedSizeIndexingPoliciesCartesianProduct< IndexingPolicy1, IndexingPolicy2, Stride >
 an indexing policy build as the cartesian product of the two fixed size indexing policies. More...

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.
namespace  tfel::math
 This namespace contains various classes and functions défining mathematical objects and numerical algorithms.

Functions

template<typename IndexingPolicy>
constexpr auto tfel::math::getUnderlyingArrayMinimalSize ()

Detailed Description

Author
Thomas Helfer
Date
01/01/2021