Namespaces | Typedefs | Functions
Marmot::NumericalAlgorithms::Differentiation Namespace Reference

Namespaces

 Complex
 

Typedefs

using scalar_to_scalar_function_type = std::function< double(const double x) >
 
using vector_to_vector_function_type = std::function< Eigen::VectorXd(const Eigen::VectorXd &X) >
 

Functions

double forwardDifference (const scalar_to_scalar_function_type &f, const double x)
 
double centralDifference (const scalar_to_scalar_function_type &f, const double x)
 
Eigen::MatrixXd forwardDifference (const vector_to_vector_function_type &F, const Eigen::VectorXd &X)
 
Eigen::MatrixXd centralDifference (const vector_to_vector_function_type &F, const Eigen::VectorXd &X)
 
MatrixXd forwardDifference (const vector_to_vector_function_type &F, const VectorXd &X)
 
MatrixXd centralDifference (const vector_to_vector_function_type &F, const VectorXd &X)
 

Typedef Documentation

◆ scalar_to_scalar_function_type

using Marmot::NumericalAlgorithms::Differentiation::scalar_to_scalar_function_type = typedef std::function< double( const double x ) >

◆ vector_to_vector_function_type

using Marmot::NumericalAlgorithms::Differentiation::vector_to_vector_function_type = typedef std::function< Eigen::VectorXd( const Eigen::VectorXd& X ) >

Function Documentation

◆ forwardDifference() [1/3]

double Marmot::NumericalAlgorithms::Differentiation::forwardDifference ( const scalar_to_scalar_function_type f,
const double  x 
)

◆ centralDifference() [1/3]

double Marmot::NumericalAlgorithms::Differentiation::centralDifference ( const scalar_to_scalar_function_type f,
const double  x 
)

◆ forwardDifference() [2/3]

Eigen::MatrixXd Marmot::NumericalAlgorithms::Differentiation::forwardDifference ( const vector_to_vector_function_type F,
const Eigen::VectorXd &  X 
)

◆ centralDifference() [2/3]

Eigen::MatrixXd Marmot::NumericalAlgorithms::Differentiation::centralDifference ( const vector_to_vector_function_type F,
const Eigen::VectorXd &  X 
)

◆ forwardDifference() [3/3]

MatrixXd Marmot::NumericalAlgorithms::Differentiation::forwardDifference ( const vector_to_vector_function_type F,
const VectorXd &  X 
)

◆ centralDifference() [3/3]

MatrixXd Marmot::NumericalAlgorithms::Differentiation::centralDifference ( const vector_to_vector_function_type F,
const VectorXd &  X 
)