Typedefs | Functions
Marmot::AutomaticDifferentiation::SecondOrder Namespace Reference

Typedefs

template<size_t dim>
using tensor_to_scalar_function_type = std::function< dual2nd(const Fastor::Tensor< dual2nd, dim, dim > &T) >
 
template<size_t dim>
using tensor_and_scalar_to_scalar_function_type = std::function< dual2nd(const Fastor::Tensor< dual2nd, dim, dim > &T, const dual2nd scalar) >
 

Functions

template<size_t dim>
std::tuple< double, Fastor::Tensor< double, dim, dim >, Fastor::Tensor< double, dim, dim, dim, dim > > d2f_dT2 (const tensor_to_scalar_function_type< dim > &F, const Fastor::Tensor< double, dim, dim > &T)
 
template<size_t dim>
Fastor::Tensor< double, dim, dim > d2f_dTensor_dScalar (const tensor_and_scalar_to_scalar_function_type< dim > &F, const Fastor::Tensor< double, dim, dim > &T, const double scalar)
 

Typedef Documentation

◆ tensor_to_scalar_function_type

template<size_t dim>
using Marmot::AutomaticDifferentiation::SecondOrder::tensor_to_scalar_function_type = typedef std::function< dual2nd( const Fastor::Tensor< dual2nd, dim, dim >& T ) >

◆ tensor_and_scalar_to_scalar_function_type

template<size_t dim>
using Marmot::AutomaticDifferentiation::SecondOrder::tensor_and_scalar_to_scalar_function_type = typedef std::function< dual2nd( const Fastor::Tensor< dual2nd, dim, dim >& T, const dual2nd scalar ) >

Function Documentation

◆ d2f_dT2()

template<size_t dim>
std::tuple< double, Fastor::Tensor< double, dim, dim >, Fastor::Tensor< double, dim, dim, dim, dim > > Marmot::AutomaticDifferentiation::SecondOrder::d2f_dT2 ( const tensor_to_scalar_function_type< dim > &  F,
const Fastor::Tensor< double, dim, dim > &  T 
)

◆ d2f_dTensor_dScalar()

template<size_t dim>
Fastor::Tensor< double, dim, dim > Marmot::AutomaticDifferentiation::SecondOrder::d2f_dTensor_dScalar ( const tensor_and_scalar_to_scalar_function_type< dim > &  F,
const Fastor::Tensor< double, dim, dim > &  T,
const double  scalar 
)