Rosetta 3.4
|
Derived class of class Func representing a Gaussian distribution with a user-specified mean and standard deviation. More...
#include <GaussianFunc.hh>
Public Member Functions | |
GaussianFunc (Real const mean, Real const sd) | |
FuncOP | clone () const |
returns a clone of this GaussianFunc | |
Real | func (Real const x) const |
Returns the value of this GaussianFunc evaluated at distance x. | |
Real | dfunc (Real const x) const |
Returns the value of the first derivative of this GaussianFunc at distance x. | |
virtual void | show_definition (std::ostream &out) const |
show the definitio of this GaussianFunc to the specified output stream. | |
void | read_data (std::istream &in) |
The parameters are: | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const GaussianFunc &f) |
Calls show( out ) on this GaussianFunc. |
Derived class of class Func representing a Gaussian distribution with a user-specified mean and standard deviation.
Constuctor for GaussianFunc. Arguments to the constructor are:
Referenced by clone().
FuncOP core::scoring::constraints::GaussianFunc::clone | ( | ) | const [inline, virtual] |
returns a clone of this GaussianFunc
Implements core::scoring::constraints::Func.
References GaussianFunc().
Returns the value of the first derivative of this GaussianFunc at distance x.
Implements core::scoring::constraints::Func.
References core::scoring::constraints::gaussian_deriv(), and core::scoring::constraints::logdgaussian_deriv().
Returns the value of this GaussianFunc evaluated at distance x.
Implements core::scoring::constraints::Func.
References core::scoring::constraints::dgaussian(), and core::scoring::constraints::logdgaussian().
Referenced by core::scoring::methods::PeptideBondEnergy::residue_pair_energy().
void core::scoring::constraints::GaussianFunc::read_data | ( | std::istream & | in | ) | [virtual] |
The parameters are:
Initializes this GaussianFunc from the given istream. An example of the type of string from which the istream should be constructed is: "GAUSSIANFUNC 19.396 7.643". The interpretation is to create initialize this GaussianFunc object with the following parameters:
Reimplemented from core::scoring::constraints::Func.
void core::scoring::constraints::GaussianFunc::show_definition | ( | std::ostream & | out | ) | const [virtual] |
show the definitio of this GaussianFunc to the specified output stream.
Reimplemented from core::scoring::constraints::Func.
std::ostream& operator<< | ( | std::ostream & | out, |
const GaussianFunc & | f | ||
) | [friend] |
Calls show( out ) on this GaussianFunc.