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

Classes

struct  tfel::math::DerivativeTypeDispatcher< FunctionTag, VariableTag, FunctionType, VariableType >
 an helper metafunction used to determine the type representing the derivative of an object of type FunctionType with respect to an object of type VariableType. More...
struct  tfel::math::DerivativeTypeDispatcher< tfel::meta::InvalidType, VariableTag, FunctionType, VariableType >
 partial specialisation if the first object does not have a tag. More...
struct  tfel::math::DerivativeTypeDispatcher< FunctionTag, tfel::meta::InvalidType, FunctionType, VariableType >
 partial specialisation if the second object does not have a tag. More...
struct  tfel::math::DerivativeTypeDispatcher< tfel::meta::InvalidType, tfel::meta::InvalidType, FunctionType, VariableType >
 partial specialisation if none o the two objects have a tag. More...
struct  tfel::math::DerivativeTypeImplementation< is_function_type_scalar, is_variable_type_scalar, FunctionType, VariableType >
 a meta function returning the type of the derivative of a variable of type FunctionType with respect to a variable of type VariableType. More...
struct  tfel::math::DerivativeTypeImplementation< true, true, FunctionType, VariableType >
 partial specialisation of both types are scalar More...
struct  tfel::math::DerivativeTypeImplementation< false, true, FunctionType, VariableType >
 partial specialisation of both types are scalar More...
struct  tfel::math::DerivativeType< FunctionType, VariableType, OtherVariablesTypes... >
struct  tfel::math::DerivativeType< FunctionType, VariableType >
struct  tfel::math::DerivativeTypeMetaFunction< FunctionType, VariableType, OtherVariableTypes >
 an helper metafunction to define the derivative of a function with respect to several variables. More...
struct  tfel::math::DerivativeTypeMetaFunction< FunctionType, VariableType >
 partial specialisation of the helper metafunction to end the recursion. 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.

Typedefs

template<typename FunctionType, typename... VariableTypes>
using tfel::math::derivative_type
 a simple alias giving the type representing the derivative of an object of type FunctionType with respect to objects of the type given by the template argument pack VariableTypes.

Functions

template<typename FunctionType, typename VariableType, typename ScalarType>
derivative_type< std::invoke_result_t< FunctionType, VariableType >, VariableType > tfel::math::computeNumericalDerivative (const FunctionType &, const VariableType &, const ScalarType &)
 compute a numerical approximation of the derivative a a function with respect to a variable with a centered finite difference scheme.

Detailed Description

Author
Thomas Helfer
Date
24/06/2020