]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/polynomial.hh
Issue 4550 (2/2) Avoid "using namespace std;" in included files
[lilypond.git] / flower / include / polynomial.hh
index f80b53c2eec1d62355bbb984bf617ed3859d3e0f..379609bcaf3d7b3b4b5be06aab2a471177cb8648 100644 (file)
@@ -36,7 +36,7 @@ struct Polynomial
   ssize_t degree ()const;
 
   /// coefficients
-  vector<Real> coefs_;
+  std::vector<Real> coefs_;
 
   // leading coef
   Real &lc ();
@@ -46,8 +46,8 @@ struct Polynomial
   void print () const;
   Real eval (Real) const;
   Real minmax (Real, Real, bool) const;
-  void print_sols (vector<Real>) const;
-  void check_sols (vector<Real>) const;
+  void print_sols (std::vector<Real>) const;
+  void check_sols (std::vector<Real>) const;
   void check_sol (Real x) const;
   static Polynomial multiply (const Polynomial &p1, const Polynomial &p2);
   static Polynomial power (int exponent, const Polynomial &src);
@@ -73,11 +73,11 @@ struct Polynomial
 
   void debug_clean ();
 
-  vector<Real> solve_quadric ()const;
-  vector<Real> solve_cubic ()const;
-  vector<Real> solve_linear ()const;
+  std::vector<Real> solve_quadric ()const;
+  std::vector<Real> solve_cubic ()const;
+  std::vector<Real> solve_linear ()const;
 
-  vector<Real> solve () const;
+  std::vector<Real> solve () const;
 };
 
 IMPLEMENT_ARITHMETIC_OPERATOR (Polynomial, -);