// NewWork allocate new workspace func NewWork(n int) *WorkSpace { ret := new(WorkSpace) ret.n = n ret.w = C.gsl_integration_workspace_alloc(C.size_t(n)) return ret }
func IntegrationWorkspaceAlloc(n int) *GslIntegrationWorkspace { _ref := C.gsl_integration_workspace_alloc(C.size_t(n)) _result := &GslIntegrationWorkspace{} gogsl.InitializeGslReference(_result, uintptr(unsafe.Pointer(_ref))) return _result }