about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/utils.c b/src/utils.c
index 0e0205f..b22e07b 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -111,27 +111,6 @@ double rerror (double approx, double exact)
   return fabs(1 - approx/exact);
 }
 
-double gprate (double start, double last, unsigned int n)
-{
-  /**
-     @param start First (0th) term of the geometric progression
-     @param last Last ('N-1'th) term of the geometric progression
-     @param n Number of terms in the geometric progression
-     @return The multiplicative factor of the geometric progression
-   **/
-  return pow(last/start, 1.0/(n - 1));
-}
-
-double gpterm (double a, double r, int n)
-{
-  /**
-     @param a First (0th) term of the geometric progression
-     @param r Factor of the geometric progression
-     @return The Nth term of the geometric progression, with N starting from 0
-   **/
-  return a * gsl_pow_uint(r, n);
-}
-
 #define BISECTION_EPSABS 0
 #define BISECTION_EPSREL 1e-6
 #define BISECTION_MAX_ITERATIONS 1000