sc::GaussianFit< Function, Weight > Class Template Reference
GaussianFit<Function> is a fit of Function(x)*Weight(x) to N Gaussians on range [left,right] Valid
Function and Weight are Unary Functions which take and return a double.
More...
#include <chemistry/qc/mbptr12/gaussianfit.h>
List of all members.
|
Public Types |
|
typedef double | Exp |
|
typedef double | Coef |
|
typedef std::pair< Exp, Coef > | Gaussian |
|
typedef std::vector< Gaussian > | Gaussians |
Public Member Functions |
|
| GaussianFit (unsigned int N, const Weight &W, double left, double right, unsigned int NP) |
| | Will fit a function F with weight W evenly sampled on NP points in an interval [left,right] to N Gaussians.
|
|
const Gaussians & | operator() (const Function &F) const |
| | fit F and return the parameters of the fit.
|
Static Public Attributes |
|
static const bool | weigh_F = 0 |
Detailed Description
template<typename Function, typename Weight>
class sc::GaussianFit< Function, Weight >
GaussianFit<Function> is a fit of Function(x)*Weight(x) to N Gaussians on range [left,right] Valid
Function and Weight are Unary Functions which take and return a double.
The documentation for this class was generated from the following files: