aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/oracles.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/oracles.c b/src/oracles.c
index 80f401f..9f6577f 100644
--- a/src/oracles.c
+++ b/src/oracles.c
@@ -43,39 +43,6 @@ double beta_true_volume (double alpha, double beta, unsigned int dimension)
return vol;
}
-double symmetric_spiral_extent_oracle (const gsl_vector* x)
-{
- double angle = atan2(gsl_vector_get(x, 1), gsl_vector_get(x, 0));
- return fabs(angle);
-}
-
-double right_triangle_extent_oracle (const gsl_vector* x, double base, double height)
-{
- double max_angle = atan(height / base);
- double angle = atan2(gsl_vector_get(x, 1), gsl_vector_get(x, 0));
- return (angle > 0) && (angle < max_angle) ? base / cos(angle) : 0;
-}
-
-double right_triangle_true_volume (double base, double height)
-{
- return 0.5 * base * height;
-}
-
-double sphere_extent_oracle (const gsl_vector* x, double radius)
-{
- return radius;
-}
-
-double sphere_maximum_extent (double radius)
-{
- return radius;
-}
-
-double plane_extent_oracle (const gsl_vector* x, double displacement)
-{
- return displacement / fabs(gsl_vector_get(x, 0));
-}
-
double infinity_norm (const gsl_vector* x)
{
double max = fabs(gsl_vector_get(x, 0));