gsl_rng_seed   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm

Implementation

;; this will seed rng in gsl_rng closure above
(bind-func gsl_rng_seed
  (lambda (seed)
    (let ((rng (gsl_rng.rng:gsl_rng*)))
      (gsl_rng_set rng seed))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


Back to Index

Similar Entries

  • GSL_IMAG    xtlang
  • GSL_REAL    xtlang
  • GSL_SET_COMPLEX    xtlang
  • GSL_SET_IMAG    xtlang
  • GSL_SET_REAL    xtlang
  • gsl_rng    xtlang
  • rng    scheme