#include <integrate.h>
A deleter type for std::unique_ptr to be used with gsl_integration_workspace
pointers.
This will call gsl_integration_workspace_free
instead of delete
.
Definition at line 37 of file integrate.h.
Public Member Functions | |
constexpr | GslWorkspaceDeleter ()=default |
The class has no members, so this is a noop. More... | |
void | operator() (gsl_integration_cquad_workspace *ptr) const |
Frees the gsl_integration_cquad_workspace resource if it is non-zero. More... | |
|
constexprdefault |
The class has no members, so this is a noop.
|
inline |
Frees the gsl_integration_cquad_workspace resource if it is non-zero.
Definition at line 42 of file integrate.h.