Exemple #1
0
// Size returns the size of the rng state.
func (s *RngState) Size() uint64 {
	return uint64(C.gsl_rng_size(s.state))
}
Exemple #2
0
func Size(r *GslRng) int {
	return int(C.gsl_rng_size((*C.gsl_rng)(unsafe.Pointer(r.Ptr()))))
}