Ejemplo n.º 1
0
func Init(q *GslQrng) {
	C.gsl_qrng_init((*C.gsl_qrng)(unsafe.Pointer(q.Ptr())))
}
Ejemplo n.º 2
0
// Init reinitializes the generator q to its starting point. Note
// that quasirandom sequences do not use a seed and always produce the
// same set of values.
func (s *QrngState) Init() {
	C.gsl_qrng_init(s.state)
}