IMP Reference Guide
2.22.0
The Integrative Modeling Platform
|
#include <IMP/isd/FNormal.h>
Probability density function and -log(p) of normal sampling from some function F. If A is drawn from the F-Normal distribution then F(A) is drawn from a normal distribution with mean F(M) and standard deviation sigma (w/r F(A)).
Arguments: F(A), J(A) the derivative of F w/r to A, F(M), and sigma. The distribution is normalized with respect to the variable A. Note that the mean and standard deviation with respect to A may not be M and sigma.
Example: If F is the log function, the F-normal distribution is the lognormal distribution with mean log(M) and standard deviation sigma (wrt. log(A)).
Public Member Functions | |
FNormal (double FA, double JA, double FM, double sigma) | |
virtual double | do_evaluate () const override |
virtual double | do_get_density () const override |
virtual Floats | do_get_sufficient_statistics () const override |
virtual void | do_update_sufficient_statistics (Floats data) override |
virtual double | evaluate_derivative_FA () const |
virtual double | evaluate_derivative_FM () const |
virtual double | evaluate_derivative_JA () const |
virtual double | evaluate_derivative_sigma () const |
virtual std::string | get_type_name () const override |
virtual ::IMP::VersionInfo | get_version_info () const override |
Get information about the module and version of the object. More... | |
void | set_FA (double f) |
void | set_FM (double f) |
void | set_JA (double f) |
void | set_sigma (double f) |
virtual void | update_sufficient_statistics (double FA) |
Public Member Functions inherited from IMP::isd::OneDimensionalSufficientDistribution | |
OneDimensionalSufficientDistribution (std::string name="OneDimensionalSufficientDistribution %1%") | |
Constructor. More... | |
double | evaluate () const |
Get negative log-density using cached sufficient statistics. More... | |
double | get_density () const |
Get probability density using cached sufficient statistics. More... | |
Floats | get_sufficient_statistics () const |
void | update_sufficient_statistics (Floats vs) |
Update cached sufficient statistics from data. More... | |
Public Member Functions inherited from IMP::isd::Distribution | |
Distribution (std::string name="Distribution %1%") | |
Public Member Functions inherited from IMP::Object | |
virtual void | clear_caches () |
CheckLevel | get_check_level () const |
LogLevel | get_log_level () const |
void | set_check_level (CheckLevel l) |
void | set_log_level (LogLevel l) |
Set the logging level used in this object. More... | |
void | set_was_used (bool tf) const |
void | show (std::ostream &out=std::cout) const |
const std::string & | get_name () const |
void | set_name (std::string name) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
virtual void | do_destroy () |
|
overridevirtual |
Get information about the module and version of the object.
Reimplemented from IMP::isd::OneDimensionalSufficientDistribution.