aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArun Isaac2021-02-26 19:29:55 +0530
committerArun Isaac2021-02-26 19:29:55 +0530
commit8c7e6d923b2cb65be2429c35e10e4b9d3cf999fe (patch)
treeb49af935c5e02bce9f35764368f7c0252bf6fdad /include
parent87dee7fd98539d1fbcbae1a1c0d5217a080de299 (diff)
downloadnsmc-8c7e6d923b2cb65be2429c35e10e4b9d3cf999fe.tar.gz
nsmc-8c7e6d923b2cb65be2429c35e10e4b9d3cf999fe.tar.lz
nsmc-8c7e6d923b2cb65be2429c35e10e4b9d3cf999fe.zip
Rename subsampling-random-vector to cone-random-vector.
* scm/nsmc/wrap.scm: (subsampling-random-vector): Rename to cone-random-vector. * src/nd-random.sc (subsampling-random-vector): Rename to cone-random-vector. * include/nd-random.h (subsampling_random_vector): Rename to cone_random_vector.
Diffstat (limited to 'include')
-rw-r--r--include/nd-random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nd-random.h b/include/nd-random.h
index 9637a0e..7f3d41c 100644
--- a/include/nd-random.h
+++ b/include/nd-random.h
@@ -6,8 +6,8 @@
#include <gsl/gsl_vector.h>
void random_direction_vector (const gsl_rng* r, gsl_vector* x);
+void cone_random_vector (const gsl_rng* r, const gsl_vector* mean, double theta_max, 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);