Rosetta 3.4
Public Member Functions | Friends
core::scoring::constraints::EtableFunc Class Reference

Class for representing arbitrarily defined functions. More...

#include <EtableFunc.hh>

Inheritance diagram for core::scoring::constraints::EtableFunc:
Inheritance graph
[legend]
Collaboration diagram for core::scoring::constraints::EtableFunc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EtableFunc (Real const min_, Real const max_, Real const stepsize_)
FuncOP clone () const
 returns a clone of this EtableFunc
Real func (Real const x) const
 Returns the value of this EtableFunc evaluated at distance x.
Real dfunc (Real const x) const
 Returns the value of the first derivative of this EtableFunc at distance x.
virtual void show_definition (std::ostream &out) const
 show the definitio of this EtableFunc 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 EtableFunc &f)
 Calls show( out ) on this EtableFunc.

Detailed Description

Class for representing arbitrarily defined functions.


Constructor & Destructor Documentation

core::scoring::constraints::EtableFunc::EtableFunc ( Real const  min_,
Real const  max_,
Real const  stepsize_ 
) [inline]

Constuctor for EtableFunc. Arguments to the constructor are:

  • mean: parameter representing the mean of this function.
  • sd: parameter representing the standard deviation of this function.

Referenced by clone().


Member Function Documentation

FuncOP core::scoring::constraints::EtableFunc::clone ( ) const [inline, virtual]

returns a clone of this EtableFunc

Implements core::scoring::constraints::Func.

References EtableFunc().

Real core::scoring::constraints::EtableFunc::dfunc ( Real const  x) const [virtual]

Returns the value of the first derivative of this EtableFunc at distance x.

Implements core::scoring::constraints::Func.

Real core::scoring::constraints::EtableFunc::func ( Real const  x) const [virtual]

Returns the value of this EtableFunc evaluated at distance x.

Implements core::scoring::constraints::Func.

References core::scoring::constraints::linear_interpolate().

void core::scoring::constraints::EtableFunc::read_data ( std::istream &  ) [virtual]

initialize this Func from the given std::istream.

Reimplemented from core::scoring::constraints::Func.

void core::scoring::constraints::EtableFunc::show_definition ( std::ostream &  out) const [virtual]

show the definitio of this EtableFunc to the specified output stream.

Reimplemented from core::scoring::constraints::Func.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const EtableFunc f 
) [friend]

Calls show( out ) on this EtableFunc.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines