Beispiel #1
0
// Name returns the name of the random number generator or
// a rng type
func (s *RngState) Name() string {
	return C.GoString(C.gsl_rng_name(s.state))
}
Beispiel #2
0
func Name(r *GslRng) string {
	return C.GoString(C.gsl_rng_name((*C.gsl_rng)(unsafe.Pointer(r.Ptr()))))
}