Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
diffcalc.h
Go to the documentation of this file.
1#ifndef DIFFCALC_H
2#define DIFFCALC_H
3
4#include <vector>
5#include "functions.h"
6#include "Matrix.h"
7
8std::vector<double> gradient(const RealValuedForm& f, const std::vector<double>& x, const std::vector<double>& scales);
9std::vector<double> gradient(const ScaledForm& f, const std::vector<double>& x);
10RealMatrix hessian(const RealValuedForm& f, const std::vector<double>& x, const std::vector<double>& scales);
11RealMatrix hessian(const ScaledForm& f, const std::vector<double>& t);
12RealMatrix inverse_hessian(const RealValuedForm& f, const std::vector<double>& x, const std::vector<double>& scales);
13
14#endif // DIFFCALC_H
Lightweight dense real-matrix utilities built on top of STL storage and GSL backends.
std::vector< double > gradient(const RealValuedForm &f, const std::vector< double > &x, const std::vector< double > &scales)
Definition diffcalc.cpp:3
RealMatrix hessian(const RealValuedForm &f, const std::vector< double > &x, const std::vector< double > &scales)
Definition diffcalc.cpp:29
RealMatrix inverse_hessian(const RealValuedForm &f, const std::vector< double > &x, const std::vector< double > &scales)
Definition diffcalc.cpp:90
std::function< double(std::vector< double >)> RealValuedForm
Definition functions.h:11
double f(double x)
Wilson special function f depending on x.