Go to the documentation of this file.
34 namespace NumericalAlgorithms::Differentiation {
57 const Eigen::VectorXd& X );
62 const Eigen::VectorXd& X );
static const std::complex< double > complexUnit
Definition: MarmotNumericalDifferentiation.h:48
constexpr double sqrt2
Definition: MarmotConstants.h:50
Eigen::MatrixXd centralDifference(const vector_to_vector_function_type &F, const Eigen::VectorXd &X)
Eigen::MatrixXd fourthOrderAccurateDerivative(const vector_to_vector_function_type &F, const Eigen::VectorXd &X)
double forwardDifference(const scalar_to_scalar_function_type &f, const double x)
Definition: MarmotNumericalDifferentiation.cpp:82
std::function< Eigen::VectorXd(const Eigen::VectorXd &X) > vector_to_vector_function_type
Definition: MarmotNumericalDifferentiation.h:37
double centralDifference(const scalar_to_scalar_function_type &f, const double x)
Definition: MarmotNumericalDifferentiation.cpp:17
This file includes functions needed for calculations with stress and strain tensors written in voigt ...
Definition: MarmotTesting.h:30
std::complex< double > complexDouble
Definition: MarmotTypedefs.h:59
std::function< complexDouble(const complexDouble x) > scalar_to_scalar_function_type
Definition: MarmotNumericalDifferentiation.h:51
double forwardDifference(const scalar_to_scalar_function_type &f, const double x)
Definition: MarmotNumericalDifferentiation.cpp:10
Eigen::MatrixXd F(const Eigen::MatrixXd &J)
std::function< double(const double x) > scalar_to_scalar_function_type
Definition: MarmotNumericalDifferentiation.h:36
std::function< Eigen::VectorXcd(const Eigen::VectorXcd &X) > vector_to_vector_function_type
Definition: MarmotNumericalDifferentiation.h:52
static const std::complex< double > i_
Definition: MarmotNumericalDifferentiation.h:49
static const std::complex< double > imaginaryUnit
Definition: MarmotNumericalDifferentiation.h:47