Rosetta 3.4
|
Derived class of class Func representing a Constant distribution with a user-specified mean and standard deviation. More...
#include <ConstantFunc.hh>
Public Member Functions | |
ConstantFunc (Real const return_val) | |
FuncOP | clone () const |
returns a clone of this ConstantFunc | |
Real | func (Real const ) const |
Returns the value of this ConstantFunc evaluated at distance x. | |
Real | dfunc (Real const ) const |
Returns the value of the first derivative of this ConstantFunc at distance x. | |
virtual void | show_definition (std::ostream &out) const |
show the definition of this ConstantFunc to the specified output stream. | |
void | read_data (std::istream &in) |
initialize this Func from the given std::istream. | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const ConstantFunc &f) |
Calls show( out ) on this ConstantFunc. |
Derived class of class Func representing a Constant distribution with a user-specified mean and standard deviation.
core::scoring::constraints::ConstantFunc::ConstantFunc | ( | Real const | return_val | ) | [inline] |
Referenced by clone().
FuncOP core::scoring::constraints::ConstantFunc::clone | ( | ) | const [inline, virtual] |
returns a clone of this ConstantFunc
Implements core::scoring::constraints::Func.
References ConstantFunc().
Returns the value of the first derivative of this ConstantFunc at distance x.
Implements core::scoring::constraints::Func.
Returns the value of this ConstantFunc evaluated at distance x.
Implements core::scoring::constraints::Func.
void core::scoring::constraints::ConstantFunc::read_data | ( | std::istream & | ) | [virtual] |
initialize this Func from the given std::istream.
Reimplemented from core::scoring::constraints::Func.
void core::scoring::constraints::ConstantFunc::show_definition | ( | std::ostream & | out | ) | const [virtual] |
show the definition of this ConstantFunc to the specified output stream.
Reimplemented from core::scoring::constraints::Func.
std::ostream& operator<< | ( | std::ostream & | out, |
const ConstantFunc & | f | ||
) | [friend] |
Calls show( out ) on this ConstantFunc.