Example #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))
}
Example #2
0
File: rng.go Project: postfix/gsl-1
func State(r *GslRng) *RngState {
	return (*RngState)(C.gsl_rng_state((*C.gsl_rng)(unsafe.Pointer(r.Ptr()))))
}