Code

typo fixes
[inkscape.git] / src / 2geom / utils.h
index ce69c004f4252a4909a7eae2c75e8331d8b6b345..5ab19174947a886f0f93776f503c137d8e9e0a8e 100644 (file)
@@ -1,7 +1,9 @@
 #ifndef LIB2GEOM_UTILS_HEADER
 #define LIB2GEOM_UTILS_HEADER
 
-/** Various utility functions.
+/**
+ * \file
+ * \brief  Various utility functions.
  *
  * Copyright 2007 Johan Engelen <goejendaagh@zonnet.nl>
  * Copyright 2006 Michael G. Sloan <mgsloan@gmail.com>
@@ -32,6 +34,7 @@
  */
 
 #include <cmath>
+#include <vector>
 
 namespace Geom {
 
@@ -76,6 +79,9 @@ inline double decimal_round(double const x, int const places) {
     return round( x * multiplier ) / multiplier;
 }
 
+
+void binomial_coefficients(std::vector<size_t>& bc, size_t n);
+
 }
 
 #endif
@@ -89,4 +95,4 @@ inline double decimal_round(double const x, int const places) {
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
\ No newline at end of file
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :