Rosetta
|
Namespaces | |
periodic_range | |
spline | |
Classes | |
class | Histogram |
A histogram with fixed-width bins. More... | |
struct | HistogramAP |
struct | HistogramCAP |
struct | HistogramCOP |
struct | HistogramOP |
Functions | |
template<typename X , typename F > | |
F | interpolated (X const &x, X const &x1, X const &x2, F const &f1, F const &f2) |
Linearly interpolated value: f( x ) More... | |
template<typename X , typename F > | |
F | interpolated (X const &a, F const &f1, F const &f2) |
Linearly interpolated value: f( x ) More... | |
template<typename X , typename F > | |
F | interpolated_delta (X const &a, F const &f1, F const &f2) |
Linearly interpolated delta value: f( x ) - f1. More... | |
template<typename X , typename Y , typename F > | |
F | bilinearly_interpolated (X const &x, X const &x1, X const &x2, Y const &y, Y const &y1, Y const &y2, F const &f11, F const &f12, F const &f21, F const &f22) |
Bilinearly interpolated value: f( x, y ) More... | |
template<typename X , typename Y , typename F > | |
F | bilinearly_interpolated (X const &ax, Y const &ay, F const &f11, F const &f12, F const &f21, F const &f22) |
Bilinearly interpolated value. More... | |
template<typename X , typename Y , typename F > | |
F | bilinearly_interpolated (X const &ax, Y const &ay, X const &bx, Y const &by, F const &f11, F const &f12, F const &f21, F const &f22) |
Bilinearly interpolated value. More... | |
spline::SplineGenerator | spline_from_file (std::string const &filename, platform::Real const &bin_size) |
given a file, return a 2D spline More... | |
|
inline |
Bilinearly interpolated value: f( x, y )
Definition at line 84 of file interpolation.hh.
References ObjexxFCL::format::X().
|
inline |
Bilinearly interpolated value.
Definition at line 115 of file interpolation.hh.
References ObjexxFCL::format::X().
|
inline |
Bilinearly interpolated value.
Definition at line 138 of file interpolation.hh.
References numeric::eq_tol(), and ObjexxFCL::format::X().
|
inline |
Linearly interpolated value: f( x )
Definition at line 37 of file interpolation.hh.
References ObjexxFCL::format::X().
Referenced by numeric::interpolation::Histogram< typename, typename >::interpolate_linear(), numeric::interpolation::periodic_range::half::interpolated(), and numeric::interpolation::periodic_range::full::interpolated().
|
inline |
Linearly interpolated value: f( x )
Definition at line 55 of file interpolation.hh.
|
inline |
Linearly interpolated delta value: f( x ) - f1.
Definition at line 70 of file interpolation.hh.
spline::SplineGenerator numeric::interpolation::spline_from_file | ( | std::string const & | filename, |
platform::Real const & | bin_size | ||
) |
given a file, return a 2D spline
read in a file, read out a spline. The file should be tab separated, and have two lines The first field of one line should be "x_axis", the next fields should be the x values of the points for the spline The first field of the other line should be "y_axis", the next fields should be the y values for the points on the spline For an example, see "scoring/constraints/epr_distance_potential.histogram"
Definition at line 32 of file util.cc.
References numeric::interpolation::spline::SplineGenerator::add_boundary_function(), numeric::interpolation::spline::SplineGenerator::add_known_value(), utility::io::izstream::close(), clean_pdb_keep_ligand::count, utility::from_string(), ObjexxFCL::getline(), ObjexxFCL::index(), line, utility::io::izstream::open(), utility::string_split(), tag, ObjexxFCL::trim(), and utility_exit_with_message.