aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scm/extent-sampling/wrap.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/scm/extent-sampling/wrap.scm b/scm/extent-sampling/wrap.scm
index 180ac91..63d3d9e 100644
--- a/scm/extent-sampling/wrap.scm
+++ b/scm/extent-sampling/wrap.scm
@@ -148,6 +148,16 @@
histogram input)
histogram)))
+;; Running statistics
+
+(define rstat-alloc
+ (make-gsl-alloc "gsl_rstat_alloc" (list) "gsl_rstat_free"))
+
+(define-public rstat-n
+ (pointer->procedure size_t
+ (dynamic-func "gsl_rstat_n" lib-extentsampling)
+ (list '*)))
+
;; nd-random
(define-public (random-direction-vector dimension)