Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
spline_functions.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file src/numeric/interpolation/spline_functions.hh
11 /// @brief Interpolation with cubic splines
12 /// @author Will Sheffler
13 
14 
15 #ifndef INCLUDED_numeric_interpolation_spline_spline_functions_hh
16 #define INCLUDED_numeric_interpolation_spline_spline_functions_hh
17 
18 #include <numeric/types.hh>
19 
20 #include <utility/vector1.hh>
21 
22 
23 namespace numeric {
24 namespace interpolation {
25 namespace spline {
26 
27 using numeric::Real;
28 
29 
32  utility::vector1<Real> const & x,
33  utility::vector1<Real> const & y,
34  Real yp1,
35  Real ypn
36 );
37 
38 
39 void
41  utility::vector1<Real> const & xa,
42  utility::vector1<Real> const & ya,
43  utility::vector1<Real> const & y2a,
44  Real x, Real & y, Real & dy
45 );
46 
47 
48 } // end namespace spline
49 } // end namespace interpolation
50 } // end namespace numeric
51 
52 #endif
def x
utility::vector1< Real > spline_second_derivative(utility::vector1< Real > const &x, utility::vector1< Real > const &y, Real yp1, Real ypn)
rosetta project type declarations. Should be kept updated with core/types.hh. This exists because num...
double Real
Definition: types.hh:39
vector1: std::vector with 1-based indexing
void spline_interpolate(utility::vector1< Real > const &xa, utility::vector1< Real > const &ya, utility::vector1< Real > const &y2a, Real x, Real &y, Real &dy)
def y