Loading [MathJax]/extensions/tex2jax.js
BSMPT 3.0.7
BSMPT - Beyond the Standard Model Phase Transitions : A C++ package for the computation of the EWPT in BSM models
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Pages
NumericalDerivatives.h
1#pragma once
2#include <functional>
3#include <vector>
4
5namespace BSMPT
6{
28std::vector<double>
29NablaNumerical(const std::vector<double> &phi,
30 const std::function<double(std::vector<double>)> &f,
31 const double &eps);
32
52std::vector<std::vector<double>>
53HessianNumerical(const std::vector<double> &phi,
54 const std::function<double(std::vector<double>)> &V,
55 double eps);
56} // namespace BSMPT
This classes calculates the Bounce action of the potential with a set temperature.
Definition CalculateEtaInterface.h:24
std::vector< std::vector< double > > HessianNumerical(const std::vector< double > &phi, const std::function< double(std::vector< double >)> &V, double eps)
Numerical method to calculate the potential's (or other functions's) hessian matrix using finite diff...
Definition NumericalDerivatives.cpp:29
std::vector< double > NablaNumerical(const std::vector< double > &phi, const std::function< double(std::vector< double >)> &f, const double &eps)
Numerical method to calculate the gradient of a function f using finite differences method.
Definition NumericalDerivatives.cpp:7