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