Functions
Marmot::NumericalAlgorithms::Differentiation::TensorToTensor Namespace Reference

Functions

template<size_t... RestF, size_t... RestT>
Fastor::Tensor< double, RestF..., RestT... > forwardDifference (const std::function< Fastor::Tensor< double, RestF... >(const Fastor::Tensor< double, RestT... > &) > &F, const Fastor::Tensor< double, RestT... > &T)
 
template<size_t... Rest1, size_t... Rest2>
Fastor::Tensor< double, Rest1..., Rest2... > centralDifference (const std::function< Fastor::Tensor< double, Rest1... >(const Fastor::Tensor< double, Rest2... > &) > &F, const Fastor::Tensor< double, Rest2... > &T)
 

Function Documentation

◆ forwardDifference()

template<size_t... RestF, size_t... RestT>
Fastor::Tensor< double, RestF..., RestT... > Marmot::NumericalAlgorithms::Differentiation::TensorToTensor::forwardDifference ( const std::function< Fastor::Tensor< double, RestF... >(const Fastor::Tensor< double, RestT... > &) > &  F,
const Fastor::Tensor< double, RestT... > &  T 
)

◆ centralDifference()

template<size_t... Rest1, size_t... Rest2>
Fastor::Tensor< double, Rest1..., Rest2... > Marmot::NumericalAlgorithms::Differentiation::TensorToTensor::centralDifference ( const std::function< Fastor::Tensor< double, Rest1... >(const Fastor::Tensor< double, Rest2... > &) > &  F,
const Fastor::Tensor< double, Rest2... > &  T 
)