diff options
author | Arun Isaac | 2021-02-26 19:29:55 +0530 |
---|---|---|
committer | Arun Isaac | 2021-02-26 19:29:55 +0530 |
commit | 8c7e6d923b2cb65be2429c35e10e4b9d3cf999fe (patch) | |
tree | b49af935c5e02bce9f35764368f7c0252bf6fdad /scm | |
parent | 87dee7fd98539d1fbcbae1a1c0d5217a080de299 (diff) | |
download | nsmc-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 'scm')
-rw-r--r-- | scm/nsmc/wrap.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scm/nsmc/wrap.scm b/scm/nsmc/wrap.scm index e6d9a47..853dfb6 100644 --- a/scm/nsmc/wrap.scm +++ b/scm/nsmc/wrap.scm @@ -188,10 +188,10 @@ %gsl-random-state vector) vector)) -(define-public (subsampling-random-vector mean max-theta) +(define-public (cone-random-vector mean max-theta) (let ((vector (vector-alloc (vector-size mean)))) ((pointer->procedure void - (dynamic-func "subsampling_random_vector" lib-nsmc) + (dynamic-func "cone_random_vector" lib-nsmc) (list '* '* double '*)) %gsl-random-state mean max-theta vector) vector)) |