From 983f091af7849f259366f641b438ac1fee3df940 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 3 Feb 2021 19:40:10 +0530 Subject: Move source files and headers to separate directories. * extent-sampling.h, gaussian-nd-random.h, nd-random.h, oracles.h, utils.h: Move into include directory. * extent-sampling.c, gaussian-nd-random.c, nd-random.c, oracles.c, utils.c: Move into src directory. * CMakeLists.txt: Set include as include directory. Look for source files inside src directory. --- extent-sampling.h | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 extent-sampling.h (limited to 'extent-sampling.h') diff --git a/extent-sampling.h b/extent-sampling.h deleted file mode 100644 index 8ed3fb2..0000000 --- a/extent-sampling.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef EXTENT_SAMPLING_H -#define EXTENT_SAMPLING_H - -#include -#include -#include - -typedef double (*extent_oracle_t) (const gsl_vector*); -typedef double (*integrand_t) (double, const gsl_vector*); - -void init_random (void); - -double volume -(extent_oracle_t extent_oracle, double true_volume, - const gsl_rng* r, unsigned int dimension, double rtol, - gsl_rstat_workspace* stats); - -double volume_window -(extent_oracle_t extent_oracle, double true_volume, - const gsl_rng* r, unsigned int dimension, double rtol, - unsigned int* number_of_samples); - -double integral -(integrand_t integrand, extent_oracle_t extent_oracle, double true_integral, - const gsl_rng* r, unsigned int dimension, double rtol, - gsl_rstat_workspace* stats); - -double volume_cone -(extent_oracle_t extent_oracle, const gsl_rng* r, - const gsl_vector* mean, double omega_min, double omega_max, - unsigned int number_of_samples, double* variance); - -double volume_experiment -(extent_oracle_t extent_oracle, const gsl_rng* r, - const gsl_vector* mean, unsigned int samples_per_cone, - double solid_angle_factor, double solid_angle_threshold_exponent_factor, - unsigned int* number_of_samples); - -#endif -- cgit v1.2.3