aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArun Isaac2021-02-26 19:29:55 +0530
committerArun Isaac2021-02-26 19:29:55 +0530
commit8c7e6d923b2cb65be2429c35e10e4b9d3cf999fe (patch)
treeb49af935c5e02bce9f35764368f7c0252bf6fdad /src
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 'src')
-rw-r--r--src/nd-random.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nd-random.sc b/src/nd-random.sc
index 459500f..9984a7b 100644
--- a/src/nd-random.sc
+++ b/src/nd-random.sc
@@ -93,6 +93,6 @@ dx. THETA should be in [0,pi]."
;; Rotate to arbitrary basis.
(rotate-from-nth-canonical x mean))
-(define (subsampling-random-vector r mean theta-max x)
+(define (cone-random-vector r mean theta-max x)
(void (const gsl-rng*) (const gsl-vector*) double gsl-vector*)
(hollow-cone-random-vector r mean 0 theta-max x))