![]() |
Rosetta Utilities
2014.16.56682
|
#include <SimpleInterpolator.hh>
Public Member Functions | |
| SimpleInterpolator (utility::vector1< Real > const &x, utility::vector1< Real > const &y, Real lbdy, Real ubdy) | |
| SimpleInterpolator () | |
| void | interpolate (Real x, Real &y, Real &dy) |
| virtual utility::json_spirit::Value | serialize () |
| serialize the Interpolator to a json_spirit object More... | |
| virtual void | deserialize (utility::json_spirit::mObject data) |
| deserialize a json_spirit object to a Interpolator More... | |
| utility::vector1< Real > const & | x () const |
| accessor for the x-values defining the interpolation knots More... | |
| utility::vector1< Real > const & | y () const |
| accessor for the y-values specified for each knot More... | |
| utility::vector1< Real > const & | ddy () const |
| accessors for the second derivative values specified for each knot More... | |
Public Member Functions inherited from numeric::interpolation::spline::Interpolator | |
| virtual | ~Interpolator () |
| Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
| Interpolator () | |
| void | set_lb_function (Real const &lb, Real const &slope, Real const &intercept) |
| set a linear function describing the behavior of the interpolator after a given lower bound. This lower bound can be distinct from the lb of the spline More... | |
| void | set_ub_function (Real const &ub, Real const &slope, Real const &intercept) |
| set a linear function describing the behavior of the interpolator after a given upper bound. This upper bound can be distinct from the ub of the spline More... | |
| bool | has_lb_function () const |
| return true if the interpolator has a defined lower bound function More... | |
| bool | has_ub_function () const |
| return false if the interpolator has a defined upper bound function More... | |
| Real | get_lb_function_cutoff () const |
| get the lower bound cutoff More... | |
| Real | get_ub_function_cutoff () const |
| get the upper bound cutoff More... | |
| void | compute_lb_function_solution (Real x, Real &y) const |
| compute the y value of the lower bound function given an x value More... | |
| void | compute_ub_function_solution (Real x, Real &y) const |
| compute the y value of the lower bound function given an x value More... | |
Public Member Functions inherited from utility::pointer::ReferenceCount | |
| void | ctor () |
| virtual | ~ReferenceCount () |
| Destructor. More... | |
| Size | ref_count () const |
| Reference count. More... | |
Private Attributes | |
| utility::vector1< Real > | x_ |
| utility::vector1< Real > | y_ |
| utility::vector1< Real > | ddy_ |
Additional Inherited Members | |
Public Types inherited from utility::pointer::ReferenceCount | |
| typedef platform::Size | Size |
| typedef platform::Size | size_type |
Protected Member Functions inherited from utility::pointer::ReferenceCount | |
| ReferenceCount () | |
| Default constructor. More... | |
| ReferenceCount (ReferenceCount const &) | |
| Copy constructor. More... | |
| ReferenceCount & | operator= (ReferenceCount const &) |
| Copy assignment. More... | |
| numeric::interpolation::spline::SimpleInterpolator::SimpleInterpolator | ( | utility::vector1< Real > const & | x, |
| utility::vector1< Real > const & | y, | ||
| Real | lbdy, | ||
| Real | ubdy | ||
| ) |
References ddy_, numeric::interpolation::spline::spline_second_derivative(), x_, and y_.
| numeric::interpolation::spline::SimpleInterpolator::SimpleInterpolator | ( | ) |
|
inline |
accessors for the second derivative values specified for each knot
References ddy_.
|
virtual |
deserialize a json_spirit object to a Interpolator
Reimplemented from numeric::interpolation::spline::Interpolator.
References ddy_, numeric::interpolation::spline::Interpolator::deserialize(), x_, and y_.
|
virtual |
Implements numeric::interpolation::spline::Interpolator.
References numeric::interpolation::spline::Interpolator::compute_lb_function_solution(), numeric::interpolation::spline::Interpolator::compute_ub_function_solution(), ddy_, numeric::interpolation::spline::Interpolator::get_lb_function_cutoff(), numeric::interpolation::spline::Interpolator::get_ub_function_cutoff(), numeric::interpolation::spline::Interpolator::has_lb_function(), numeric::interpolation::spline::Interpolator::has_ub_function(), numeric::interpolation::spline::spline_interpolate(), x_, and y_.
|
virtual |
serialize the Interpolator to a json_spirit object
Reimplemented from numeric::interpolation::spline::Interpolator.
References ddy_, utility::tools::make_vector(), numeric::interpolation::spline::Interpolator::serialize(), x_, and y_.
|
inline |
accessor for the x-values defining the interpolation knots
References x_.
|
inline |
accessor for the y-values specified for each knot
References y_.
|
private |
Referenced by ddy(), deserialize(), interpolate(), serialize(), and SimpleInterpolator().
|
private |
Referenced by deserialize(), interpolate(), serialize(), SimpleInterpolator(), and x().
|
private |
Referenced by deserialize(), interpolate(), serialize(), SimpleInterpolator(), and y().
1.8.7