// EnvSetup reads the environment variables GSL_RNG_TYPE and GSL_RNG_SEED // and uses their values to set the corresponding library variables // gsl_rng_default and gsl_rng_default_seed returned by Default() and // DefaultSeed(). func EnvSetup() RngType { return RngType{C.gsl_rng_env_setup()} }
func EnvSetup() *GslRngType { _ref := C.gsl_rng_env_setup() _result := &GslRngType{} gogsl.InitializeGslReference(_result, uintptr(unsafe.Pointer(_ref))) return _result }