Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
polynomial.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 // This file is part of the Rosetta software suite and is made available under license.
5 // The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6 // (C) 199x-2009 Rosetta Commons participating institutions and developers.
7 // For more information, see http://www.rosettacommons.org/.
8 
9 /// @file core/scoring/hbonds/polynomial.hh
10 /// @brief Polynomial objects for hydrogen bond score term
11 /// @author Matthew O'Meara (mattjomeara@gmail.com)
12 
13 #ifndef INCLUDED_core_scoring_hbonds_polynomial_hh
14 #define INCLUDED_core_scoring_hbonds_polynomial_hh
15 
16 // Unit Headers
18 #include <numeric/polynomial.hh>
20 
21 // Utility Headers
22 #include <utility/vector1.hh>
23 #include <utility/pointer/ReferenceCount.hh>
24 
25 // C++ Headers
26 #include <string>
27 #include <iostream>
28 
29 namespace core {
30 namespace scoring {
31 namespace hbonds {
32 
33 class Polynomial_1d : public numeric::Polynomial_1d {
34 
35 public:
36  //Polynomial_1d();
37 
39  std::string const & polynomial_name,
41  Real const xmin,
42  Real const xmax,
43  Real const min_val,
44  Real const max_val,
45  Real const root1,
46  Real const root2,
47  Size degree,
48  utility::vector1< Real > const & coefficients);
49 
50  Polynomial_1d(Polynomial_1d const & src);
51 
53  geometric_dimension() const;
54 
55  void
56  show( std::ostream & out ) const;
57 
59  show_values() const;
60 
61 private:
63 };
64 
65 std::ostream &
66 operator<< ( std::ostream & out, const Polynomial_1d & poly );
67 
68 
69 } // hbonds
70 } // scoring
71 } // core
72 
73 #endif // INCLUDED_core_scoring_hbonds_polynomial_HH