|
faunus
|
Andrea table with logarithmic search. More...
#include <tabulate.h>


Public Member Functions | |
| T | eval (const typename base::data &d, T r2) const |
| Get tabulated value at f(x) More... | |
| T | evalDer (const typename base::data &d, T r2) const |
| Get tabulated value at df(x)/dx. More... | |
| base::data | generate (std::function< T(T)> f, double rmin, double rmax) |
| Tabulate f(x) in interval ]min,max]. | |
Public Member Functions inherited from Faunus::Tabulate::TabulatorBase< T > | |
| void | setTolerance (T _utol, T _ftol=-1, T _umaxtol=-1, T _fmaxtol=-1) |
| void | setNumdr (T _numdr) |
Additional Inherited Members | |
Protected Member Functions inherited from Faunus::Tabulate::TabulatorBase< T > | |
| T | f1 (std::function< T(T)> f, T x) const |
| T | f2 (std::function< T(T)> f, T x) const |
| void | check () const |
Protected Attributes inherited from Faunus::Tabulate::TabulatorBase< T > | |
| T | utol = 1e-5 |
| T | ftol = -1 |
| T | umaxtol = -1 |
| T | fmaxtol = -1 |
| T | numdr = 0.0001 |
Andrea table with logarithmic search.
Tabulator with logarithmic search. Code mainly from MolSim (Per Linse) with some upgrades Reference: doi:10/frzp4d
|
inline |
Get tabulated value at f(x)
| d | Table data |
| r2 | value |
|
inline |
Get tabulated value at df(x)/dx.
| d | Table data |
| r2 | value |
1.8.13