|
tfel
|
#include <type_traits>#include "TFEL/Metaprogramming/InvalidType.hxx"#include "TFEL/TypeTraits/IsAssignableTo.hxx"#include "TFEL/Math/Forward/qt.hxx"#include "TFEL/Math/General/MathObjectTraits.hxx"#include "TFEL/Math/General/ConceptRebind.hxx"#include "TFEL/Math/ExpressionTemplates/Expr.hxx"#include "TFEL/Math/Array/IndexingPolicies.hxx"#include "TFEL/Math/Array/MutableFixedSizeArrayBase.hxx"#include "TFEL/Math/Array/MutableRuntimeArrayBase.hxx"#include "TFEL/Math/Array/ConstFixedSizeArrayBase.hxx"#include "TFEL/Math/Array/ConstRuntimeArrayBase.hxx"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. | |
| namespace | tfel::math::internals |
| This namespace contains classes, functions, metafunctions and data structures that are used internally in the tfel::math namespace and that are meant to be used by the end user. | |
Typedefs | |
| template<typename MappedType, typename IndexingPolicyType> | |
| using | tfel::math::selectViewArrayBase |
| a simple alias | |
| template<typename MappedType> | |
| using | tfel::math::ViewStorageType |
| template<typename MappedType> | |
| using | tfel::math::ViewDataPointerType |
| template<typename MappedType> | |
| using | tfel::math::ViewConstDataPointerType = const ViewStorageType<MappedType>* |
| template<ScalarConcept ScalarType> | |
| using | tfel::math::scalar_view |
| view to a scalar | |
| template<typename MappedType, typename IndexingPolicyType = typename std::remove_cv_t<MappedType>::indexing_policy> | |
| using | tfel::math::ConstView |
Functions | |
| template<ScalarConcept ScalarType> | |
| TFEL_HOST_DEVICE constexpr scalar_view< ScalarType > | tfel::math::map (base_type< ScalarType > *const p) |
| template<ScalarConcept ScalarType> | |
| TFEL_HOST_DEVICE constexpr scalar_view< ScalarType > | tfel::math::map (base_type< ScalarType > &v) |
| template<ScalarConcept ScalarType> | |
| TFEL_HOST_DEVICE constexpr scalar_view< const ScalarType > | tfel::math::map (const base_type< ScalarType > *const p) |
| template<ScalarConcept ScalarType> | |
| TFEL_HOST_DEVICE constexpr scalar_view< const ScalarType > | tfel::math::map (const base_type< ScalarType > &v) |
| template<typename MappedType, typename IndexingPolicyType = typename MappedType::indexing_policy> requires ( (!std::is_const_v<MappedType>)&&(!isScalar<MappedType>()) && (std::remove_cv_t<MappedType>::hasFixedSizes)) | |
| TFEL_HOST_DEVICE constexpr View< MappedType, IndexingPolicyType > | tfel::math::map (const ViewDataPointerType< MappedType > p) |
| return a view from a memory area | |
|
template<typename MappedType, typename IndexingPolicyType = typename std::remove_cv_t<MappedType>::indexing_policy> requires ( (!isScalar<MappedType>()) && (std::remove_cv_t<MappedType>::indexing_policy::hasFixedSizes)) | |
| TFEL_HOST_DEVICE constexpr View< const MappedType, IndexingPolicyType > | tfel::math::map (const ViewConstDataPointerType< MappedType > p) |
| template<typename MappedType, typename... Args> | |
| constexpr auto | tfel::math::canMakeViewFromLastArgument () |
| an helper metafunction which check of the last type of the type list is convertible to a pointer to a memory area that can be used to create a view. | |
| template<typename MappedType, typename... Args> | |
| constexpr auto | tfel::math::canMakeConstViewFromLastArgument () |
| an helper metafunction which check of the last type of the type list is convertible to a const pointer to a memory area that can be used to create a view. | |
|
template<typename MappedType, typename... Args, typename IndexingPolicyType = typename MappedType::indexing_policy> requires ( (!std::is_const_v<MappedType>)&&(!IndexingPolicyType::hasFixedSizes) && (checkIndexingPoliciesCompatiblity< IndexingPolicyType, typename MappedType::indexing_policy>()) && (canMakeViewFromLastArgument<MappedType, Args...>())) | |
| TFEL_HOST_DEVICE constexpr View< MappedType, IndexingPolicyType > | tfel::math::map (Args &&... args) |
| return a view from a memory area | |
|
template<typename MappedType, typename... Args, typename IndexingPolicyType = typename std::remove_cv_t<MappedType>::indexing_policy> requires ( (!std::remove_cv_t<MappedType>::indexing_policy::hasFixedSizes) && (checkIndexingPoliciesCompatiblity< IndexingPolicyType, typename std::remove_cv_t<MappedType>::indexing_policy>()) && (canMakeConstViewFromLastArgument<std::remove_cv_t<MappedType>, Args...>())) | |
| TFEL_HOST_DEVICE constexpr View< const MappedType, IndexingPolicyType > | tfel::math::map (const Args &... args) |
| return a view from a memory area | |