Example #1
0
// Size returns the size of the rng state.
func (s *RngState) Size() uint64 {
	return uint64(C.gsl_rng_size(s.state))
}
Example #2
0
File: rng.go Project: postfix/gsl-1
func Size(r *GslRng) int {
	return int(C.gsl_rng_size((*C.gsl_rng)(unsafe.Pointer(r.Ptr()))))
}