Esempio n. 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))
}
Esempio n. 2
0
File: rng.go Progetto: postfix/gsl-1
func Name(r *GslRng) string {
	return C.GoString(C.gsl_rng_name((*C.gsl_rng)(unsafe.Pointer(r.Ptr()))))
}