ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
gsl::multilarge::nlinear::CallbackBase Class Referenceabstract

You can create callbacks as a subclass of this class. More...

#include <multilarge_nlinear.hpp>

Collaboration diagram for gsl::multilarge::nlinear::CallbackBase:
Collaboration graph

Public Member Functions

virtual void function (size_t const iter, workspace const &w)=0
 This is the callback function. More...
 

Detailed Description

You can create callbacks as a subclass of this class.

For example.

class Callback : public {
public:
void function( int const i ){ std::cout << "i = " << i << std::endl; }
};
virtual void function(size_t const iter, workspace const &w)=0
This is the callback function.

Note that it is not strictly necessary to create a subclass: the code only checks for implementation of function().

Definition at line 394 of file multilarge_nlinear.hpp.

Member Function Documentation

◆ function()

virtual void gsl::multilarge::nlinear::CallbackBase::function ( size_t const  iter,
workspace const &  w 
)
pure virtual

This is the callback function.

Parameters
iterThe number of the current iteration.
wA gsl::multilarge::nlinear::workspace

The documentation for this class was generated from the following file: