diff options
author | Arun Isaac | 2021-02-03 19:40:10 +0530 |
---|---|---|
committer | Arun Isaac | 2021-02-03 19:40:10 +0530 |
commit | 983f091af7849f259366f641b438ac1fee3df940 (patch) | |
tree | fd42196b6031638fd906afd8acbc5c26e34ce305 /nd-random.h | |
parent | 707afdfe66dd9c931af77e4ff73186fd89ed27fd (diff) | |
download | nsmc-983f091af7849f259366f641b438ac1fee3df940.tar.gz nsmc-983f091af7849f259366f641b438ac1fee3df940.tar.lz nsmc-983f091af7849f259366f641b438ac1fee3df940.zip |
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.
Diffstat (limited to 'nd-random.h')
-rw-r--r-- | nd-random.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/nd-random.h b/nd-random.h deleted file mode 100644 index 9637a0e..0000000 --- a/nd-random.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef ND_RANDOM_H -#define ND_RANDOM_H - -#include <gsl/gsl_integration.h> -#include <gsl/gsl_rng.h> -#include <gsl/gsl_vector.h> - -void random_direction_vector (const gsl_rng* r, gsl_vector* x); -void hollow_cone_random_vector (const gsl_rng* r, const gsl_vector* mean, double theta_min, double theta_max, gsl_vector* x); -void subsampling_random_vector (const gsl_rng* r, const gsl_vector* mean, double theta_max, gsl_vector* x); - -double planar_angle_to_solid_angle (double planar_angle, unsigned int dimension); -double solid_angle_to_planar_angle (double solid_angle, unsigned int dimension); - -#endif |