tfel
Loading...
Searching...
No Matches
FixedSizeArrayDerivative.hxx File Reference

Classes

struct  tfel::math::FixedSizeArrayDerivativePolicy< ArrayPolicy1, ArrayPolicy2 >
 an array policy resulting from the derivation of an math object with another math object. More...
struct  tfel::math::FixedSizeArrayDerivativeTag< ArrayTag1, ArrayTag2 >
 a tag associated with the FixedSizeArrayDerivativeConcept More...
struct  tfel::math::FixedSizeArrayDerivativeTraits< ArrayDerivativeType >
 a traits class associated to characterize the result of the derivation of an array with respect to another array. More...
struct  tfel::math::FixedSizeArrayDerivativeConcept< ArrayDerivativeType >
 a tag associated with the FixedSizeArrayDerivativeConcept More...
struct  tfel::math::ConceptRebind< FixedSizeArrayDerivativeTag< Array1Tag, Array2Tag >, ArrayDerivativeType >
 partial specialisation of the ConceptRebind class for array derivative. More...
struct  tfel::math::FixedSizeArrayDerivative< Array1, Array2 >
 a class representing the derivative of an array with respect to another array. More...
struct  tfel::math::FixedSizeArrayDerivativeTraits< FixedSizeArrayDerivative< Array1, Array2 > >
 partial specialisation of the FixedSizeArrayDerivativeTraits class More...
struct  tfel::math::FixedSizeArrayDerivativeTraits< Expr< FixedSizeArrayDerivative< Array1, Array2 >, Operation > >
 partial specialisation of the FixedSizeArrayDerivativeTraits class for expression More...
struct  tfel::math::FixedSizeArrayDerivativeTraits< View< FixedSizeArrayDerivative< Array1, Array2 > > >
 partial specialisation of the FixedSizeArrayDerivativeTraits class for a view More...
struct  tfel::math::MathObjectTraits< FixedSizeArrayDerivative< Array1, Array2 > >
 partial specialisation of the MathObjectTraits class. More...
class  tfel::math::UnaryResultType< FixedSizeArrayDerivative< Array1, Array2 >, OpNeg >
 partial specialisation for unary operations More...
class  tfel::math::ComputeBinaryOperationResult< FixedSizeArrayDerivativeTag< typename ComputeObjectTag< Array11 >::type, typename ComputeObjectTag< Array12 >::type >, FixedSizeArrayDerivativeTag< typename ComputeObjectTag< Array21 >::type, typename ComputeObjectTag< Array22 >::type >, FixedSizeArrayDerivative< Array11, Array12 >, FixedSizeArrayDerivative< Array21, Array22 >, OpPlus >
 partial specialisation for the addition of two array derivatives. More...
class  tfel::math::ComputeBinaryOperationResult< FixedSizeArrayDerivativeTag< typename ComputeObjectTag< Array11 >::type, typename ComputeObjectTag< Array12 >::type >, FixedSizeArrayDerivativeTag< typename ComputeObjectTag< Array21 >::type, typename ComputeObjectTag< Array22 >::type >, FixedSizeArrayDerivative< Array11, Array12 >, FixedSizeArrayDerivative< Array21, Array22 >, OpMinus >
 partial specialisation for the addition of two array derivatives. More...
class  tfel::math::ComputeBinaryOperationResult< ScalarTag, FixedSizeArrayDerivativeTag< typename ComputeObjectTag< Array1 >::type, typename ComputeObjectTag< Array2 >::type >, ScalarType, FixedSizeArrayDerivative< Array1, Array2 >, OpMult >
 numeric type of resulting array Here we make a tricky choice and it is not totally clean. More...
class  tfel::math::ComputeBinaryOperationResult< FixedSizeArrayDerivativeTag< typename ComputeObjectTag< Array1 >::type, typename ComputeObjectTag< Array2 >::type >, ScalarTag, FixedSizeArrayDerivative< Array1, Array2 >, ScalarType, OpMult >
 partial specialisation for the multiplication an array derivative by a scalar. More...
class  tfel::math::ComputeBinaryOperationResult< FixedSizeArrayDerivativeTag< typename ComputeObjectTag< Array1 >::type, typename ComputeObjectTag< Array2 >::type >, ScalarTag, FixedSizeArrayDerivative< Array1, Array2 >, ScalarType, OpDiv >
 partial specialisation for the multiplication an array derivative by a scalar. More...
struct  tfel::math::LoopOverInnerIndices< SizeType, I >
struct  tfel::math::LoopOverSecondIndices< SizeType, I >
struct  tfel::math::LoopOverFirstIndices< SizeType, I >
struct  tfel::math::MultiplyFixedSizeArrayDerivatives
struct  tfel::typetraits::IsAssignableTo< tfel::math::FixedSizeArrayDerivative< Array11, Array12 >, tfel::math::FixedSizeArrayDerivative< Array21, Array22 > >
 partial specialisation of the IsAssignable class. 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 Array1, typename Array2, index_type< FixedSizeArrayDerivative< Array1, Array2 > >... I1, index_type< FixedSizeArrayDerivative< Array1, Array2 > >... I2>
numeric_type< FixedSizeArrayDerivative< Array1, Array2 > > & tfel::math::getValue (FixedSizeArrayDerivative< Array1, Array2 > &a, const std::array< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, Array1::indexing_policy::arity > &i1, const std::array< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, Array2::indexing_policy::arity > &i2, const std::integer_sequence< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, I1... > &, const std::integer_sequence< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, I2... > &)
template<typename Array1, typename Array2>
numeric_type< FixedSizeArrayDerivative< Array1, Array2 > > & tfel::math::getValue (FixedSizeArrayDerivative< Array1, Array2 > &a, const std::array< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, Array1::indexing_policy::arity > &i1, const std::array< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, Array2::indexing_policy::arity > &i2)
template<typename Array1, typename Array2, index_type< FixedSizeArrayDerivative< Array1, Array2 > >... I1, index_type< FixedSizeArrayDerivative< Array1, Array2 > >... I2>
const numeric_type< FixedSizeArrayDerivative< Array1, Array2 > > & tfel::math::getValue (const FixedSizeArrayDerivative< Array1, Array2 > &a, const std::array< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, Array1::indexing_policy::arity > &i1, const std::array< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, Array2::indexing_policy::arity > &i2, const std::integer_sequence< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, I1... > &, const std::integer_sequence< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, I2... > &)
template<typename Array1, typename Array2>
const numeric_type< FixedSizeArrayDerivative< Array1, Array2 > > & tfel::math::getValue (const FixedSizeArrayDerivative< Array1, Array2 > &a, const std::array< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, Array1::indexing_policy::arity > &i1, const std::array< index_type< FixedSizeArrayDerivative< Array1, Array2 > >, Array2::indexing_policy::arity > &i2)
template<typename Array11, typename Array12, typename Array21, typename Array22>
FixedSizeArrayDerivative< Array11, Array22 > tfel::math::operator* (const FixedSizeArrayDerivative< Array11, Array12 > &a, const FixedSizeArrayDerivative< Array21, Array22 > &b)
template<unsigned short M, unsigned short N, typename MatrixValueType, typename VectorValueType, typename Array2>
requires (Array2::indexing_policy::arity == 1)
TFEL_HOST_DEVICE constexpr auto tfel::math::operator* (const tmatrix< M, N, MatrixValueType > &m, const FixedSizeArrayDerivative< tvector< N, VectorValueType >, Array2 > &d) noexcept
 product of a matrix by the derivative of a vector with respect to an array. If the matrix is the derivative of a vector \(u\) with respect to a vector \(v\) and the derivative is the derivative of \(v\) with respect to an array \(a\), the result is the derivative of \(u\) with respect to \(a\) (chain rule).

Detailed Description

Author
Thomas Helfer
Date
17/01/2021