Пример #1
0
// State returns a pointer to the underlying rng state from gsl
func (s *RngState) State() StatePointer {
	return StatePointer(C.gsl_rng_state(s.state))
}
Пример #2
0
func State(r *GslRng) *RngState {
	return (*RngState)(C.gsl_rng_state((*C.gsl_rng)(unsafe.Pointer(r.Ptr()))))
}